ThemeShaper Forums » Thematic

[closed]

Custom Continue Reading Link

(2 posts)
  • Started 3 years ago by dramabitch
  • Latest reply from kwight
  • This topic is not resolved
  1. dramabitch
    Member

    Newbie here. Could anyone share how to add a custom continue reading link on the homepage. Continue Reading in 'Category' and just a Continue Reading link on interior category pages?

    Much Appreciation for any guidance!

    Posted 3 years ago #
  2. kwight
    Member

    Hi,
    You can filter the "Read More" text in Thematic this way:

    function kwight_change_more_text($content) {
    	$content = __('Keep on reading...','thematic');
    	return $content;
    }
    add_filter('more_text', 'kwight_change_more_text');

    You can add conditionals such as is_home() and is_category('my_category') to the above function to change it on a page-to-page basis:

    http://codex.wordpress.org/Conditional_Tags

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.