• Resolved techadmin-imconair

    (@techadmin-imconair)


    Hi, Folks… !

    I have a bigger problem. I have a website with WP 2.8.6 and I use a theme where I do not get in contact anymore with the designer. So I am little bit lost.

    The blog you can find here I am talking about: https://www.imcradio.net/electronics .

    The problem is, that I have different “contributors” (by RSS news syndication) which are picked up as authors. In the “dashboard -> users -> authors & users” all these authors are listed correctly… even with their website url.

    But in the line “posted by” of each single posting the authors are not linked: see…

    – Admin Author (tha’s me): “IE-mAdmin” – https://bit.ly/ajzsZ6 … not linked
    – regular author (one of the contributors): “Spacelab – Independent…” – https://bit.ly/blNRvR … not linked

    I want (and I have to by law), that a reader can directly get in contact with the original source/website from where the article originaly comes from. The author’s own home website (In my 1st blog for another radio show the author is linked ( https://radioblog.india-meets-classic.net) correctly.

    I have searched around here on the blog, but didn’t find the right source (pls. dont route me to here: https://codex.www.ads-software.com/The_Loop ). I don’t want establish an author’s page with the list of all authors and then linked to the original website. The link should appear “mouse over” the author’s name following “posted by”…

    Which code line, which file I have to maintenance ? – Hope for quick orientation. Thank’s…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter techadmin-imconair

    (@techadmin-imconair)

    if you should ask for the index.php, I copy the code of this theme here:
    ————————————————

    <?php
    get_header();
    ?>

    <div id=”hitmusic”>
    <h1>Some great Vibrants…</h1>
    <?php hitmusic(); ?>
    </div>

    <?php broadcast(); ?>

    <?php $count = 0;?>
    <?php query_posts(‘showposts=4’); ?>
    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”postindex” id=”post-<?php the_ID(); ?>”>

    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>

    <div class=”entry”>
    <?php the_excerpt(__(‘Readmore ?’));?>

    </div>
    <div class=”spacer”></div>
    <ul class=”post-data”>
    <li class=”comments”>
    <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>

    <li class=”posted”>
    <?php the_time(‘F jS, Y’) ?> by <?php the_author() ?> <?php edit_post_link(‘Edit’,”,”); ?>

    </div>

    <?php comments_template(); ?>
    <?php
    if($count == 1 ) {
    echo “<div style=’clear:both;’></div>”;}
    $count = $count+1;
    ?>

    <?php endwhile; else: ?>
    <p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
    <?php endif; ?>

    <?php get_footer(); ?>

    Thread Starter techadmin-imconair

    (@techadmin-imconair)

    ok, this request can be closed… I found the way to change it… its not too difficult, just time eating to get an understanding for the architecture. And find the right answers…

    For my theme I had to change following four files, using the “Editor” (under “Appearance”) in the dashbord.

    index.php (refers the posts (in short form) on the front page where the author is listed in the footer area)
    page.php (refers all the pages and the header area)
    single.php (after clicking on the topic line of the new posts on the front page the user is routed to a single URL address and can see the fully text and the author (with link to the original source) in the header)
    archive.php (refers to all postings if you click on a category or tag)

    I had to replace the old code <?php the_author() ?>
    by this one: <?php the_author_link(); ?>

    Hereby the link is picked up so fare it exist in the “user&author” profile (dashboard)

    If somebody else should have such troubles, please read here.

    Tks giving attention. TC – Enjoy listening to good music !`

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘theme misses author's link in "posted by" (WP 2.8)’ is closed to new replies.