Support » Themes and Templates » Child 2012 – category template won't show full content (the_content)

  • I created a category template file for the staff page http://ratest3.com/category/staff/ that shows the full content.

    I used the same code for the audio category template file http://ratest3.com/category/audio/ and I don’t get the audio player in the content, but it does show up in single post view (I’ve come back to show a screen shot of it working so I could continue trying to find a cure for this 🙂 http://ratest3.com/audio.jpg

    Why could this be?

    Aside from the code I on the staff category page, I also tried this (which is what is there right now)

    <?php
    global $post;
    $tmp_post = $post;
    $args = array( 'posts_per_page' => -1,'category' => 5);
    $myposts = get_posts( $args );
    foreach( $myposts as $post ) : setup_postdata($post); ?>
    	<h2><?php the_title(); ?></h2>
        <?php the_content(); ?>
    <?php endforeach; ?>
    <?php $post = $tmp_post; ?>

    The audio player is from the “Featured Audio” plugin.

    Thanks! 🙂

Viewing 1 replies (of 1 total)
  • paulwpxp

    (@paulwp)

    Font hero

    Ask the plugin author.

    I think it’s done purposedly, it makes sense to add audio player only for single page not archive.

Viewing 1 replies (of 1 total)
  • The topic ‘Child 2012 – category template won't show full content (the_content)’ is closed to new replies.