Big photo – last post on homepage, how?
I have installed WallPress theme and I can’t solve this problem.
How to setup theme to get Big photo of my latest post?
Just like here:http://cmspioneer.com/designwall/wp-content/uploads/dw-wallpress-slide-12.jpg
The post with music band is much more width than other.
Thanks.
To resolve this problem. Please see my instruction below:
– Add new post
– At the bottom of content frame there will be “Custom Fields”.
– And add new Custom Fields with:
+ Custom field name: grid
+ Custom field value: double
See the screen shot: http://imgur.com/qh08MCw
Hope this helps !
Regards
Dominic
I do this and now all post that i chooses “grid field” have big photo in home page http://05dag.info
please send me username & password your site for further checking
My mail box: [email protected]
Regards,
Dominic
To resolve your problem, you can use image size 620 x 380px.
I think you did not use the correct size image.
Hope this helps !
Regards,
Dominic
I changed all images to 620×380 size image, still have the same problem. Look again please.
So, I fined solution:
file “functions.php” line 225-226 need replace
from:
if ( get_post_meta( get_the_ID(), ‘grid’, true ) ) :
$classes[] = ‘grid-‘.get_post_meta( get_the_ID(), ‘grid’, true );
to:
$last = $wpdb->get_row(“SELECT ID FROM wp_posts WHERE post_status = ‘publish’ ORDER BY ID DESC”);
if ( ( get_the_ID() == $last->ID ) ) :
$classes[] = ‘grid-double’;
Ok.
But there is any way to set theme to automaticly make latest post as big?
To resolve this problem. Please see my instruction below:
– Add new post
– At the bottom of content frame there will be “Custom Fields”.
– And add new Custom Fields with:
+ Custom field name: grid
+ Custom field value: double
See the screen shot: http://imgur.com/qh08MCw
Hope this helps !
Regards
Dominic
Please login or Register to submit your answer