Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
  • #5116

    Hey, thank you guys for all of your help with this theme. I am trying to figure out how to avoid having oversized pictures pulled into the homepage when I link those 4 columns below the slider to pull various pages. I don’t want all the page content pulled up in a long column and everytime I set it to a page with a pic and content it does this. How can I set a thumbnail pic to show and then limit how much content shows up in the column?


    A good example of this if you scroll down to the section beside the testimonials:



    open up cleancutframeworkclasseskclass_display_box.php and change:



    the_content('

    and use the more tag to limit the content.


    I get a syntax error when I replace it with the code above. Should I just work around by setting up posts that link to the pages I want. Maybe that’s the easiest way. I’ll probably do that, but let me know if there is a short way to fix the code. Thanks


    I corrected the code above – the code shortcode messed it up :)


    okay now I do have the option to use the more tag, however, when I do, I get two read more buttons on the homepage for the same column. Also, I am still getting huge pictures pulled in from the page. I don’t want to mess up the layout of my page by making the pics small or deleting them. What can I do?


    does anyone know the answer to this question?


    Please delete following line in cleancutframeworkclasseskclass_display_box.php

    echo '<a href="'.get_permalink().'" class="more-link">Read more</a>';

    2) As far as I know there’s no easy way to adjust the thumbnail size for excerpts. Normally WP strips the images from the excerpt or you can enter a custom excerpt by using the excerpt field. If you’d like to use the excerpt field you need to change:




    and leave the read more button code. Now you can enter your custom excerpt text in “excerpt” options field.


    Thanks! The excerpt code did EXACTLY what I needed!

    I appreciate it! However, can I get this to apply to the page that shows beside Testimonials as well.

    And my last question- I have changed the size of my portfolio thumbnails and it is affecting the thumbnails of the 4 columns on the front page.What would be the easiest way to set up 2 different sizing rules- one for portfolio thumbnails, and one for those 4 columns on the homepage?


    I’d add another image size in functions.php like:

    $k_option['custom']['imgSize']['PL'] = array('width'=>610, 'height'=>160); // image for frontpage

    and adjust the dimensions to your needs and in cleancutframeworkclasseskclass_display_box.php change:

    $preview = kriesi_post_thumb($post->ID, array('size'=> array('M'),
    'display_link' => array('none'),
    'wh' => $k_option['custom']['imgSize']['M']


    $preview = kriesi_post_thumb($post->ID, array('size'=> array('PL'),
    'display_link' => array('none'),
    'wh' => $k_option['custom']['imgSize']['PL']


    Worked like a charm! Thank you!!!


    Glad Dude could help you :)

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Customizing Home Page Content’ is closed to new replies.