Support » Plugin: Bottom of every post » Hide From Specific Posts

Viewing 1 replies (of 1 total)
  • Just did this:

    You’ll have to edit the plugin. Find this line:
    if( !is_page( ) && file_exists( $fileName )){

    …and change that code to one of these lines depending on your configuration:

    EXCLUDE A CATEGORY

    if( !is_page( ) && !has_category(‘portfolio’) && file_exists( $fileName )){

    EXCLUDE A CUSTOM POST TYPE

    if( !is_page( ) && ‘portfolio’ != get_post_type() && file_exists( $fileName )){

    So mine looked like this:
    if( !is_page( ) && !has_category(‘reading-order’) && file_exists( $fileName )){

Viewing 1 replies (of 1 total)
  • The topic ‘Hide From Specific Posts’ is closed to new replies.