Using short code to add Featured, Most Viewed, Latest posts functionality
Using short code to add Featured, Most Viewed, and Latest posts functionality for WordPress and the textbook theme.
Using short code to add Featured, Most Viewed, and Latest posts functionality to any page [movie_showcase]
Simply make a child with the style.css file that’s required to make a child theme. I added it in this, just in case.
Here is a functions.php that has the code to continue the textbook theme style and the code for Featured, Most Viewed, and Latest posts functionality, so just upload both files to your child theme, and that’s it, use the short code anywhere.
you can change ‘posts_per_page’ => 8, in funtions.php to increase or decrease the number of posts in each section.
Create a category called featured and add the posts you need shown in featured easily.
The rest, latest, and most viewed are automatic.
An instruction file is included.
This is only for me.