The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
10 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
17 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
43 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
20 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
2answers
41 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
16 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
49 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 ...
0
votes
1answer
33 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 ...
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
16 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
17 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
71 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
31 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
30 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
32 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
2answers
40 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
21 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
33 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
29 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
24 views

Display Number of Posts Not Working

Below is my markup for archives. When I set the number of posts to display in archive pages in Settings > Reading, my archives are not impacted. What am I doing wrong? <?php get_header(); ?> ...
1
vote
2answers
20 views

Custom Taxonomy Archive not displaying entries

I have CPT 'movie', with the following taxonomies: genre, director, and actor. The code used to register these is this: http://pastebin.com/yJ9XHCDk I have an archive movie page working using the ...
0
votes
1answer
31 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 ...
0
votes
0answers
19 views

Loop through posts and get the list of all terms for a taxonomy [duplicate]

I'm within taxonomies (a) archive and I want to loop through all the posts and retrieve a list of terms for taxonomy (b) then echo that list out with no duplicates. Here's what I have so far in my ...
0
votes
1answer
34 views

How do I display two separate taxonomy archives for two post types that share a single taxonomy?

I have a custom content type, "products", which shares the category taxonomy with posts. We're using posts to discuss and review products. The idea is to have two separate URLs: ...
0
votes
1answer
34 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
0answers
28 views

Date Archive pages 404 error

I am building my own theme and realized that all date archive pages (all date, month and year) are throwing a 404 (its a locally hosted site). Its not theme specific as I thought earlier, because I ...
0
votes
0answers
33 views

Load new Posts on Scroll on Page

See this reference site: http://alwaysjudging.com/archive/ It's loading new posts on scroll down, similar to Infinte Scroll plugin. (But I'm unable to get the Jetpack Infinite Scroll plugin to work on ...
1
vote
1answer
27 views

Archive for CPT

I've created a CPT & used the default category & tags instead of creating new taxonomy for those CPT. Now while generating the 'list all'/ archive page, my query is returning only the posts ...
0
votes
0answers
21 views

Transfering static site to wordpress and retaining category by month paginations

Firstly apologies for the long post. I have a project in the works to transfer a static html new site into a cms. I've chosen wordpress, because it seems to be the easiest to maintain and manage from ...
0
votes
0answers
65 views

How to display list of taxonomy terms of all posts in taxonomy archive?

I have 3 separate taxonomies, all with their own terms. When a term is clicked and the user is taken to that archive, I want to display a list of all the taxonomy terms associated with all the posts ...
-5
votes
1answer
45 views

custom sort posts in archive/taxanomy page

I want to override the default sort order of posts in archive and taxonomy pages. what hooks should I implement?
1
vote
1answer
24 views

Get list of years when posts have been published

I want to create a list of posts from a Custom Post Type and add some filters the user can click to filter the list. I added filters for all the categories by using the get_terms() function. Now I ...
0
votes
1answer
49 views

Taxonomy archive template that shows posts from more than one taxonomy

I've had a fair amount of experience with WP, but this continues to make issues and could be on the brief for my next website. I'm looking for a "good" way to accomplish this task; the post screen ...
0
votes
3answers
122 views

Show only post titles in archives?

I'm using the Twenty Fourteen theme and think it's stupid to show full posts in the Archives section. I want just the titles to be displayed for easier navigation. Even removing the dates would be ...
0
votes
2answers
36 views

Media (images, videos, etc.) not showing on Category page

I'm having a problem where media isn't showing up on the Category page. (It's actually the exact same problem that's described in this WordPress.org forum post, but it's so out of date that the ...
0
votes
1answer
40 views

Output yearly archive within a page

I've almost got what I want working from cobbling bits but I need a bit of help finishing it up. What I'm trying to do is output the following (for a custom post type) within a page template (not a ...
0
votes
0answers
30 views

Modify taxonomy-$taxonomy-$term.php to include posts from all blogs in multisite

How should I modify the taxonomy-$taxonomy-$term.php template to include posts from all sites in the network? I've been looking into the query_posts method from the Custom Queries Codex article, and ...
0
votes
2answers
42 views

Create a custom URL for blog archive

I'm playing around with a test site and I've set up a static page as home page. Now I want to make a menu item called Blog - with url example.com/blog/ - where I'll list the latest articles. I made a ...
0
votes
1answer
34 views

Pages, Custom Posts & Custom Taxonomy defining slug structure

I'm struggling to set up the structure of my wordpress site correctly so that the slugs, work correctly. The page & custom post setup works fine and is as follows: Archive for fruits (page): - ...
0
votes
0answers
26 views

Create a link to a yearly archive of post for a custom post type?

I've got a custom post type, and I'm building an archives.php for it. I'd like the archive page to link to sub-pages. Each sub-page would list the CPT's by year. How can do this?
0
votes
1answer
25 views

Conditional statements based on custom meta value in category archives

Here's what I need to do. Insert a short Javascript in the footer using wp_footer. No problem there for single posts, I have this. add_action( 'wp_footer', 'prefix_wpfooter' ); function ...
0
votes
0answers
18 views

Add comments to any of several posts in an archive listing?

I just had a client ask for this and I am not sure it is even possible (or doable in anything close to staying in our time constraints/budget). I have a custom post type that only consists of very ...
0
votes
1answer
52 views

Wordpress monthly archive category specific

I have built a specific page to display only the posts in specific children categories. I want to have the monthly archive on the right hand side but only relating to those specific children ...
0
votes
1answer
49 views

Custom loop in addition to default on archive page

I'm trying to create an interface on the admin that will allow our authors to select top resources to place as an aside on our archive page. I'm trying to add a loop in addition to the original query ...
1
vote
2answers
100 views

Date archives for custom post type

I have seen many questions/posts regarding this, but have yet to find a decent solution. Basically I am trying to do what wp_get_archives does, but for a custom post type (personally I am unsure why ...
0
votes
2answers
33 views

Post-Archive like a page in a specific subdirectory

I have a webpage with posts which belong to specific categories (eg projects). I want to show the archive of a specific category like a page. Status quo The site structure is similar to this: / ...
1
vote
1answer
74 views

What's wrong with my date_query?

It's WordPress 3.9 "Smith". I'm trying to implement a new Archive page as per the suggestion of @Milo. $categories = get_categories( $cat_args ); //it's NOT important for the Q, as it's fetching ...
0
votes
1answer
31 views

How to show months in wordpress archive page?

I am a newbie to wordpress and have no knowledge of PHP. I want to show the months in my archive page, in this manner where, it shows the starting month when i my first post was made and continues ...
0
votes
0answers
11 views

Calendar active state when on a post?

I am using the calendar as navigation for a blog. My main issues is when you click a day from the calendar: 1) it goes to that day's archive page instead up first post of that day. 2) when you get ...
1
vote
1answer
26 views

Get IDs of posts currently visible on archive

This probably is a easy one for many. And also probably is already answered here, but I don't know how to search for it - so sorry I did search but not found anything. I like to get the contents of ...