• Resolved llamasteve

    (@llamasteve)


    Apologies up front if this is a dumb question…

    I’m using Powerpress to develop a website for a community radio station. I want each programme to have its own page, with a description and a list of episodes if any are available. Not all programmes will have any episodes at any one time.

    I’m using strict category podcasting.

    If there are any episodes the category link lists the episode posts (e.g. http://sinefm.flywheelsites.com/category/the-allsop-hour/). However I also want to add a Programme title, image and description to the top of this page.

    If there are no episodes the page just displays “Sorry, no content matched your criteria”. (e.g. http://sinefm.flywheelsites.com/category/a-blast-for-your-ear-holes/)

    Can anyone point me in the right direction for how to create a nice programme page for each category?

    Many thanks

    Stephen

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shawn

    (@shawnogordo)

    You’re asking about changing how your WordPress theme displays Category archive pages. That’s not something PowerPress handles. You should contact the developer of your theme and see if they have any suggestions.

    Plugin Contributor Angelo Mandato

    (@amandato)

    Hello Stephen,

    Thanks for using PowerPRess!

    As Shawn said, that is something that can be done in your theme. Specifically your theme developer can add special code to the top of the category.php template file in the theme, or create one if the theme does not have a category.php. You can do some pretty cool stuff BTW, such as put the PowerPress Subscribe embed at the top. To do that, you can place the do_shortcode function passing the powerpress subscribe shrotcode to it with the current category ID passed.

    ref: https://codex.ww.wp.xz.cn/Theme_Development

    Let me know if you need an example how the do_shortcode works.

    Thanks,
    Angelo

    Thread Starter llamasteve

    (@llamasteve)

    Thank you Shawn and Angelo for your replies. I see now it was a bit of a dumb question! I can see what’s going on now.

    Really appreciate your help

    Stephen

    Plugin Contributor Angelo Mandato

    (@amandato)

    Hello Stephen,

    Not a dumb question, it is inspiring to extend the theme to add more functionality. From this conversation I am now adding an option to further enhance the PowerPress shortcodes, i am adding an attribute called archive=”true” that you can add to the shortcode for displaying the subscribe widget anywhere in a category archive page, not just the top area. Your question has spawned more features. 🙂

    Expect this new attribute for the powerpress_subscribe shortcode in the next release of PowerPress.

    Thanks,
    Angelo

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

The topic ‘Custom Category Page’ is closed to new replies.