WordPress.org

Ready to get started?Download WordPress

Forums

WP Router
wp-router replaces more than just main page content (1 post)

  1. tzeldin88
    Member
    Posted 1 year ago #

    I have a custom WP_Query in my site's header (in header.php), and wp-router is replacing that content too, instead of just the main content for the page. So the header content is missing, and the main content is on the page twice.

    How can wp-router be LIMITED to just the main query / content?

    I tried giving my header content a different post_type (a custom CPT i created, called "global_content"). But that didn't work.. wp-router still replaced that content too.

    Can we somehow tell wp-router to only replace a certain post_type?

    http://wordpress.org/extend/plugins/wp-router/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic