Title: [Plugin: podPress] Double Player
Last modified: August 20, 2016

---

# [Plugin: podPress] Double Player

 *  Resolved [Ruff1](https://wordpress.org/support/users/ruff1/)
 * (@ruff1)
 * [15 years ago](https://wordpress.org/support/topic/plugin-podpress-double-player/)
 * Hi Tim (or anyone else :-),
 * in most browsers (OSX, Win, FF, Safari, IEx) our [Player](http://www.vegan.ch/page/2/)
   shows up twice with an ‘–> ‘ at the end.
 * Any tipps for a quick solution before having to take the hard way by deactivating(
   many!) plugins. We are using theme RichWP BlogBeast 1.1 (a rather old theme) 
   and have the very newest Podpress (which is a great Plugin btw!)
 * Cheers, Ruff1

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [15 years ago](https://wordpress.org/support/topic/plugin-podpress-double-player/#post-2093582)
 * Hi Ruff1,
 * the ‘–>’ is (or should be) the end of a HTML comment and should be invisible 
   for normal visitors of your blog.
    But it appears because the there is a comment
   in a comment in the source code of your posts. The podPress code starts usually
   with a comment: `<!-- Begin: podPress -->` and ends with `<!-- End: podPress --
   >`. The purpose of these comments is to make the podPress section easier to spot
   among all that other code if some one searches for it in the source code. In 
   the case of your blog the second podPress section is inserted into a section 
   which is surrounded by such a HTML comment and the comment signs inside a comment
   confuse the web browsers a little and the closing tag of the surrounding tag 
   gets visible because an other comment closing tag ends the comment. E.g.: `<!--
   <p>Christian Vagedes von[...] <!-- Begin: podPress --> [...] <!-- End: podPress--
   > </p> -->` The “–>” after “Begin: podPress” closes the comment and the rest 
   is visible. That is why the second player (per post) is visible.
 * The second player exists most likely because the template file contains the PHP
   function call of `the_content();` two times per post. podPress uses the WP Action
   Hook the_content to add the player and the other elements each time that function
   is called.
    It is also possible that this section contains a call of `the_excerpt();`.
   podPress adds its elements also to excerpts.
 * However, you should look into the template file of your theme which produces 
   this page (maybe index.php) and use a PHP comment instead of a HTML comment to
   hide this part.
    e.g.: old: `<!-- <?php the_excerpt(); ?> -->` new: `<?php //
   the_excerpt(); ?>`
 * Regards,
    Tim
 *  Thread Starter [Ruff1](https://wordpress.org/support/users/ruff1/)
 * (@ruff1)
 * [15 years ago](https://wordpress.org/support/topic/plugin-podpress-double-player/#post-2093731)
 * Hi Tim, thanks for your help – but no success just yet. In the theme index.php
 * I changed this line
 * <?php the_content(“”); ?> <!– <?php the_excerpt(‘[…]’); ?> –>
 * to
 * <?php the_content(“”); ?> <?php // the_excerpt(‘[…]’); ?>
 * In the [category](http://www.vegan.ch/kategorien/podcast/) view its still showing
   double.
 * Maybe you could better help if I showed the entire index.php code?
 * In the [single](http://www.vegan.ch/blog/2011/04/15/vegan-ch-podcast-episode-49-vegane-gesellschaft-deutschland-interview/)
   post view it looks fine.
 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [15 years ago](https://wordpress.org/support/topic/plugin-podpress-double-player/#post-2093734)
 * Hi Ruff1,
 * the category view is a separate template file. It is often called category.php.
   But it might also be archive.php. You need to make the modification also in the/
   these files. Archive.php is often the template for the view of a list of posts
   of a certain timespan like all post of 2011.
    The index.php is often only the
   main blog page with the list of all blog posts. The single post view is often
   in a template file which is called single.php. It is a different file too.
 * Regards,
    Tim
 *  Thread Starter [Ruff1](https://wordpress.org/support/users/ruff1/)
 * (@ruff1)
 * [15 years ago](https://wordpress.org/support/topic/plugin-podpress-double-player/#post-2093739)
 * I thought I had done this but double checked after your input and …
 * … bingo!
 * If only all plugin developers were as helpfull as yourself!
 * PS – where’s the donate/flattr button for your work?
 *  Plugin Author [ntm](https://wordpress.org/support/users/ntm/)
 * (@ntm)
 * [15 years ago](https://wordpress.org/support/topic/plugin-podpress-double-player/#post-2093753)
 * Ruff1,
 * I believe that you need to edit one more template file. If you click on the link
   in your first post, you will that the player still appear twice in this particular
   view.
    Usually that view gets produced by the index.php file. But it might be
   a file called loop.php like in the Twenty Ten theme.
 * I have no donation or Flattr button. But thanks for the offer!!
 * Regards,
    Tim

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: podPress] Double Player’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/podpress_f79938.svg)
 * [podPress](https://wordpress.org/plugins/podpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/podpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/podpress/)
 * [Active Topics](https://wordpress.org/support/plugin/podpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/podpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/podpress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [ntm](https://wordpress.org/support/users/ntm/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-podpress-double-player/#post-2093753)
 * Status: resolved