The tag has no wiki summary.

learn more… | top users | synonyms (1)

-1
votes
2answers
124 views

query only direct child and sub-terms of a current term archive

i'm using woocommerce on my theme, and it comes with a proudct_cat term as a defualt catagory on the shop proudct. I need to show on every proudct_cat archive its direct child and the sub-tems, but ...
0
votes
3answers
290 views

Force Wordpress to Show Pages Instead of Category

I am trying to create a SILO structure on one of my WordPress site. I have always checked this option on Yoast SEO plugin "Strip the category base (usually /category/) from the category URL." So my ...
0
votes
1answer
134 views

2 loops in archive.php (one for each category)

I have a custom post type set up for a news blog on a site I'm building, the custom post type being blog consisting of 2 categories, blog-image-post ID=3 and blog-text-post ID=4. I want to loop each ...
0
votes
2answers
88 views

Archives and category of authors

Description of the problem: I should make a blog with, let's say 4 authors (may be more). The blog shoud have a page 'blog-page-1' (without sidebar) on which will be the last post of each author and ...
1
vote
2answers
134 views

orderby meta_value breaks taxonomy term archives

I have a People post type with a Person Type taxonomy (e.g. "Staff"). On the Person Type Term Archive pages, I want to sort by a "Sort Name" custom field. To do so, I'm using a pre_get_posts call: ...
0
votes
2answers
824 views

Custom post types archive redirect

I had a custom post type with slug as (sometext) which I changed to (someothertext) And it works great So for example : my posts with urls like http://localhost/sometext/innerposts gets ...
0
votes
1answer
54 views

One post on frontpage and an archive page

I'm developing a theme using the underscores starter theme and I'd like to have a frontpage with just the last post and pagination, and then a separate page, with the "archive" slug, to show all posts ...
0
votes
1answer
373 views

Archive page showing wrong month

My site's archive page is echoing wrong Month name. Though the URL is 2012/11/, it's echoing the month December 2012. I found nothing wrong with the code: <?php if ( is_day() ) : printf( __( ...
1
vote
1answer
666 views

wp_get_archives() display months even if there is no posts

Hay, the example on the wp_get_archives documentation page shows how to show a list of all the posts, by months. However if there is no posts for a month, the month doesnt get displayed. So an ...
0
votes
2answers
93 views

Sorting past events by month

I have a site that lists upcoming events and past events. In my category-past-event.php template, this is how I've gotten past events appear in descending order (from most recent to oldest): ...
0
votes
1answer
270 views

how to show only particular category post in archive widgets

i want to display blog category month list in archive widgets. but i i can't figure out yet how. i have more category like review, gallery etc. normally show all month list in archive widgets but i ...
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
124 views

Exclude 2 in 3 terms of A Taxonomy from all Archives

I have read this post: Include and Exclude Taxonomies From Archives & Feeds Using 'pre_get_posts' And then I have used that function to my theme. My Taxonomy (tinh-trang) had 3 term: ...
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 ...
2
votes
1answer
277 views

Custom comment status possible?

I am a newbie to WordPress and I have some experience in PHP programming. Recently, I have a lot of comments for my WordPress blog and I wanted to manage them in better order. I wish to "archive" ...
0
votes
1answer
46 views

Display in category ( taxonomy) a number of post that I want

How can I display a number of 20 posts in my Page Archive (Taxonomy Archive)? For example: in wordpress settings in Reading I use: Blog pages show at most 10 posts. This works in arhive page, but ...
3
votes
1answer
578 views

Neither the_excerpt() nor the_content() works properly?

I'm wondering what should be used in index.php (post listing page): the_excerpt() or the_content()? Twenty Thirteen uses the_content() but this prints entire content unless <!--more--> exists ...
-1
votes
1answer
608 views

how to show all post with its contents

i have "favorite-film-video-songs-super-scene-climax" category and i want to show all of the post with contents(which is youtube video) for every post. in below link i want to show all post with ...
1
vote
1answer
136 views

How to add subcategories to the blogroll?

I'm looking for a way to create subcategories in my blogroll... For example: Downloads -> Windows -> Mac -> Linux I want to create a real page (not a widget) where the main categories and ...
1
vote
1answer
107 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
1answer
64 views

Search tag within category

How do I search a tag within a category? like if a user is viewing a post that belongs to category "Romance" and the user clicks on one of the tags like for example "blonde" it should list all posts ...
5
votes
1answer
2k views

How to display the status of users (online - offline) in archive.php

I am using the code the user status How to check if a user (not current user) is logged in?. On page profile of the author it works well (thank you guys). But if I put on the archive page, at the ...
0
votes
2answers
719 views

why the archive of custom taxonomy term shows nothing?

I have a custom post type for which I have created a custom taxonomy called 'tag'. taxonomy-tag.php file looks like this: <?php get_header(); ?> <?php $term = get_term_by( 'slug', ...
0
votes
2answers
556 views

Displaying a custom field in Category Archives

I am using WordPress 3.5.1 / Twenty Twelve Theme. I would like to display a custom field in my Category Archives. I have the following custom field working in my single.php , it displays a custom url ...
0
votes
1answer
90 views

How to show multiple post types on taxonomy archive?

On a taxonomy archive, how does one create multiple loops for different post types that share that taxonomy? I'm using taxonomy-themes.php so that it applies to all three of the terms in the 'themes' ...
0
votes
1answer
443 views

dynamically filter by category via sub-menu

I'm trying to figure out if it's possible to dynamically filter my custom post types by category via a sub-menu I have set up. So I've set up a custom post type: news and enables categories that I ...
0
votes
1answer
42 views

Menu's breaking, now showing all page links on site

There's something quite odd happening on a site I'm working on I can't figure out why at all. I have a custom post type set up for news and categories so the user can select what type of news it is ...
0
votes
1answer
30 views

adding my posts (author posts) in menu

I want to add "my posts" to main menu. By clicking on this, each logged-in user will see his/her own posts. I don't know how the link structure should be to add on the menu.
0
votes
0answers
45 views

Use global query parameters in new WP_Query for presenting separate results in tag archive

wp_reset_postdata() does not seem to work here. I'm building a custom tag archive template, which should feature results from different post types in diferent boxes. <?php $query_stringa= ...
1
vote
1answer
670 views

Archive listing of posts by publish year (multiple years)

I have an archive page showing all blog posts (in a specific category). With a growing number of posts, I want to separate these by publish year. For example (simplified), I'd like the following: ...
0
votes
1answer
194 views

Show all 12 months regardless they have posts

I need to show all months for a year for an archives page. All 12 months must be shown regardless of whether or not there are posts published for a month. Like this: Year: Jan Feb Mar Apr May Jun Jul ...
5
votes
1answer
466 views

WordPress Posts By Date/Day?

I want to output on the homepage the posts from the lastest 3 days. Like this: 30/03/12 post 1 post 2 post 3 29/03/12 post 1 post 2 post 3 28/03/12 ...
0
votes
0answers
77 views

Display results from two Custom Post Types in page template

What I have is Created a new page with slug monuments Created a template file at my theme's folder that will show all records with post_type monument. [UPDATE] 3.I forgot to mention that each ...
0
votes
2answers
285 views

How can I make a page for post formats (specifically quotes) in wordpress 3.5

I am trying to create the ability for the end user to add quotes (testimonials) as posts. So far, so good. I have enabled the 'quote' post-format in my theme. So the ability exists to enter said ...
0
votes
1answer
188 views

/tag/tag_name/page/2 gives a 404 error

I created my own template for list of entries for certain tag (tag.php), It will shows up 10 entries, and with Previous & Next link. <?php $paged = get_query_var('paged') ? ...
1
vote
2answers
115 views

'Archive' folder for posts and pages

Of course there is a Drafts section in Post and Pages, but how would I make an Archive section - which would contain previously published posts and page?
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
2answers
105 views

Archive pages have smaller font then the rest of my website [closed]

I have my awesome wordpress website here that I have been working on for weeks now and all is great with it except for one thing! For some reason when you try to look at the archives pages the whole ...
0
votes
1answer
58 views

Display CPT index page as front/home page

I'm building a website that's sole purpose is to display other websites (defined in the CPT). Think of it as a portfolio site for a company's digital assets. I have already defined the CPT and added ...
0
votes
2answers
238 views

How to hide a post from archives

I want to hide the WordPress post from archives page using the 'private' option. I only want the post to be hidden from archives but visible to public. How to I do it?
0
votes
1answer
186 views

How to get alphabetic listing x other posts, based on first letter post?

Let's say I have a post called "Hello World" and I am on that page... Let's say I have different posts like "Haaaa" and "Hoooo".... What I want to do is showing Haaa and Hooo in a different place (let ...
0
votes
2answers
495 views

How can I change the way dates shown in the archive widget?

Now it shows something like this: March 2012 February 2012 But I want to show something like this 03.2012 02.2012 or something in Turkish like this Mart 2012 Şubat 2012
0
votes
1answer
49 views

How to get type of archive whether it is post or date or category archive?

using function is_archive() we can know whether it is archive page or not. But if it is archive page how can i find whether it is author archive page or category archive or date archive. I have ...
0
votes
1answer
94 views

Category archive is displaying all posts rather than the specific category

Here is my loop code for index.php . I do not have an archive or category.php right now. This is very basic. $temp = $wp_query; global $wp_query; $wp_query = new WP_Query(); ...
1
vote
3answers
1k views

How do I remove unwanted pages like archive, search, etc.?

By default WordPress pushes out a whole array of pages I don’t want or need - archive, author, blog, monthly, recent posts, categories, comments, attachment, taxenomies, search, search results, and ...
0
votes
1answer
51 views

How to prevent a custom post type from using the archive.php template?

I have the following: //Jobs register_post_type( 'jobs', array( 'labels' => array( 'name' => __( 'Jobs' ), 'singular_name' => __( 'Job' ) ), ...
0
votes
1answer
580 views

How to have multiple archive pages?

I am building a site that needs pages such as News, Events, Projects and People. My question is, how should I achieve this in WordPress? Do I use custom post types? And if so, how do I have a page for ...
-3
votes
1answer
724 views

AZ Directory posts directory index

I would like to create an A to Z index of posts in a certain category. This must include a linkable directory of letters ABCDEF .... etc and a list of articles ordered by title grouped by letter. ...
0
votes
1answer
118 views

Post archive pages bringing me to a 404 page

When I try to use next_posts_link() and previous_posts_link() in my archive posts page I got a 404 error page. I'm using this permalink setting /%category%/%postname% and working well for all pages ...
1
vote
3answers
740 views

How to show a tag archive of one post type only

I have a site with multiple custom post types and taxonomies. The taxonomies are shared across all of the post types. On the archive page of the 'videos' post type, I want to show a list of all of ...