Forums

author link in single post (3 posts)

  1. sharon0002
    Member
    Posted 1 month ago #

    Here is my site http://www.aswm.org/wordpress

    On the main page you are able to click on the author name and go to their bio information.

    However, on the single post the author link does not work.

    Any suggestions. Thanks.

  2. stvwlf
    Member
    Posted 1 month ago #

    Hi

    Your homepage template file /wp-content/themes/ad-clerum-10/index.php
    has most likely been modified, having the link to the author bio information added to the theme. It is not in the theme as the theme is downloaded from the web.
    The line of code, before the link is added, looks like this
    <p><b>By <?php the_author(); ?></b> | <?php the_time('F j, Y'); ?> </p>

    This needs to be added to the single posts page,
    /wp-content/themes/ad-clerum-10/single.php

    You will find the line of code I pasted in above in the single.php file. It should be replaced with the line of code copied from the index.php file.

    How to change: Go to the WP admin section. In the left column is an Appearance button. Click it and select Editor.
    In the extreme right column is a list of the files in your active theme. Start by opening index.php to copy the home page author line. Then open single.php and paste the line in, as described above. Save the file and that should add it to the single posts page.

  3. sharon0002
    Member
    Posted 3 weeks ago #

    Thank you very much

Reply

You must log in to post.

About this Topic

Tags