ThemeShaper Forums » Thematic

Post Author Link

(3 posts)
  • Started 10 years ago by knightinblue
  • Latest reply from knightinblue
  • This topic is resolved


  1. knightinblue

    Hey guys,

    when i publish a post, the author's name on the post links to the archive of articles written by the author. I would like to change it so that the author's name points to the About page.

    How do I do that?

    Posted 10 years ago #
  2. Hi,

    try to keep my answer as short as possible:

    Open thematic/library/extensions/hooks-filters.php
    Copy the complete function thematic_postheader to your functions.php

    From here everything happens in your functions.php:
    Rename the function thematic_postheader to child_postheader
    Don't forget to do the same change in the line: echo apply_filters(..
    Add the line: add_filter('thematic_postheader', 'child_postheader'); at the end of your functions.php.

    And now it's time to change the link:

    Search for $postmeta .= get_author_link(false, $authordata->ID, $authordata->user_nicename);
    Change this line to $postmeta .= ""; according to your needs.
    In addition you might want to change in the next line 'View all posts by ' into 'About ".

    Save the file and upload it to your child theme's directory.


    Posted 10 years ago #
  3. knightinblue

    Worked like a charm!!

    Thanks Chris :)

    Posted 10 years ago #

RSS feed for this topic


You must log in to post.