Blog-in-Blog
Blog-in-Blog allows you to use the WordPress platform for it’s CMS features, but still have a blog page on your site. Posts selected by category, post_type, tag or any combination thereof, can be used to feed the ‘special’ blog page, and can optionally be hidden from the home page. You can have more
Blog-in-Blog allows you to use the WordPress platform for it’s CMS features, but still have a blog page on your site. Posts selected by category, post_type, tag or any combination thereof, can be used to feed the ‘special’ blog page, and can optionally be hidden from the home page. You can have more than one category hidden from the homepage (not post_types or tags).
You can also use this plugin to show posts on the same page from different categories, post_types or tags, but in several different blocks and using different layout templates.
If you find this plugin useful (especially if it gets you out of a fix in a commercial setting), please feel free to leave feedback via the donate button.
I am grateful for those people who have already bought me a beer 🙂
Important: In previous versions of the Blog-in-Blog plugin you might have edited bib_post_template.tpl. If you are upgrading, we will copy this to a textbox so you can edit the template from the plugin page. The bib_post_template.pl file is no longer used and may vanish in a future release.
How to install the plugin and get it working.
Briefly:
- 01Upload the blog-in-blog directory to the /wp-content/plugins/ directory (or install via wordpress plugins admin menu)
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Add a shotcode such as [blog_in_blog category_slug='my-category-slug' num=5] to a new PAGE (not post) on your site.
- 04Optionally, use the admin page to select which category(ies) to hide from the home page.
- 05Therefore, any posts with the chosen category are shown only on your new page and not on the home page, so if you use WordPress as a CMS, you now have a blog within a blog.
NOTE: Don’t copy any code from here and paste into the visual editor, as you will be copying some HTML too, and you may not want that. Use the HTML editor to paste you shortcode and make sure it is not wrapped in extra HTML.