The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
1answer
263 views

Custom archives function

I'm working on building a custom archives page for my church's website. On my archives page I want to have last week's sermon shown at the top in a special box, followed by the future sermons and then ...
0
votes
1answer
345 views

Need post_type_archive_title function but in 'single'

I'm trying to pull a custom post type name/title out for use in the breadcrumb of a single-[cpt].php template file. In the archive-[cpt].php I can use post_type_archive_title() and it echo the name. ...
1
vote
1answer
2k views

How to hide a specific category posts in my monthly archive?

I am using the twenty eleven theme in my wordpress site. In posts, I have two categories. One is blogs and other is News. The monthly archive displays the posts of all categories while I want that ...
0
votes
2answers
329 views

Create an archive listing based on meta array

I've got an "event" custom post type, with a meta field is used for the event date. I've successfully created archive pages (year and month) based on the answer on a previous question (here). Now, I'm ...
0
votes
1answer
99 views

Archive of year for some categories using the featured image

I know that it should be quite easy to do but I can't seem to figure it out. Firstly, I have a category, with some sub-categories. I would like to have a page that displays all the post made in that ...
0
votes
1answer
202 views

Display direct children of the current custom taxonomy in taxonomy.php template

Let’s say i have custom taxonomy named “Location” with hierarchial structure like the following : ASIA CHINA INDIA JAPAN Fukuoka Hokkaido Okinawa Tokyo ...
1
vote
1answer
1k views

Remove author archive

I'm using wordpress as a CMS. Various users on the staff write posts that get incorporated into pages manually. As far as the outside world is concerned, this is just a bunch of static pages. I ...
1
vote
2answers
2k views

Sort results by name & asc order on Archive.php

I currently use the following code to list posts in Archive.php but I want the results to be ordered by name in ascending order, I have checked the codex but the answer isn't clear to me, how can I ...
4
votes
2answers
306 views

Archive permalinks

This site has been very helpful for me in learning how to rewrite permalinks using add_filters to solve issues we were having when we merged two blogs into one. But, I do have one item I have been ...
0
votes
1answer
554 views

Can't Access Sessions or Variables through pages

So I'm trying to use a session to move a variable through pages. For some reason I literally cannot access anything from index.php to archive. I declare my session at the very top of my header.php ...
0
votes
2answers
1k views

How to get the category of the post and link it to the archive (of the category)

I am trying to design a button in the sidebar which is related to the post displayed. The button is basically a "other news in CAT1". i have this piece of code: <div id="pagine"> <?php ...
-2
votes
1answer
220 views

Can a scrollable date picker be done in Wordpress for archives?

I've been asked by a client to do this: But I have no idea how I would go about it, particularly in Wordpress. I searched around Google a bit, but it looks like this design was just lifted from an ...
1
vote
1answer
102 views

Disabling archives, search results, comments, etc?

I am working on a site that has only text articles, and I am not making use of comments, archives, trackbacks and other features. How can I make so these pages show a 404 not found error? I am not ...
0
votes
2answers
350 views

wordpress showing all posts instead of date range

When going to http://craigmdennis.com/articles/ Wordpress uses the index.php template. When you go to http://craigmdennis.com/2010/05/ Wordpress uses the same template (markup below) but shows the ...
0
votes
1answer
89 views

Query Posts Incorrectly Displaying Tags Archives

When I go to a tag archive ( http://themeforward.com/demo2/tag/n/ for example) ALL the posts on my blog are being displayed, not just the posts with that tag - and I'd like to fix this. Here's my tag ...
2
votes
3answers
181 views

How to show static placeholder when less post elements in archive page?

I'm doing an archive page for a theme that will contain only images thumbnails. The maximum amount of thumbnails that the page layout can contains is 12. So as query I would like to been able to get ...
-1
votes
2answers
48 views

All font sizes change when manually typing 2011 into url and going to archive page

I am developing a site on MAMP and everything is going fine except that I thought I would check how all the default archive pages look. I typed 2011 at the end of the base url and it retrieved a ...
0
votes
1answer
160 views

Archive with specific keyword by category sorted by date

I need help to create a template for an archive with specific a keyword by category sorted by date. This is the code for my archive page so far: http://pastebin.com/WEjNGhJ1 My client wants every ...
0
votes
2answers
321 views

How to make an archive page template using Wordpress 3

I have a suitable page, archives.php, located in the theme's root directory, but I cannot get it to show up as a page template. Is there something else I need to do so that it is recognized?
0
votes
1answer
1k views

Archive limit the text of the_content

here's the code for my archive page.. <?php /* Template Name: Archive Page */ ?> <?php get_header(); ?> <div id ="maincontent"class = "group"> <?php ...
0
votes
1answer
161 views

How can I allow users to edit text that will be displayed on a custom post type archive page?

I like the custom post types Wordpress offers. Most of the time I like the way that the archive of custom posts is displayed. For example if you have a custom post type of top_hats you can visit ...
0
votes
1answer
781 views

Page is defaulting to archive page and not designated template

I created a page called "Projects" through the wordpress admin I created a template called "Projects" Set the "Projects" page to use the Projects template. How come when I navigate to the Projects ...
0
votes
1answer
88 views

Archieve page, Advertisement Every 3 Posts

Currently this code http://pastebin.com/As0exwZy is displaying 10 posts because I set it in the Reading settings. Now what I want is to display a advertisement(widgetize) every 3 posts... how can I do ...
1
vote
0answers
181 views

Tough Custom query: archive page with custom meta_value_num [closed]

I trying to add parameters to the query string of an archive page. So I verified that the following method works: query_posts($query_string . ...
4
votes
1answer
108 views

Multiple Paginations on one Page

I have a page template which aggregates multiple CPT's in different areas of the page and displays the first post from each CPT. I'd like to add a separate pagination for each of them. Is it possible ...
0
votes
1answer
417 views

Preview Post/Custom Post types in Archive

I have a few custom post types on my website. One of these is a front page slider. I add some text, images, links and as soon as I publish the CPT appears as a slide and I'm a happy camper. The ...
0
votes
1answer
283 views

How can I increase the post count for custom post types only?

I have the page count set to the default 10 in my reading settings menu. However, I use my template archive.php file for all post types, including posts and books How can I change the loop so that ...
0
votes
1answer
2k views

show only sub categories if available?

Hii i want that when i click on category link that show sub category if available instead of posts list If No Sub category available then show normal posts how to do this that if available sub ...
2
votes
1answer
1k views

How to limit wp_get_archives to show months for the X years only

Can anybody show me how to set a limit on wp_get_archives to show archives by month BUT only those for the year 2010 and above - so the 2009 monthly archives are not shown on the sidebar archive ...
1
vote
3answers
1k views

Category archive by year with permalink support /category/YYYY

I am currently looking at creating a new type of site archive within WordPress that allows users to filter by category AND by year rather than the default category OR year. I am hoping to build a ...
1
vote
0answers
181 views

How to make pagination work not for a whole category but for a part of it? (WP_Query) [closed]

In my example you can see that i have to paginate posts from category 6 with meta_value='izhs' for meta_key='dachaizhs' Now it works like it paginates the whole category, and then exclude from each ...
4
votes
1answer
1k views

Custom Post Type Archives by Date with Custom Permalink

I'm a bit stuck with getting the custom permalink for custom post type (CPT) archive to work. I've registered my 'press_release' CPT as following: add_action('init', 'press_release_post_type_init'); ...
0
votes
1answer
538 views

Difference between $numpages & $max_page on archive pages

After taking a look at global $max_page; and global $numpages; on category-archive pages (is_archive() || $GLOBALS['wp_query']->is_archive returning true), I see the following return values: ...
0
votes
2answers
235 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.
1
vote
1answer
246 views

Need to check is_archive during init

I need to check if a page is an archive or not, before my plugin does some URI manipulations. These manipulations only work before wp but if I perform them first and then check is_archive, the check ...
1
vote
2answers
483 views

How do I call posts with a certain tag?

I use this to call posts: <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $per_page = get_option('to_count_archives'); ...
0
votes
1answer
106 views

Query Posts Creates 404 Error

When I'm on archives pages I am using the code below to query posts. In my theme options to_count_home calls the number of posts. WordPress isn't generating the correct number of pages based on ...
1
vote
3answers
2k views

How to add meta box to backend menu page

I need to add a meta box to the backend menu page, in Appearance->Menus (/wp-admin/nav-menus.php), to list all the available post types, both the defaults & the custom ones. It will contain a ...
0
votes
1answer
500 views

Listing authors and date archive from custom post type

I've got a cpt called 'blog', now I would like to list all authors that contributed to that cpt. Also I would like to list all blogposts (from the 'blog' cpt) grouped in months, like wp_get_archives() ...
8
votes
4answers
7k views

Default archive URL wordpress

In wordpress you have a few 'default' archive URL's. Like for example: http://www.mydomain.com/2011/ generates an overview of the posts of (only) that year. If you have an category blogs the url ...
0
votes
1answer
446 views

How can I set a post thumbnail image without making a featured image?

When I set a featured image, it is allways on the upper left corner of the post. Sometimes, like in this example post, I only have very few text and one image. But this image should not be on the ...
0
votes
1answer
49 views

Archiving custom post content?

Last year, I built a movie festival website using "movie" as a custom post type. Now that the festival is over and we're getting ready for next year, how would I archive that content so that I can ...
0
votes
1answer
2k views

How to create an attachments archive with working pagination?

This might sound like query_posts with pagination problem number 2103024 but I think this one might be special. My WordPress site is basically a huge database of car images. Each image should have ...
0
votes
2answers
916 views

Display most recent post in category instead of archive?

I've successfully redirected my blog page to my most recent post - i.e. so when you click the 'blog' link in the nav it goes to the most recent post page and you can click next/prev buttons to ...
0
votes
1answer
1k views

Simplest Way to Build Custom Archives Page?

I am looking to create a page in Wordpress to output links to all of our posts from every month since we launched the blog. I have seen the archive.php template file in Wordpress, but this seems to ...
0
votes
1answer
2k views

How can I get the Month Name from Archive?

I have created an archive page.. where i wanted to display which archive month is displaying.. how can I display the month name?
0
votes
1answer
188 views

Determine the category that an archive-page is for

On a category archive page, how do I determine what category the archive page is for? I need either the id or the slug of the category. I am not looking for get_the_category(). This will give me all ...
2
votes
1answer
770 views

Multiple post types in archives (filter?)

I'm trying to get all custom post types to appear in my archive sections on a site, including monthly, tagged, author archives. At the moment, I've thought of something like: ...
3
votes
2answers
3k views

Display list of Sub-Categories and the posts they contain, within one main Category

I've found tons of code and plugins to do various things; from show posts for specific cats, subcats of a cat, etc.. BUT, I cannot for the life of me find, nor do I know the WP API well enough to do ...