ThemeShaper Forums » Thematic


Change image size in home page, and number of posts

(5 posts)
  • Started 11 years ago by turbobutton
  • Latest reply from turbobutton
  • This topic is not resolved


  1. I'd like to alter two things on Thematic. But fail to see the solution.

    1. Change image size in the front page only

    I'd like to change the size of the post image displayed in the front page.
    It seems that a thumbnail is not used on the front page, so the the following doesn't work.

    function child_post_thumb() {
    return array(400,200);


    2. Change the number of posts displayed in an array.

    //The Query

    Probably the latter issue is easier to solve.

    Posted 11 years ago #
  2. the thumbnail is not displayed b/c the front page shows full posts versus excerpts.

    //show excerpts on home page instead of full posts
    function child_content($content){
    		$content = 'excerpt';
    	return $content;

    as for 2., i believe you can change the posts per page in the reading settings backend

    Posted 11 years ago #
  3. thanks for your help.

    i checked out the excerpt idea. im looking to show a post up until the -- more -- tag. but include a smaller image. they download qucker in the home page.

    yeh. number 2. its obvious now.

    Posted 11 years ago #
  4. if you show a post up until the <more> tag, you are showing the content of the full post. i can't think of any way to show a small version of the photo that is in the full content.... except to insert smaller photos, but then they'll be smaller on the single post too.

    Posted 11 years ago #
  5. yes, it seems a problem.

    perhaps the only clean way of doing it is grepping the contents and replacing the filename. seems horrible.

    can one 'override' a function in the base functions.php file?

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.