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?
I have a page that is called ARTICLES
It is a Page or a Category?
klauzer
Member
Posted 2 years ago #
It is a page.
But I also have this categories:
* Article Marketing
* Online Business
* SEO
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.
klauzer
Member
Posted 2 years ago #
Thanks, any idea how to do it?
klauzer
Member
Posted 2 years ago #
How to use a custom query to exclude posts from 1 or more categories from appearing there.
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
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?