If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
July 21, 2011 at 5:03 pm #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?July 21, 2011 at 6:45 pm #48927
A good example of this if you scroll down to the section beside the testimonials: http://altd.dev.amermancreative.com/July 22, 2011 at 5:26 am #48928
open up cleancutframeworkclasseskclass_display_box.php and change:
and use the more tag to limit the content.July 25, 2011 at 6:10 pm #48929
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. ThanksJuly 25, 2011 at 6:58 pm #48930July 28, 2011 at 6:05 pm #48931
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?August 1, 2011 at 11:55 am #48932August 1, 2011 at 1:00 pm #48933
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.August 1, 2011 at 1:48 pm #48934
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?August 2, 2011 at 7:17 am #48935
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']
));August 2, 2011 at 10:09 pm #48936August 3, 2011 at 12:00 am #48937
The topic ‘Customizing Home Page Content’ is closed to new replies.