Hello,
Please, how can we change the image size of each post in timeline mode?
How to display the image to the left of the text and not above?
Thanks
1 Answers
To change the image size, you can add the following code to the functions.php file:
add_action( ‘after_setup_theme’, ‘wpdocs_theme_setup’ );
function wpdocs_theme_setup() {
add_image_size( ‘homepage-thumb’, 650, 472, true ); // (cropped)
}
Then go to the dw-timeline-pro/templates/content.php file and add the “homepage-thumb” size in to the post thumbnail.
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('homepage-thumb'); ?></a>
And you can change the layout for the image and content in this file.
Please login or Register to submit your answer