Author Topic: get latest podcast displayed on front page (with link to associated post)  (Read 1028 times)

talkingapple

  • Newbie
  • Posts: 2
I'm sorry if this was asked before,

but I'm trying to put the latest podcast always at the top of my site (probably in a very small box with the player and the link to the post)

So is there a way of specifying in the blueberry plugin function to grab the last entry?

I don't want to use sticky posts as these are bulky and manual.

Regards

mgdell

  • Blubrry Customer Support Coordinator
  • Administrator
  • Hero Member
  • *****
  • Posts: 3318
There is no such feature in powerpress.   :-[

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Such functionality is typically developed into the custom theme. There are helper functions you can use in your theme, documented here: http://help.blubrry.com/blubrry-powerpress/customizing-with-your-wordpress-theme/ You really should be a theme developer to proceed with this project.

talkingapple

  • Newbie
  • Posts: 2
I don't mind getting messy with code. I have looked at that page and I do actually have a customised player. The only thing I'm missing is a way of grabbing the last entrance in the feed.

I looked into the database on my server. I suppose I can write some simple code to get the ID for the latest post in the "podcast" category of my site. But is there a way of getting that ID into the the_powerpress_content(); function?

That would do the trick for me.

Thanks in advance

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
You need to read up on how "The Loop" works in WordPress. It has been discussed in other threads on this forum.

http://forum.blubrry.com/index.php?topic=2653.0
http://forum.blubrry.com/index.php?topic=2626.0
http://forum.blubrry.com/index.php?topic=1427.0

And on WordPress.org: http://codex.wordpress.org/The_Loop