• Hi all.

    I’m using the PodPress Plugin for my blog, and I like the functionality. One thing driving me nuts is that I can’t find out how to disable the player from showing at the bottom of each post.

    To see what I’m talking about go to.

    https://antiquity.tv

    How do I hide the players?

    Any help greatly appreciated!

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • At the “General Options”-page of podPress as part of the “Post Content”-options is an option which is called “Before <!- More -> tag:”.

    It seems to me that this option should do exactly what you are looking for. But it works only for the option “yes” as described. The option “no” hides the player at the single post pages, too (at least in my test blogs).

    I’m going to create a proposition for patch, tomorrow.

    A solution might be:
    podpress_class.php line 673 (podPress v8.8.4)
    old:

    if($this->settings['contentBeforeMore'] == 'no') {
    	return $content;
    }

    new:

    if($this->settings['contentBeforeMore'] == 'no') {
    	if (is_home() or is_archive()) {
    		return $content;
    	}
    }

    The correct line number for v8.8.4 is line 663 in podpress_class.php.

    ntm

    (@ntm)

    This is works more like the description suggests:

    new:

    if($this->settings['contentBeforeMore'] == 'no') {
    	if (is_home() or is_archive()) {
    		if (FALSE !== strpos($content, 'class="more-link">')) {
    			return $content;
    		}
    	}
    }

    The corresponding Trac Ticket is #1079.

    ntm

    (@ntm)

    Another method to prevent the podPress elements from appearing a page is with CSS.
    You may add a special CSS on the page where the podPress elements should not appear. The podPress elements are an DIV container of the class “podPress_content”.

    The CSS:

    .podPress_content {
    	display:none;
    }

    would hide the podPress elements.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hiding the Flash Player: PodPress Plugin’ is closed to new replies.