joloshop
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsokay I understand your concerns, just explain this.
Behind this 3 domain (and there are more) is the same database, you can get access to there database and you are getting the codes and text:https://www.gutscheindrache.de/otto/
https://www.clever-tanken.de/gutscheine/otto/
https://www.gutscheinrausch.de/otto/look at the coupon and order and they all the same, everything else on these sides is diffrent and thats my plan! To publish my coupons on my sites within diffrent content!
Forum: Plugins
In reply to: [Broadcast] not broadcasting all fieldsThe field have the following cumstom names:
Store Name, Categories, Coupon
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsokay thanks for hanging in….
a post within the wp_post database is labeld as post_type “post”
a coupon within the wp_post database is labeld as post_type “coupon”
a page within the wp_post database is labeld as post_type “page”Now i want to get all post_type “coupon” from the mainblog (blog1) to show in blog2!
And not as a link!Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsyou dont understand it is NOT a hole post and it will not show on a single page, it will always show up on a store page and these pages are diffrent the coupon is not really a post and i know of coupon site doing the same as i am trying to do the coupon itself is just saved like a post….
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsnope no option i need all coupons the content of the pages will be diffrent the the coupons are cust codes and short dicription like “amazon 10% discount” you will find these on hundreds of sites so i dont think there are any penalties, I am already using to domain and using Mini-Mu plugin but with this i am unable to change the permalink structure and pages structure. And by now google is searching both sites and listing bot sites with out panalties….
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsthats what i tried first, however thereare over 2000 posts (coupons) i need to share and there is no way to edit them all to include the shortcode. If I understand right thats what i have to do……
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsthanks i just would like to display them
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsthanks Mika for hangin in,
okay this is the situation I have a coupon site with more than 2000 coupons already,
now i want to display them on a second domain within my multisite setup.Therefore i need the second domain to display these coupons.
I got alll other information i need from the first domain via a modified plugin.
With this content:add_action(‘init’, ‘central_taxonomies’);
add_action(‘switch_blog’, ‘central_taxonomies’);function central_taxonomies () {
global $wpdb;
$wpdb->terms = $wpdb->base_prefix.”terms”;
$wpdb->term_relationships = $wpdb->base_prefix.”term_relationships”;
$wpdb->postmeta = $wpdb->base_prefix.”postmeta”;
$wpdb->term_taxonomy = $wpdb->base_prefix.”term_taxonomy”;
$wpdb->storesmeta = $wpdb->base_prefix.”clpr_storesmeta”;
}However if I add
add $wpdb->posts = $wpdb->base_prefix.”posts”; to it I am not just getting all coupons from domain1, i am also getting all pages, the menue and all posts.
within posts you have the post_type and all coupons are having the ID “coupons” and this what I need to get. Is there a way to add something to
add $wpdb->posts = $wpdb->base_prefix.”posts”;
to seperate this ID “coupons” from the others?
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsthanks but i am sure wp_3_posts is the basic blog and blog wp_3_4_posts is blog 4 dont ask me why.
i would like to post all posts within wp_3_posts with post_type “coupuns” postet in Blog 4 the theme i storing items in diffrent taxonomys and partly in wp_3_posts and the only problem to just get this post_type displayed in blog 4
sorry it sounds real complicated
Forum: Plugins
In reply to: [Broadcast] Fatal ERRORjust wanted to give you the thumps up, my provider did not update one domain ?? so now its working THANKS
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsSorry no there is no new taxonomy
wp_3_post is from blog1
and
wp_3_4_postis from the blog that needs to display the post_type “coupon” from wp_3_post (blog1)
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsthe other post_type categories with in the wp_3_posts (sorry not wp_3_post) are nav_menu_item, page, post, revision and coupon
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogspost_type is a field in wp_3_post and these posts have to be displayed in blog2
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogsno they are all in wp_3_post
Forum: Networking WordPress
In reply to: Use first taxonomy in other multisite blogshi there and thanks, yes taxonomy is working on both blogs (both with the same theme, just minor cosmetic differenc)
I now need to get all posts with post_type “coupon”
i was able to get alle other items with this:
add_action('init', 'central_taxonomies'); add_action('switch_blog', 'central_taxonomies'); function central_taxonomies () { global $wpdb; $wpdb->terms = $wpdb->base_prefix."terms"; $wpdb->term_relationships = $wpdb->base_prefix."term_relationships"; $wpdb->postmeta = $wpdb->base_prefix."postmeta"; $wpdb->term_taxonomy = $wpdb->base_prefix."term_taxonomy"; $wpdb->storesmeta = $wpdb->base_prefix."clpr_storesmeta"; }
i put this in a plugin but if I add $wpdb->posts = $wpdb->base_prefix.”posts”;
it pulls all posts and pages from blog1 however i only need posts with the post_type “coupon”I also tryed your Tipp with the switch_to_blog but i didnt get any results and i couldnt find anny good explanation in the web!
Feeling stupid right now