Connecting Multiple Custom Post Types
-
Hey all,
I took over a WordPress installation, and I’m a little confused about what’s going on with the Meteor code.
As it stands right now, the meteor slideshows will not show up on a custom post type named Services or on traditional pages.
The only place it works is on the custom home page and a custom post type called Physicians.
meteor-slideshow.php
was replaced, and in there, I found the following code:global $post; $meteor_posttemp = $post; $meteor_options = get_option( 'meteorslides_options' ); $meteor_nav = $meteor_options['slideshow_navigation']; $meteor_count = 1; $meteor_loop = new WP_Query( array( 'connected_type' => 'procedures_to_physicians', 'connected_items' => get_queried_object(), 'nopaging' => true, ) );
If I remove
'connected_type' and 'connected_items'
then I can use the shortcodes to make the meteor slides appear, but then it breaks it on the Physicians page. Any thoughts on this would be extremely helpful.
- The topic ‘Connecting Multiple Custom Post Types’ is closed to new replies.