Forums

Post in the right page. (9 posts)

  1. klauzer
    Member
    Posted 2 years ago #

    I am using a article submitting site that submits articles that I have approved to my blog.
    I have a page that is called ARTICLES and I want them there, I have given them the right link http://www.mysite/articles but they are still submitting them in the HOME page.

    What should I do?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I have a page that is called ARTICLES

    It is a Page or a Category?

  3. klauzer
    Member
    Posted 2 years ago #

    It is a page.

    But I also have this categories:

    * Article Marketing
    * Online Business
    * SEO

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    All new posts are going to appear on your Home page unless you use a custom query to exclude posts from 1 or more categories from appearing there.

  5. klauzer
    Member
    Posted 2 years ago #

    Thanks, any idea how to do it?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    How to do what?

  7. klauzer
    Member
    Posted 2 years ago #

    How to use a custom query to exclude posts from 1 or more categories from appearing there.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Something like:

    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args= array(
    	'cat' => -3,
    	'paged' => $paged
    );
    query_posts($args);
    ?>

    would exclude all posts in the category with the id 3 from appearing.

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

  9. klauzer
    Member
    Posted 2 years ago #

    Oh god this is to complicated for me. I don't think I will manage this.

    I was told that it was something in the "Reading Settings" that should be changed. Something about the "static page".

    It is so complicated with the script/code.

    Is there another way?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.