0
votes
1answer
46 views

problem with using serveral loop in wordpress theme

i am using several loops like this <?php $posts = get_posts('numberposts=1&order=DESC&orderby=post_date&category='.get_cat_ID( 'سیاست' )); foreach ($posts as $post) : ...
0
votes
2answers
78 views

Why does my URL keep returning 404 error code?

I have a custom type on my wordpress site called 'movie'. If the user type this URL : http://mysite.com/1994, I would like to display all movies published in 1994. Unfortunately, I get a consistent ...
0
votes
1answer
261 views

Custom Post Type Query issue

I have a conflict issue with 2 custom post types. I have a template file archive-media.php and have created the related 'media' custom post type. This all works well, however in the sidebar I have a ...
0
votes
2answers
2k views

next_posts_link and previous_posts_link problem

Below is the code from my author.php file. The problem is that next_posts_link and previous_posts_link only generate links based on the number of posts in the blog authored by the author in question, ...
0
votes
2answers
234 views

How can I tell if I'm on a custom post type archive page?

I have set up a custom post type and a custom taxonomy for it. I'm using the latest version of Wordpress. I believe I should be using the is_post_type_archive function, but this seems to be is ...
0
votes
1answer
435 views

Category Archives: Show posts categorized in parent category only

When I view a category page in 2010 theme, it shown posts categorized in: the category visible in url child categories of 1. I want to restrict the results to 1. only. Please help.
0
votes
1answer
31 views

Is there a template tag I can use to link to the archive page corresponding to the month that a post was published on?

For example, if the post was published on may 5th 2011, then clicking on "May 5th, 2011" would show all posts published in May 2011. How can that be done?
0
votes
1answer
2k views

Create a category archive page in TwentyTen Child Theme

I would like to create a page that will show all the posts from one particular category. I want to show the post title with the post thumbnail and content and nothing else ..no other meta ..no post ...
0
votes
4answers
355 views

Designing a custom archive.php inspired by the Autofocus theme

I've been trying to use the front page from the Autofocus theme in a different theme by copy pasting the code from index.php in the Autofocus theme to my new archive.php file. I have also copied the ...
0
votes
2answers
532 views

Archives and Categories in Custom Menu

What is the easiest way to place the Archives and Categories lists within my menu under a parent tab. I'd like both of the lists, such as "Archives" leading to the "archives" sub-menu, and the same ...