restrict to main content
-
Is there something I can place in my functions or on my template page that will keep the single event info out of other wysiwyg areas. I’m getting duplicated info in any area that has a wysiwyg in it. One article from a pippinsplugins post may be helpful. I really like this plugin but I can’t compromise the Advanced Custom Fields on those same pages.
Help from anyone is really really appreciated.
Thanks<a href=”https://pippinsplugins.com/playing-nice-with-the-content-filter/
https://pippinsplugins.com/playing-nice-with-the-content-filter/
https://pippinsplugins.com/playing-nice-with-the-content-filter/”>From Pippins Plugins:
The is_main_query() function was introduced in WordPress 3.3 and allows us to check whether we are currently inside of the main post query. The main post query can be thought of as the primary post loop that displays the main content for the post/page or archive. By using this tag, our filter will NOT get applied to any custom loops in sidebars, footers, or elsewhere…https://www.ads-software.com/plugins/all-in-one-event-calendar/
- The topic ‘restrict to main content’ is closed to new replies.