WordPress.org

Support

Support » Themes and Templates » [Resolved] fourWPTPv2 theme author link

[Resolved] fourWPTPv2 theme author link

  • Hey,

    In the theme I’m using fourWPTPv2 at The Rising Phoenix Blog there is the red bar under the title of the post. I want to remove the link to /author/writer because it doesn’t work.

    In the theeme files this is the whole code for that small area.

    <div class="post_meta" id="post-<?php the_ID(); ?>">
    <h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
    <div class="date_post"><?php the_time('F jS, Y') ?><?php edit_post_link('Edit', '| ', ''); ?></div>
    <div class="post_bar">
    <span class="comment_counter"><a href="#comment">Leave your comment</a></span>
    <strong><span class="author">Published in <?php the_category(', ') ?> by <?php the_author_posts_link(); ?></strong></span></div>

    I can’t find anywhere that relates to the_athor_posts_link in the other files for the theme.

    Could someone point me in the right direction so I don’t have to have a link that doesn’t point to anywhere!

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • <strong><span class="author">Published in <?php the_category(', ') ?> by <?php the_author_posts_link(); ?></strong></span></strong>

    You’ve given me the exact same code for that part as was already there?

    How do I change <?php the_author_posts_link part to just say the name without a link?

    Sorry, if I wasn’t clear enough previously!

    change
    <?php the_author_posts_link(); ?>
    to
    <?php the_author(); ?>

    cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] fourWPTPv2 theme author link’ is closed to new replies.
Skip to toolbar