ThemeShaper Forums » Thematic


How to make category page show full content

(3 posts)
  • Started 10 years ago by h3kno
  • Latest reply from Jonny Janiero
  • This topic is not resolved
  1. I'm trying to make it so whenever an entry in the blog with the category "Video" is set up, it'll automatically show on the Videos page, which is set up so it pulls in all "Video" categories, but its only pulling the excerpt maybe and not the full content.

    I would like it to pull in everything. Is there a way to accomplish this?

    Dennis Huh

    Posted 10 years ago #
  2. this will filter the content for the category video, to display in full

    function childtheme_content($content) {
    	if (is_category('video')) {
    		$content= 'full';}
    	return $content;
    add_filter('thematic_content', 'childtheme_content');

    note, in the above, i have called the category 'video'. if this doesn't work, its something to do with the fact your actual category slug is called 'video-2' (see in the browser url). so you may have to change the code above or check the category section in your admin.

    Posted 10 years ago #
  3. oh, and in case you dont already know, you adding the above code to your child themes functions.php file

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.