-
AuthorSearch Results
-
June 5, 2023 at 12:48 pm #119238
In reply to: Contact Form and Product Clone
You can use a plugin to clone products. Please consult the wordpress plugins repository for more info on that
https://wordpress.org/plugins/duplicate-post/
https://wordpress.org/plugins/duplicate-wp-page-post/April 9, 2019 at 3:48 pm #104069In reply to: Allowed memory size exhausted when opening portfolio
Hi
Normally meta data is gathered after you know the post id. So i do not understand how the portfolio shortcode causes the exhaust. Because you gather the items by a category. Once you know the items you walk through a loop and gather the meta data you need. This is done post by post and not by a bulk call.
Did you report this to the duplicate posts plugin builder?
There are more plugins to duplicate. Maybe its a plugin issue
https://wordpress.org/plugins/duplicate-wp-page-post/
https://wordpress.org/plugins/duplicate-post/
Pls Let us know your findings.
Best regards,
Neo
Theme supportApril 9, 2019 at 3:34 am #104063In reply to: Allowed memory size exhausted when opening portfolio
Ok, so I narrowed it down to the root cause of this. Basically adding new portfolio Item we use the Post Duplicate Post plugin (plugin documentation link), since there is a an elementor page inside each portfolio item, it makes sense we simply duplicate rather than designing it from scratch.
The issue is that the meta posts (postmeta table), gets duplicated exponentially.
So every time we duplicate a portfolio item, the postmeta is duplicated from 1 to 2 , 2 to 4 , 4 to 16 , and so on. this resulted even duplicating the “_elementor_data” meta key which holds the entire content and killing the database.Solution, first backup both posts and postmeta table, the I use the following query to check which meta key is duplicated, and simply delete the ones with a lower meta_id.
1PHP12345select post_id, meta_key, min(meta_id) as min_meta_id, max(meta_id) as max_meta_id, count(1) as rowcountfrom wp_postmetagroup by meta_key , post_idhaving count(1) > 1order by post_id, meta_key, rowcount descThis will show all those duplicated and how many rows the duplicates are, then I simply use spreadsheet to make delete queries like follow:
1PHP12delete from 1288921 where meta_key = 'rttheme_key_details'and meta_id < 1288921 and post_id = 7040;1288921 is the max_meta_id (so its not deleted), and it only deletes the previous meta_id.
Please note i'm assuming the following points:
1. each post id and meta key should be unique (can anyone confirm this?)
2. if a single post id and meta key has more than 1 row, I assume the meta content (values) are the same (I did a sample check and it is, but I cannot confirm this is true for all cases)After deleting, the page now works fine.
Cheers
February 1, 2019 at 12:43 pm #102724In reply to: Duplicate Product Showcase
Hi
You can download a plugin called duplicate post and set in its settings to support the custom product post type duplication.
https://wordpress.org/plugins/duplicate-post/
Kind regards, Neo
July 14, 2018 at 10:12 am #99524In reply to: Styles lost after copy page to another language
Hi Kelvin,
1) There is another way to translate pages created with Elementor https://wpml.org/documentation/plugins-compatibility/elementor/
2) I’m not sure what went wrong while you duplicating the page but it is not a theme related issue. You can contact WPML for better help.
3) You can try this plugin to duplicate posts correctly https://wordpress.org/plugins/duplicate-post/
Please feel free to ask if you have any further questions.
Best Regards,
TolgaMay 22, 2018 at 6:43 am #98519There is a plugin https://wordpress.org/plugins/duplicate-post/
Enable the portfolio cpt in the plugin settings to have duplication abilities.
Best regards,
Neo
Theme supportFebruary 27, 2018 at 10:14 pm #96769Hi,
1) You can follow the Portfolio Options on this screenshot https://cl.ly/2w302u1V341f/custom%20portfolio.png
2) Yes, you can use this plugin https://wordpress.org/plugins/duplicate-post/
Please feel free to ask if you have any further questions.
Best Regards,
TolgaJanuary 30, 2018 at 11:27 pm #96056In reply to: How to add new SIMILAR products easily
Hi
You can use a plugin to duplicate post easily. https://nl.wordpress.org/plugins/duplicate-post/
Enable the ability per post type in the plugin settings
Best regards, Neo
October 13, 2017 at 9:52 am #93781In reply to: How to duplicate the product showcase?
Hi
You can use a plugin called duplicate post. https://wordpress.org/plugins/duplicate-post/
Best regards,
Neo
Theme supportJuly 2, 2017 at 5:06 pm #91819In reply to: the inquiry form and contact form not work
-
AuthorSearch Results