Two blog pages in a single blog

  • Author
    Posts
  • #295863

    syoder1
    Member

    Hi:

    My site is at http://sexistremarks.wordpress.com/.

    Is it possible to have two blog pages on a single site? I am revising the site to have my latest posts display as the front page. However, I have a second page that I would also like to have function as a blog page: http://sexistremarks.wordpress.com/answering-the-tough-questions-about-responding-to-sexist-remarks/. That’s because I’d like to put a comment link after each individual question on that page rather than using a single “Leave a Reply” box at the bottom of the page.

    If that’s not possible, that’s fine, but wanted to check.

    #296056

    1tess
    Moderator Emeritus

    WordPress.com has only one page for posting.

    It would be a lot of pages, but you could make a page (tough questions) with child pages. Each question could be a child of that page. Readers can leave comments on pages.

    #296060

    syoder1
    Member

    Good suggestion 1tess, I’ll try that. Thanks very much.

    #296078

    Having a second posts page is tricky, but it IS possible. See here:

    https://en.forums.wordpress.com/topic/adding-posts-to-a-page?replies=3#post-265042

    #296083

    1tess
    Moderator Emeritus

    panaghiotisadam,
    Thanks. I always learn things when you post. :-)

    #296084

    justjennifer
    Moderator

    @panaghiotisadam-I understand the technique, but technically that is a Category Page created on the fly by clicking on the link in the Tab Heading. You can’t post directly to that Page. The Posts on the Category Page show up on the Posts (blog) page, no?

    #296085

    rosclarke
    Member

    Panghiotisadam, that solution doesn’t quite give two blog pages. ALL posts will still appear on the main page, and then some will appear again on the category page. And the category page won’t show the opportunity to leave comments; the reader will have to click on the links to the individual posts and then leave their comments. So that solution might work for the OP, or it might not. ;)

    #296102

    @justjennifer & rosclarke: yes of course, you’re both right. It’s just the closest we can get to what the OP would like to have. (But note that I think I’ve also got a trick for not displaying some posts on the main page.)

    #296105

    1tess
    Moderator Emeritus

    I’ve been thinking about my earlier suggestion, so that so that all 17 child pages don’t clutter up your sidebar, you should exclude them from your pages widget. Then for each of your questions, provide a link to each page such as “leave your suggestion” or “talk about your ideas”

    #296111

    If you use panaghiotisadam suggestion and you don’t want the post to show up on the home page try this code

    function exclude_category($query) {
    if ( $query->is_home ) {
    $query->set('cat', '-19');
    }
    return $query;
    }
    add_filter('pre_get_posts', 'exclude_category');

    NOTE: for that to work you have to change the “-19” to match your category’s id.
    I got the code from here
    http://zeo.unic.net.my/notes/exclude-category-in-wordpress/

    #296112

    vivianpaige
    Member

    scooby – please read the sticky at the top of the forum https://en.forums.wordpress.com/topic/please-read-me-first-before-posting?replies=1

    That solution will NOT work here since it requires access to files (specifically the functions.php file) that we do not have here.

    #296134

    syoder1
    Member

    THANKS EVERYONE, I really appreciate it.

The topic ‘Two blog pages in a single blog’ is closed to new replies.