I am trying to build a custom page template to serve as a PPC landing page. Essentially I just want the information from body of my page and I will then style it w/ css. I already figured out how to pass custom variables as the headline and subheadlines, etc.
My problem is that I have the onlywire plugin installed on my site and it filters itself into the_content. but i don't want it there for my landing page. yes i could turn off OW, and i think i might, but i'd like to know how to just pull the text from the_content so that i will never have to worry about any plugins i add in the future showing up on my landing pages.
i was thinking i could add a conditional statement to functions.php that went something like
if ( is_page_template('landing.php') ) {
somehow filter the_content so i just take the text, markup, but nothing added by a plugin
}
i tried
function remove_onlywire() {
remove_action('the_content','remove_onlywire');
}
add_action('init','remove_onlywire');
in that conditional, but it didn't work. plus i dont want to have to do that again in the future if some other plugin sneaks its way into the_content.
any ideas? thanks!