WordPress.org

Ready to get started?Download WordPress

Forums

podPress
How-to remove the podPress footer on certain pages (1 post)

  1. ntm
    Member
    Plugin Author

    Posted 3 years ago #

    It is possible to hide the podPress footer on certain pages by adding this code to the template .php file of the page(s).
    for example:

    if ( TRUE == is_page('impressum') ) {
    	remove_action('wp_footer', 'podPress_wp_footer');
    }

    This code will hide the podPress footer on the page with the slug name 'impressum'. But you can use every page slug name or page ID instead. The function is_page() allows also other page identifiers (read more...).

    This code snippet needs to be placed above The Loop e.g. directly after get_header();.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags