Breaking post previews
-
I’m working on a blog were members can add posts via the front-end (not admin).
From that page, members can click on a preview button to see their post. This clicks to a preview page. Then they have two options: click on a edit or publish button.
Unfortunately, when I activate the plugin the preview page breaks and no buttons are displayed even though no Insert Post Ads content is shown either.
I’ve inherited this project from a previous developer. The preview page calls:
the_content(); //and below it display the buttons if ( is_user_logged_in() && is_user_post_author($current_user->ID,$post) && !in_array($post->post_status, array('future','publish')) ){ // display buttons }Is there a way to stop/disable IPA from doing anything on this preview page?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Breaking post previews’ is closed to new replies.