WordPress.org

Ready to get started?Download WordPress

Forums

JW Player doesn't show up in category view (2 posts)

  1. Stef
    Member
    Posted 3 years ago #

    Hi!

    I've got an issue with JW Player on my website. On the homepage the JW Player works fine, but when I view the same posts in their category, JW Player doesn't show up!
    I use Twenty Ten as the basis for my theme.

    You can find my website here: http://www.studiofets.com and the category here: http://www.studiofets.com/category/work.

    What could be the problem? And how can I solve this?

    Thanks in advance!

    Stef

    StudioFets.
    http://www.studiofets.com

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    Since you base off of twenty ten:

    <?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
    			<div class="entry-summary">
    				<?php the_excerpt(); ?>
    			</div><!-- .entry-summary -->
    	<?php else : ?>

    this tells wp to only display the excerpt for archive posts

    Excerpts are not full posts, use a shortened post, no images, no links, etc.
    So I would assume the player is also excluded by the excerpt

    You can override that loop in your child theme/custom theme to use the_content instead

Topic Closed

This topic has been closed to new replies.

About this Topic