Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Post Author Link « ThemeShaper Forums

ThemeShaper Forums » Thematic

Post Author Link

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

Tags:

  1. knightinblue
    Member

    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 6 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    Chris

    Moderator

    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 .= "http://your.blog.com/about/"; 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.

    Cheers

    Posted 6 years ago #
  3. knightinblue
    Member

    Worked like a charm!!

    Thanks Chris :)

    Posted 6 years ago #

RSS feed for this topic

Reply

You must log in to post.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183