WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Links in posts only clickable in single post view?

[Resolved] Links in posts only clickable in single post view?

  • 3stripe
    Participant

    @3stripe

    I’ve just done a lot of hunting/thinking but still can’t figure this out.

    If you look at http://www.tonguengroove.co.uk/content/downloads, none of the mp3 links work. But if you click on one of the post headings to see that post on its own, the link works…

    The loop on the download page goes like this

    <!-- create mp3 listings-->
    <?php $my_query = new WP_Query('category_name=MP3s&showposts=10'); ?>
    <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
    <div id="mp3">
    <h2 id="post-<?php the_ID(); ?>">
    <?php the_title(); ?> / <?php echo get_post_meta($post->ID, 'DJ', $single = true); ?></a></h2>
    <div id="mp3link"><?php the_excerpt(); ?></div>
    <div id="mp3description"><?php the_content('', '', true); ?></div>
    <?php the_date('d/m/Y', '<div id="time">', '</div>'); ?>
    </div>
    <?php endwhile; ?>
    <!-- create mp3 listings-->

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Links in posts only clickable in single post view?’ is closed to new replies.