Multiple posts within Pages (Blog within a blog)
-
Hi. I searched high and low for articles relating to “posts within pages” and found some good ones. I implemented some of the points from those threads but my question was very specific.
I want the following to be done in my blog (https://www.bhooshan.com):
1) I am using the Blix theme for my main blog; call it ABC for instance. I want a new section (read ‘Page’), call it XYZ for reference, to be displayed on the main navigation as a button.
2) On XYZ Page, I would like to have multiple posts similar to the blog and with pagination below. It should also have a sidebar showing recent posts only from XYZ section.
3) The posts inside the XYZ section SHOULD NOT be displayed on the front page of ABC i.e. main blog. The user can only read those once he enters XYZ.This is what I have done so far:
1) I created a new category called PQR (example) with the ID given as 6. Moreover, I want that the category should not be listed in the sidebar with the others since I want to display it as a completely different section.
2) I then copied the index.php and renamed it as category-6.php and put it in the theme directory.
3) I also created a new page calling it XYZ but I have no clue how I will link the category-6.php to the page so as to display the posts there.I need your urgent help in this matter and probably more. I am good at cut-paste development (not skilled as the rest) so someone will have to take it patiently.
Thanks,
Bhooshan
- The topic ‘Multiple posts within Pages (Blog within a blog)’ is closed to new replies.