to the part of the post that you want to split.
To show the pagination at the bottom of the post, insert the line
to your theme single.php after the line
<?php the_content('read more ...'); ? >
4) Add a thumbnail for each post
Have you ever wondered how others manage to embed a thumbnail for every single post? Well, you can simply do it by adding a custom field into your post.
In your WordPress Write section, scroll down to find 'Custom Fields'. Click on it to reveal the input fields. Under the Key, type 'thumbnail'. Under the value, type the URL of the thumbnail image that you want to embed. Click 'Add Custom Field'.
To display the thumbnail on your blog, you can query it by inserting the following line to your wp theme.
<img src="<?php echo get_post_meta($post->ID, 'thumbnail', true); ?>" alt="" width="80" height="80" />
Receive the latest update in your inbox.
Or connect with us: