Sending posts to pages other than your front page

Print Friendly

A common question we’re asked is “how to use one blog with multiple classes or subjects?” or “How do I send posts to multiple pages on my blog?”

This is easily done by assigning different categories to posts, such as assignment, discussion, maths or English, and then use a custom menu to create links to each post category in the top navigation of your blog.

It is ideal if you want to put up a post or question geared only towards one group of your students.

Students will see a link for their class in the top menu navigation of your blog, and once they click on that link, they will see only posts meant for them, with the most recent at the top.

Below is an example:

Example of sending posts to different pages

Live Demo

Check out how it works on our live demo blog.  When you click on the Geography link in the top navigation you see all posts published for the Geography class.

About Custom Menus

All Edublogs themes support custom menus which means you can customize your navigation menu and add a top navigation to any theme.

This allows you to easily:

  • Re-arrange, add, and remove items from the main navigation area at the top of your blog
  • Change the order of pages
  • Create nested sub-menus of links (sometimes known as nested pages links or ‘drop down’ menus)
  • Publish posts to different pages on your blog using post categories.  This is handy if you want students to be able to click on a link in the top navigation for all posts published for their subject.
  • Add custom links to your main navigation area
  • Create a custom menu for your sidebar

Custom menus allow you to fully control the links that appear in your navigation menu- you can even add links to website and pages not on your blog!

Step 1: Publish a new post for each subject or class

The first step is you need to publish a new post for each subject area or class with the category assigned for that subject area or class.

Here’s how you do it:

1. Go to Posts > Add New.

Add New Post

2.  Add your title and post content.

Write a post

3.  Click on Add New Category, type your new category name and then click on Add New Category.

Create new category

Here’s what it should look like when the category is assigned to the post:

Categories example

4.  Now click Publish.

 

Click Publish

5.  Repeat the process to publish a new post for every subject or class.

  • As you’re publishing the posts you’ll see them posted on your homepage.
  • Don’t worry about this!  We’ll show you how you can change this is step 3!

Here’s what your categories might look like when you are finished publishing all the posts!

Categories

Tips:

  • If you want to use the same discussion question and have each class respond with comments for just their class then you need to write one post for each class and only assign one category to that post (i.e. their class category).
  • If you are writing a general news post that applies to all subjects, or classes, and don’t want each class to respond with comments just for their class, you can assign the one post all categories.

Step 2: Create your custom menu

The next step is you need to set up your custom menu by following these instructions:

1.  Go to Appearance > Menus

Custom menu

2. Click on the ‘Create Menu

The default menu title ‘Menu 1′ automatically includes a custom Home link to  your homepage and any pages you’ve published.  You can change the title ‘Menu 1′ to any name you want.

Here’s what a default menu structure looks like on a newly created blog:

Default menu

3.  Select your categories you want to add to your menu then click Add to Menu.

  • You must have publish a post that has been assigned the categories you want to use before you will see the categories listed on the menu page.

Add the catgories

4.  Now drag/drop the menu items to change their order in your menu.

Drag and drop menu items

Any menu item that is indented will appear as a nested page under tab.

You can remove a menu item by clicking on the down arrow to the right of the menu item then click on Remove.

Edit menu item

5.  Select Primary menu to display in the top navigation on your blog.

  • Auto add pages - if selected, new pages are automatically added to your custom menu when the page is published.

Select primary menu

6.  Click Save Menu.

Click Save menu

 

 

8.  Once you’ve finished changing the order click Save Menu.

9.  Now to display your new top navigation on your blog you just need to select Main from under the Primary Navigation drop down menu and then click Save.

Cool tip:

You can create static level tabs using a custom link if you just want a link name that doesn’t go to a page that exists.

You can create static parent tabs using a custom link if you just want a link name that doesn’t go to a page that exists.   This is handy when you don’t want the parent (top-level) tab to contact any content or be clickable.

To add static parent tab you create a custom link by typing the ‘#’ symbol in the URL field, add Link Text to specify what the tab will say, and then click Add to Menu.   Now just drag and drop the link item when you want it to appear in the menu and then click Save Menu

Static page tab

Step 3 – Choose what to display on your “home page”

By default, your home page is your blog post page however you can change this so your homepage is  a static front page and your posts are sent to a different page on your blog.

Because you’ve assigned categories to certain classes or subjects. you may not want all posts to show on your home page.

If you are ok with all posts, no matter the subject or class, showing together on your home page, then you’re finished and your class blog is all set up.

However, if don’t want all posts displaying on your homepage then you’ll need to create a static home page.

Here’s how we are going to do it:

  1. Publish a page that has information you want people to see when they first visit your blog.
  2. Make your front page display a Static page.

Here is how you do it:

1.  Go to Pages > Add New

Add New Page

2.  Now just give your page a title, add your content and click Publish.

Publish a welcome page

3.  Go to Settings > Reading

 

Reading Settings

4.  Choose ‘Static Page‘ and in the drop down, select the new welcome page you just created.

Select static front page

5.  Click ‘Save Changes‘.

  • You will be able to go back and update this page with new announcements whenever you like – but users that have subscribed to your blog feed or by email, won’t receive any sort of notification.
  • You can also create a new blank page called something like “Posts”, and choose it under the posts dropdown box so that there will be a place for all posts to be shown on your blog in one place.

Troubleshooting

Knowing how to create custom menus is a really handy skill because there is so much you can achieve with custom menus.   However, custom menus is a slightly more advanced blogging skills.

Refer to the custom menu support page for more information on working with menu’s or contact Edublogs Support if you need help setting up your custom menu.

We are always happy to provide assistance!

Edublogs Support Manager @suewaters on Twitter

Posted in Appearance & Themes, Help