[Plugin: podPress] Need Some Help – Player Placement
-
Could someone please tell me how/where podpress determines where to place it’s inline podcast player? I’m using Page2Cat to display a page at the beginning of my podcast directory. That way I can give information about each of my podcasts.
However, podpress apparently places the player in the post on the fly. Basically, Page2Cat will pull the contents of a page, and stick it in the category. It does that with a simple the_content call for the page it needs. However, in the process of running that the_content call, it’s also causing podpress to stick the player in the page.
For example. This page: http://www.geekshow.us/newdev/angel-investigations-information-page/ is being displayed for this category: http://www.geekshow.us/newdev/category/content/podcasts/angel-investigations/
Notice how the player suddenly becomes attached to the page when the page is used in the category? And through a means of trial and error, I’ve determined that it is literally the “the_content” call that is placing it in that section.
I have a whole lot of theories about the subject, but not enough answers to thinking about coming up with a solution. For instance, my theory is that Podpress isn’t expecting there to be another “Page/Post” above the first one. Since it knows that the top post should be getting the player, it just tacks it on, not even thinking that the first post may not actually be the first post. But the problem doesn’t continue past that point. You don’t have the second player being attached to the first post, and the third player being attached to the second post, for example.
I’m getting pretty desperate, because I need the ability to have a page on my Category archive for each podcast. But the way it is, that’s really not an acceptable solution. I can’t have the player randomly switching positions. Meanwhile, the dev site is supposed to go live by the end of the month.
The line in Page2Cat causing the problem is this:
<div id="p2c-header"> <h2><?php echo $post->post_title; ?></h2> <p><?php the_content(); ?></p> </div>
Specifically, the “the_content” bit. It isn’t doing anything particular fascinating, so I’m assuming that it’s just confusing Podpress somehow.
Any help would be very much appreciated.
- The topic ‘[Plugin: podPress] Need Some Help – Player Placement’ is closed to new replies.