Support » Everything else WordPress » Posts spread onto several pages? Also, are sub-posts possible?

  • I am currently developing a website using wordpress, and was hoping to be able to display posts onto two pages: news and articles.

    I am having difficulty figuring out how to accomplish this.
    On the settings>reading, I changed it so that posts will be posted onto the ‘Articles’ page, and it worked fine, but I also want certain posts on the other page.

    Is there another way of going about this?

    Thank you for your help. I hope I supplied enough info. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • My other topic was closed, but it was not the same question.
    Here is my other question:

    ” I am currently developing a website that contains articles, and articles within those articles.
    I was planning to create a Page named Articles, and have the articles set up as posts. Are sub-posts possible? Is there a hack or widget that I would need to install? I would really like to get this issue resolved soon. 🙂

    Thank you. ”

    esmi

    (@esmi)

    Forum Moderator

    Sub-posts aren’t possible but sub-categories are if you’re going down the posts route. If you opt for Pages, you can create sub (child) pages.

    On the settings>reading, I changed it so that posts will be posted onto the ‘Articles’ page, and it worked fine, but I also want certain posts on the other page.

    You can use query_posts to exclude/include on any posts page.

    http://codex.wordpress.org/Template_Tags/query_posts#Exclude_Categories_From_Your_Home_Page

    Okay, I will take a look at those links.

    Thank you so much esmi for being so helpful on these threads. 🙂

    So, I have to create my own theme to be able to put certain posts on certain pages?
    Or are themes and templates different?

    [ sorry for triple posting. ]

    Here is what my index.php looks like.
    I want to exclude categories 1,3,5,and 7.

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>
    
    <?php
       if (is_home()) {
          query_posts("cat=-1,-3,-5,-7");
       }
    ?>

    Is this right?

    Thanks for any help.

    esmi

    (@esmi)

    Forum Moderator

    So, I have to create my own theme to be able to put certain posts on certain pages?

    Yes. Or modify an existing theme – which might be a lot less work.

    Is this right?

    It looks OK.

    Have you read http://codex.wordpress.org/Integrating_Wordpress_with_Your_Website ?

    yes, I need this feature too..
    I hope this will be added in the future development…

    Hi.. finally…
    i have created a WordPress Sub Post Plugins,
    here is the link http://takien.com/550/wordpress-plugin-wp-sub-post.php

    that’s beta version…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Posts spread onto several pages? Also, are sub-posts possible?’ is closed to new replies.