Support » Plugins and Hacks » Ultimate Post Type Manager » Bug – Messes up global loop

Bug – Messes up global loop

  • Worked out that this plugin replaces the ‘global’ loop so it includes ALL Custom Post Types and not just the default ‘post’.

    When plugin is active and CPT created with ‘Public’ setting these items will show up on your default homepage feed or anywhere you use the general loop. You need to re-work your query_posts to fix.

    I moved to another Custom Post Type UI manager and this did NOT do the same thing so I have had to move away from this plugin which is a shame as I really like the [CONTENT] feature.

    If this problem could be fixed or at least optional that would be a good move.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author XYDAC



    This plugin adds all other post types to homepage and feeds, didn’t update that function , in recent release.
    You can change the function as you want, and i’ll add gui for doing this in next release.

    Either comment line 673 to remove all post types. where line 673 is
    add_filter( 'pre_get_posts', 'xydac_posts_home' );

    or you can also make changes in the xydac_posts_home function in line 273 of index.php file.

    Do let me know.


    Plugin Author XYDAC


    You can also set the public variable for a post type to false.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug – Messes up global loop’ is closed to new replies.
Skip to toolbar