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

  1. tzeldin88
    Posted 3 years 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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Router
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic