MagicStick
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Post Duplicator] Recursive CopyA great idea and something I will defo consider for future releases! Thanks!
Forum: Plugins
In reply to: [Multisite Post Duplicator] timeline for full subdmain support?The only reason I state this is due to my limitations in testing these environments and debugging. However I have had feedback that it does perform well in most cases. Worth doing some testing in your environment I would suggest! 🙂
If you edit the ids in phpmyadmin you will break the site. Guaranteed mate. I strongly recommend you stay away from that. Remember that ids are used to manage the relationship between posts, post meta, taxonomies, categories, permissions and god know what else on plugins you have! 🙂
Impossible to change the ID I’m afraid. Just the way WordPress/databases work.
Can you try this code. It should work
function dont_persist_title($persistpost){ $new=$persistpost; unset($new[‘post_title’]); unset($new[‘post_name’]); return $new; } add_filter('mpd_setup_persist_destination_data',‘dont_persist_title’,10,1)- This reply was modified 8 years, 4 months ago by MagicStick.
Should be straightforward. Add this code to your functions.php
function dont_persist_title($persistpost){ unset($persistpost[‘post_title’]); return $persistpost; } add_filter('mpd_setup_persist_destination_data',‘dont_persist_title’,10,1);Ive literally wrote this off-the-cuff so let me know how you get on.
Forum: Plugins
In reply to: [Responsive Pricing Table] 5.0.1 Not compatable with php 5.3Thanks mate. Working well now!
Forum: Plugins
In reply to: [Responsive Pricing Table] 5.0.1 Not compatable with php 5.3Thanks for this. Managed to hunt down. php 5.3 moaning about Syntax error on line 39 of file:
wp-content/plugins/dk-pricr-responsive-pricing-table/inc/rpt-metaboxes-plans.phpForum: Plugins
In reply to: [Multisite Post Duplicator] Post meta to ignoreThanks for letting me know. Can you give me an example of the post meta you are looking to ignore? Both the name and value would be handy. Just so I get debug with a bit more accuracy! 🙂
Forum: Plugins
In reply to: [Multisite Post Duplicator] Copy Media files?Can you confirm you are running the most up to date version because I’m sure you don’t see the prefix in media copy anymore. I’ll need to check.
Your point about the 40 sites drop down is in consideration. Thanks for your input.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Auto-Link duplicated postsThink this code might be for help Anja?
https://wordpress.org/support/topic/automatic-duplication-functionality/
Forum: Plugins
In reply to: [Multisite Post Duplicator] Automatic Copy postsPlease refere to this post! 🙂
https://wordpress.org/support/topic/automatic-duplication-functionality/
That’s a great shout mate. Can’t believe I missed that. Will fix this for the next release.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Error copying date from event post typeThank you so much. Glad to be of help!
Forum: Plugins
In reply to: [Multisite Post Duplicator] Error copying date from event post typezartgesotten glad to be of help! did my first reply on this thread not help on the events duplication? pretty sure that would do what you need! did you miss it?
Forum: Plugins
In reply to: [Multisite Post Duplicator] Error copying date from event post typeRegarding your problem on the other forum. this should solve. Simply place at the end of functions.php:
function mpd_update_event_meta($post_id){ eo_update_event($post_id); } add_action('mpd_end_of_core_before_return', 'mpd_update_event_meta'); add_action('mpd_persist_end_of_core_before_return', 'mpd_update_event_meta');