WordPress.org

Ready to get started?Download WordPress

Forums

Add a second blog to my page? (12 posts)

  1. arika
    Member
    Posted 3 years ago #

    I am looking to make a second blog page on my site. I know I can create additional pages but how do I make a second blog? It seems like I am only allowed one by default. Any ideas?

  2. Jim Duthoit
    Member
    Posted 3 years ago #

    You can do this. I had the same problem, and have read many of the posts on this topic - and none seem to address it in a straight forward manner. I have solved it, but only after a fair bit of irritation.

    What you need to do is investigate the 'categories' function. 'Categories' is one of those terms used without it really being explained.

    When you first installed your WordPress blog, you probably had a default widget called 'categories' and removed it because it made no sense. You need to put that back in one of the sidebars (at least until you have set up your second blog page).

    Next you need to go to your dashboard, click on 'posts' and then find 'categories'. This will allow you to create a new category. You could call it 'Blog 2' or something (you can change it later). This new category will show up (right side of your screen) each time you write a new post. When you want a particular post to appear ONLY on the 'Blog 2' page, tick that.

    Then you need to publish a 'test' post to that category. When you go to the home page of your blog, the category widget will have 'Blog 2' displayed. Click on that. You will see only the 'test' post. THIS IS IMPORTANT. You need to copy the URL at the top of the page.

    Then create a new page (name it whatever you want your second blog page to be called). Then from your dashboard, go to 'Pages'. Click on 'edit' to edit the page you have created and then scroll down until you find a field called 'Page links to'. Paste the URL you copied into that and save the changes.

    Now you will find that when you go to your site, you will have the second blog page displayed as a tab (alongside all your other pages), and when you click the tab, only those posts you have saved (in this example as 'Blog 2') will be displayed.

    There will be another issue - you will find only an excerpt of the original post will be displayed - but this can be altered. so the entire post plus images are displayed. You need to go to your dashboard, click on 'appearance' and then 'editor'. Then click on the 'archive.php' template and change this line

    <?php the_excerpt(); ?>

    to:

    <?php the_content(); ?>

    This will solve the problem.

    There really should be an easier way of doing this.

  3. Big Moose
    Member
    Posted 3 years ago #

    This is great help, but I can't find the field you mention called "Page links to ...." Nothing like that exists. How do I paste the URL for the category I created so that the page automatically shows my blog posts specific to that category? Thanks.

  4. Big Moose
    Member
    Posted 3 years ago #

    I've just discovered that this is a plugin. It doesn't mention that it's compatible with the latest version of WordPress. Ugh. This stuff is confusing.

  5. Big Moose
    Member
    Posted 3 years ago #

    Okay, I'm using the Twenty-ten template and don't see that line of code in the archive.php template. Where can I make this change?

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    Don't edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

  7. Jim Duthoit
    Member
    Posted 3 years ago #

    Apologies to Big Moose (and anyone else who may have read the above post), but like him, I think this is more confusing than it needs to be.

    Firstly, the "Page links to..." is indeed a plugin. I installed it about a year ago and forgot that it did not come as standard. So anyone wanting to make a second blog page will need to install it first. Either search the WordPress Plugins using 'Page links to' or follow this link.

    http://wordpress.org/extend/plugins/page-links-to/

    Actually, it's a very useful plugin in its own right.

    Secondly, the line of code that needs to be altered -

    <?php the_excerpt(); ?>

    change it to:

    <?php the_content(); ?>

    is not in the archive.php template but in the loop.php template. Perhaps Big Moose can check this and let me (and others know if all the instructions are now correct. If they are, I will rewrite the above instructions and resend them.

    As for esmi; I have read that bit of advice about a dozen times now. It does not answer the question. Even if a person creates a child theme, they still need to know the answer to the question that was actually put.

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    Once the child theme is active and we can view the site, we'll be able to answer the question. :-)

  9. Jim Duthoit
    Member
    Posted 3 years ago #

    A few more bits of info:

    <?php the_excerpt(); ?>

    occurs three times in the loop.php template. You will need to change all three occurrences. You also need to go to your dashboard; under 'Settings', then 'Reading', make sure you tick "For each article in a feed, show 'full text'.

  10. Big Moose
    Member
    Posted 3 years ago #

    Jduthoit, thanks for taking the time to answer my question. Sites don't always have to be visible in order to address questions. I'm greateful that esmi pointed out the need for a child theme, but I'm in agreement that my question still warranted a proper response. I'll post here again once I've followed your great instructions and let you know how things turned out. Thanks!

  11. Big Moose
    Member
    Posted 3 years ago #

    I'm at the point where I'm much preferring to make changes directly into the existing templates and stylesheet. There's just way too much to wade through in attempting to understand how to override the parent. Let me know if there's a good reason why this won't work, or why I shouldn't do this ... I'm wanting to add some kind of note that lets me know what I've modified, like this:

    /* XXX */

    font-color: #ooo;

    /* XXX */

    Until I have a good handle on PHP, which is totally new to me, it seems best if I do things this way, and backup everything. The only way this would be a problem, from what I can tell, is if WordPress were to automatically update the version or theme currently being used. But all updates are controlled by the administrator, right? So once I'm comfortable enough with this stuff, I can create a child theme, but for now I can do things directly into the parent files???

    Thoughts?

  12. Jim Duthoit
    Member
    Posted 3 years ago #

    > Let me know if there's a good reason why this won't work, or why I shouldn't do this...

    There is no reason why you can't make changes to the parent file. I updated to the latest version of WordPress (3.1.1) yesterday. The only alterations I needed to make - with specific reference to creating a second blog page - was the changes to the loop template, ie;
    <?php the_excerpt(); ?> to <?php the_content(); ?>

    I use the TwentyTen theme. I have made five alterations in all (for example, changing the height of the header image). I made a list of the changes I made, so that when a new version is released, I just work through and alter them again. It takes 10 minutes.

    Like Big Moose, I will probably get round to creating a child theme one day, but for now it's just extra hassle.

Topic Closed

This topic has been closed to new replies.

About this Topic