WordPress.org

Ready to get started?Download WordPress

Forums

Podpress not displaying in second loop using get_posts (2 posts)

  1. Toby Cryns (@themightymo)
    Member
    Posted 2 years ago #

    I am running multiple loops on my home page in a page template, and the Podpress player will not display on the page. View my loop here: http://pastebin.com/zFcnQetV

    Any thoughts on how to make the Podpress player display on the home page in a secondary loop that is not related to the page's main loop? (again, see http://pastebin.com/zFcnQetV for my loop)

    Thanks!

  2. ntm
    Member
    Posted 2 years ago #

    podPress uses the hooks the_content or/and the_excerpt to insert the player and the links. You can regulate the behaviour with a setting on the general settings page of podPress.

    The code in the pastebin shows a call of the function the_excerpt();. Usually this should be sufficient to display the player and the other elements.
    Do you call get_the_excerpt(); in the header section of this/these pages?

    Tim

    ps: Does it make a difference whether or not you write an excerpt manually?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags