The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
23 views

Custom post type archive in sidebar widget of post

add_filter( 'getarchives_where', 'custom_getarchives_where' ); function custom_getarchives_where( $where ){ $where = str_replace( "post_type = 'post'", "post_type IN ( 'post', 'podcasts' )", ...
-1
votes
0answers
24 views

Get an archive of a specific category

I have created a widget to get an archive with the post count. The issue is, I want to display the monthly archive of the specific category blog. Here is the code I've tried to display the ...
1
vote
2answers
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?
-1
votes
1answer
20 views

List archive year - post by post

I want to do a list archive "post by post", but separated by year. Like this: <h2>2014</h2> <ul> Post 4 Post 3 Post 2 Post 1 <ul> <h2>2013</h2> <ul> Post 3 ...
0
votes
0answers
19 views

Display all posts in a four-row, three-column page

Every WordPress theme that I have ever worked with always displays these category pages in a one-column vertical layout. Seeking Help to Achieve What I am seeking and struggling to achieve is a ...
0
votes
0answers
15 views

Archive.php is not displaying tags

I have a fairly standard "if" construct to detect what archive.php should display (see below) I also have a custom post type and a custom category. When a user clicks a displayed category (taxonomy) ...
0
votes
1answer
26 views

Creating a archive for taxonomy terms, not the term results

So I am attempting to build the first page in my navigation hierarchy to choose product categories. I have a custom taxonomy called collections. I would like to create a page that loops through all ...
0
votes
0answers
16 views

Yearly Archive Page?

Is it possible to have Wordpress automatically create yearly archive pages; simarily to how it creates monthly archive pages. For example: blog/2013/07/ shows all the posts form July, 2013 and like to ...
0
votes
0answers
13 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...
2
votes
1answer
336 views

How can I get archives for specific category without category_base in the url?

I'm using this code to get archives for a specific category: function extend_date_archives_add_rewrite_rules($wp_rewrite){ $rules = array(); $structures = array( ...
3
votes
2answers
70 views

Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?

I am building a theme in which I have a post type, which will have an archive in a grid layout. You're probably thinking, "Just use the CPT archive!" Well, there are some cons to that method that I'd ...
0
votes
0answers
9 views

Combining custom taxonomy posts with default posts on one archive page

I'm trying to get custom archive posts and default posts combined onto one archive page which I have managed... sort of but I can't get pagination to work either using the pagenavi plugin or the ...
-1
votes
3answers
52 views

is_home() vs is_archive()

I have set my front page set to be a static front page, "Home," and my Posts page is set to my "News" page. When on my News page, is_home() returns 1 as expected but is_archive() returns 0. I would ...
0
votes
0answers
6 views

How to Create Category Template list Subcategory?

im have database category -Category 1 --S1 Category 1 --S1 S1 Category 1 --S2 S1 Category 1 --S2 Category 1 -Category 2 --S1 Category 2 -Category 3 How to create check in Category as: Is go to ...
0
votes
1answer
321 views

Create template for taxonomy results limited by Custom Post Type

I've got a Custom Post Type with a Custom Taxonomy set up. So how do I create an archive template to display posts from that CPT, limited by taxonomy? Here's the deal: The CPT is called Shows. Each ...
0
votes
1answer
16 views

How to create a posts archive page showing only the date and the post title

I have the following question about how to create an archive page on my website. As you can see opening this link: http://lnx.asper-eritrea.com/ Under the header slideshow I have 3 boxes, the second ...
0
votes
0answers
355 views

Query multiple taxonomies plugin with ajax, archive loading posts outside filters

I have a custom post type called jobs and within I have several taxonomies: Job type (full-time, part-time, practice, etc), Country, Job Area (design, development, etc). I'm using the plugin from ...
3
votes
2answers
501 views

Create permalink structure for one taxonomy archive per custom post type

So, I've been going crazy trying to figure this out. Essentially, I've created two custom post types, 'the_case_study' and 'the_video', with respective slugs 'case-studies' and 'videos'. I've also ...
0
votes
1answer
773 views

How to have Multiple Archives Widgets, one archive widget per category (in a different page)?

Please read the whole question before assuming this question is repeated. After one day of trying plugins and tutorials, I am convinced that there is no straightforward method of achieving what I am ...
0
votes
1answer
16 views

Permalink, links a page to the homepage

So I'm using the 'post-name' pretty permalink structure. I have a page called The Trust, the slug of this page is the-trust. But when i go onto www.mydomain.com/the-trust, it shows the the homepage. ...
1
vote
1answer
116 views

Separate DB by yearly archive of Wordpress

I have large DB of blog post I already export it by year and wanted to make archive by year doing it on subdomain, like 2012.mysite.com I stack looking for solution on internet, I wondering if their ...
0
votes
1answer
1k views

How can I use “getarchives_where” to get monthly archives for static pages?

I would like to get monthly archives for static pages. I tried to use the next code: add_filter('getarchives_where','my_archives_filter'); function my_archives_filter($where_clause) { return "WHERE ...
0
votes
2answers
452 views

Filter archive.php by custom meta

I"m trying to filter an archive page by custom meta query. I've tried using query_posts($args) prior to the loop, but it returns nothing. Any ideas? Here's what I have so far: <?php ...
0
votes
1answer
537 views

Filter the post listing for a particular category from archive month list

I have the month year archive list in my sidebar. After clicking on any month, all posts on that month is listed. Now I how can I filter the post listing for a particular category? What I mean is ...
0
votes
1answer
748 views

Custom post type archive page pagination

I have set up an archive page for my custom post type reference, where I use a query to get all posts of type reference. This works, but when I try to paginate the result, it doesn't work. Right now, ...
0
votes
1answer
285 views

How to view all posts (on site, not admin) that are uncategorized?

I had a horrible problem a long time ago that had me end up importing a backup of most of my posts. I'm now using WordPress 3.3.2 and I would like to view all of the uncategorized posts from the site ...
0
votes
1answer
33 views

Root level category, tag, author and archive pages to work

I want root level Wordpress urls to work for category, tag, author and archive page. For example right now categories pages are. domain.com/category/cat-name/ it shows posts under cat-name ...
0
votes
0answers
12 views

Custom post type plugin archive page doesn't work?

Hi i am creating a custom post type plugin. In that i have added a custom archive template and single page template. The single page template works fine whereas archive template is not working. ...
0
votes
0answers
21 views

how to make separate category term archives by post type

I've searched around, and many others are struggling with similar questions that don't seem to have been answered well. So please help reduce this misery! Suppose you've got an off-the-shelf ...
0
votes
1answer
21 views

pre_get_posts conflict with archive posts

Currently using bbPress as a forum. But now I have some conflict and archive post page is displaying instead of forum? How should I proceed? Any ideas? EDIT: Actually found the causing problem. It ...
0
votes
2answers
53 views

Increase number of posts in archive page

Currently my website archive page is showing 5 post per page. I need to set it to 100 post per page. (My home page showing 5 post per page and I don't want change it) Here is my archive.php ...
0
votes
1answer
41 views

How to display custom post types AND regular posts separately on a shared taxonomy archive?

I've looked over numerous questions and answers on problems somewhat related to this but can't seem to find the same situation or solution. I have a custom taxonomy that needs to have an archive page ...
0
votes
2answers
46 views

Custom page in archive page for certain category

In my archive page I want a certain category not to display. The rest of the code I'm adding, but it goes to a custom page The logic is like, if is category=33, then include photo.php <div ...
0
votes
0answers
21 views

Gallery image archive page

I need to create an image gallery archive page. Actually I need something like where user will be able to create an image gallery with a few images and with a title through admin panel. The gallery ...
0
votes
1answer
25 views

Taxonomy archive 404ing (not term archive)

I may have just dug too deep into WordPress lately that I am not able to free my head & don't get this working as supposed to do. I want a simple taxonomy archive listing all taxonomy terms (not ...
0
votes
1answer
126 views

Custom post type posts don't show in archive widget

I have a custom post type called 'Podcasts' but none of the posts are showing in the archive widget. Only the main query (blog posts) are being shown. I've tried adding this code below to include the ...
1
vote
1answer
17 views

Is there a better way to do headings for (all) archives?

I've been writing wordpress themes for years now and am kind of getting bored of copy-pasting the same bunch of code for archive titles. Let's say I have 1 template for yearly and monthly archives, ...
0
votes
0answers
17 views

How can I list posts in an archive but grouped by categories

In an archive of a term I want to list the posts but grouped by another taxonomy terms for example im in taxonomy archive "books" list all posts by a taxonomy term of author Author post post ...
0
votes
0answers
23 views

Archive Page Isn't Showing Article Excerpts

I'm using the _tk theme (bootstrap + _s) and in the reading form I've set the Posts page to a static page because I'm using a static front page. I've also set it to show a summary for each article. ...
0
votes
1answer
108 views

How to Fix an Archive.php That Displays All Posts?

I am currently working on developing my first large-scale WordPress powered site, and I have run into a major problem in my archive.php file. It loads all posts, rather than the categories/tags that I ...
0
votes
2answers
44 views

How to know which archive page is active

I have two custom post type name as 'product' and 'blog'. And I have also two archive page 'archive-product.php' and 'archive-blog.php'. Now, I want to know which archive page is active. Example: ...
0
votes
2answers
39 views

Using Shortcode to Grab Archive Listing, Separate by Year

Here's code I've modified to display an archive list of every month I've posted news. Each month of course links to the archive for that month. I can then include the shortcode wherever I like. ...
0
votes
1answer
37 views

Modify text after post count

On my Archives page, I list categories with post counts. I've modified the post count by removing the parentheses, wrapping them in a span that floats them to the right, and putting the word "Entries" ...
0
votes
3answers
5k views

Displaying category archive of custom post types

I am woefully late to the party on Custom Post Types and only started using them quite recently, so apologies if my questions seems idiotic, but I can't seem to find an answer to my question. I've ...
0
votes
2answers
54 views

How to show monthly archive posts?

my custom archives page is : <?php get_header(); print ('<div class="row">'); $archi = wp_get_archives('echo=0'); $archi = explode( '</li>' , $archi ); $archi_count = ...
0
votes
0answers
24 views

How to count the number of monthly archive?

<?PHP $num_cats = wp_count_terms('category'); echo $num_cats. '<br/>'; ?> I get the number of total categories from the above code. How can I get the total categories based monthly ...
0
votes
1answer
40 views

Exclude a category of posts in author template

I'm using the following author archive code: <?php /** * The template for displaying Author Archive pages. * * @package Cryout Creations * @subpackage Parabola * @since Parabola 1.0 */ ...
0
votes
1answer
49 views

Trying to hide subcategories which have categories without posts

On custom archive pages, I want to show subcategories that don't have their own posts but have sub-subcategories that do have posts. And if a child category does not have posts, I want to hide its ...
0
votes
1answer
44 views

At my posts archive page, outside the loop, get_the_id() returns the top most post's ID

I'm trying to get the ID of my posts archive page. It's set via the admin as the posts page so it already has the default Query. The template I'm using is index.php, Tried using page-blog.php but ...
0
votes
1answer
36 views

How to edit the '<— older' link on archive page in Blankslate theme? [closed]

I am using the 'Blankslate' theme for Wordpress and I edited about everything except for the older and newer links on my blog page. How can I change this links in the Blankslate theme? It isn't ...