The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
27 views

Custom Post Type Settings page, choose page to display archive

So, I followed the accepted answer of this post Possible to add another setting to 'Front page displays' setting for Custom Post Type but didn't entirely work, had to compare against the ...
1
vote
1answer
72 views

Archive slider for CPT

I have a custom post type and archive page. I want to be able to use the default twentyfourteen theme slider so that the archive-cpt.php page calls the js and displays a slider only for the CPT. I ...
0
votes
1answer
18 views

Get current title of archive.php

I want to get current title at file archive.php My code : if ( is_category() ){ echo "CATEGORY"; } else if( is_tag() ){ echo "TAGS"; } else if( is_author() ){ echo "AUTHOR"; } else ...
0
votes
1answer
38 views

Can't replace the default sidebar with a custom sidebar on Custom Post Type in Genesis

I have an archive template ("archive-reviews.php") for a Custom Post Type I have created. I'd like to replace the default archive sidebar with a different one that I have created using the Genesis ...
0
votes
0answers
17 views

How to set number of posts to display in archive

I am trying to add a line or two of code to what I am using to call posts to my archive pages. I've tried a lot of things, but because I'm using a piece of code that is a little irregular, ...
1
vote
1answer
25 views

How to test pagination? [closed]

I've been building a theme from scratch so writing everything from nothing and every place I go online which teaches me how to implement pagination are mostly showing ways to make the standard ...
0
votes
1answer
21 views

Redirect or Prevent Viewing of Custom Taxonomy's Archives?

I've contacted the theme developer but never got a response back... I'm also curious to see if anyone else has done this with any theme. To give you a live example: ...
0
votes
1answer
32 views

How to create a custom template for custom taxonomy wp-tag-cloud?

I created a custom taxonomy for "Course Topics." Using the wp_tag_cloud I am able to create a custom cloud for this custom taxonomy. When you click on one of the terms in the cloud, it takes you to a ...
0
votes
0answers
26 views

Load alternate taxonomy template based off of private query_var in wp_query term links

I have multiple instances where wp_query is displaying a list of the same taxonomies term links(ALL terms). Each instance is unique because the tax query includes an AND relation with an additional ...
0
votes
1answer
78 views

Pagination problems with multiple custom post type archive pages

I'm at the end of my tether now. Really need some help! Here's the setup... I have 2 custom post types in my functions.php: // Register the events post type function events() { $labels = array( ...
0
votes
0answers
74 views

Permalink Rewrite with Archive - Archive gets 404

I have a custom post type, "toys", with a custom taxonomy, "toy_series". I wanted to get the custom taxonomy in the permalink: domain/toys/toy_series/toy-name I got that working just fine by ...
2
votes
1answer
511 views

Display only posts from referred category on date archive page

I am using wp_get_archive() in category.php. If I am on page of category=2 it should show my archives of only that category. However it is for all the categories. Following is the code for my ...
2
votes
1answer
113 views

How do I change the sql query for wp_get_archive()

I am using wp_get_archive() in category.php. If I am on page of category=2 it should show my archives of only that category. However it is for all the categories. So how can I change the query for ...
0
votes
0answers
43 views

Pagination on Custom Post Types filtered Archive Page not working correctly (jumps to the first Post)

This is my Custom Post Type "newyork": add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'newyork', array( 'labels' => array( ...
0
votes
2answers
36 views

How best to create a variation of an archive template work?

I'm still quite new to Wordpress - after a pointer or two. I've created a archive page for a custom post type of 'property'. This is set-up, working from an admin point of view, and I have a ...
0
votes
1answer
90 views

How to assign custom post template to its custom taxonomy terms

I have created a custom post type 'interview' and also created custom taxonomy 'interview_category' for the interview custom post type, that custom taxonomy have terms like students, teachers, ...
0
votes
1answer
28 views

WordPress Archives Cause Looping

I am attempting to create an archives page that would have links to authors, categories, tags, etc. I would like it so that when the author, for example, is clicked, all their posts are displayed. ...
0
votes
0answers
61 views

Page Templates Used in Custom Post Type

The same question was asked here with no real response. They claim it's not possible but I have used plugins that accomplish this. In WordPress I am having a problem figuring out how to use the ...
0
votes
1answer
49 views

Highlight archive link on single.php

exist some chance to highlight archive link in classic wp archive widget on single.php template? I have the same template for archive.php and single.php where I call <?php wp_custom_archive(); ...
0
votes
1answer
163 views

WordPress custom post type archive with description

I have a common design pattern I'm not entirely sure how to best execute in WordPress. The layout is a listing of post teasers (title, trimmed body, image) on an overview page. Let's say example.com ...
0
votes
0answers
30 views

Get custom type category from a category posts

I've been searching the way to do it but no good. The title may be confusing, let me explain my problem... I have the archive page (the main category), then I've posts inside that category and inside ...
0
votes
0answers
18 views

How can I use the archive functionality based on a custom field instead of the post date?

I'm building a product release date calender. Each post will have a custom field with the release date in it. I'd like to use WordPress's already built in archive functionality with the release date ...
0
votes
1answer
85 views

Ascending order of yearly archives [closed]

Hey there, I stumbled upon this question but I can't seem to contact the author, because I'm still too new here. I'm using this snippet on my archives.php page to display my posts sorted by years. ...
0
votes
1answer
111 views

Custom post type permalink uses archive page to display posts

I can't figure out why my custom post type page template uses the archive page to display posts. I'm pretty sure I have the right files. These are the important files, regarding this issue, in my root ...
0
votes
1answer
84 views

Display page of custom posts?

I have a custom post type, "design_asset". I am displaying them on a page template, with the loop <?php rewind_posts(); $paged = ( get_query_var( 'paged' ) ) ? get_query_var('paged') : 1; $args = ...
0
votes
1answer
369 views

Custom post type is showing custom home page, not archive page

I have a custom post type set up (two, actually) that are not displaying properly. I am hoping that it is the same issue with both post types. Here is my code for one of the post types (portfolio). ...
0
votes
1answer
208 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
1answer
283 views

Pagination doesn't function properly for archive of a custom post type set as the front page

I created a similar question about an hour ago but since then I feel that I've changed things enough so that if someone viewed it for the first time, it'd just be a confusing mess. So I am opening up ...
0
votes
1answer
447 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
1answer
167 views

How to customize taxonomy archive template files for subterms?

I have a taxonomy called "location" where I have the term "Asia" and the sub-term "Thailand". Now I created the taxonomy archive template file according to the Wordpress Codex, which is working in ...
0
votes
1answer
55 views

image class removed in excerpt

I have inline images in my post content that have classes. the classes are available as I go to single page like this: <img src="the_cource.jpg" class="myclass"> , but are removed as I look ...
0
votes
1answer
134 views

How to Add Wrapper to Infinite Scroll Javascript?

I'm using Wordpress and manually adding Infinte Scroll from paulirish on GitHub: https://github.com/paulirish/infinite-scroll/ It loads properly, but how can I add a wrapper around all my posts? ...
0
votes
1answer
69 views

Archive templates based on taxonomies

I have a custom post type, service-provider, with two taxonomies, area and service. I wanted to make a template based on the taxonomies. function template_taxonomy($template) { if (is_archive()) ...
0
votes
2answers
455 views

Use meta boxes inside an archive page template for Woocommerce

I'm creating my own Wordpress theme, and I'm trying to make it compatible with Woocommerce. I understand pretty much everything about theming woocommerce, including copying the template files and ...
0
votes
1answer
19 views

Archive posts on showing current page instead of archive

I have tried to create an index page of all my blogs on a menu link: Blog I created a new page: Blog (id:267) I copied archive.php to page-267.php Yet, when I view this page, it only shows one ...
0
votes
1answer
152 views

Organizing Custom Post Type Archive Template

Because in all my attempts to get a Custom Post Type Archive I only get a 404 Trying to organize different post-types in archive.php I'm trying to do this, in archive.php <?php /*===== Start ...
1
vote
0answers
82 views

Co-Authors Plugin Displaying Wrong Author

I'm using the Co-Authors Plugin and some posts have multiple authors: in functions.php function my_get_multiple_authors(){ if ( function_exists( 'coauthors_posts_links' ) ) { ...
1
vote
1answer
101 views

CPT: archive-cpt.php VS custom page template

I've created a CPT named portfolio. Now i want to create a page which will act as an INDEX for this CPT. Now i've two choices .... a) Make a custom template having custom WP_Query. In this way i can ...
-2
votes
1answer
21 views

Which page is for showing all the posts

I want to make a page. On this page I want to dispay all my posts (4 or 5 posts per page). This page must be the default archive of all my posts. Which file should I create?
0
votes
0answers
29 views

display Archives for specific categories

I use this function from Answer on this Question but its not work for me .. How we display Archives for specific categories here is function code add_filter( 'getarchives_where', ...
-1
votes
1answer
42 views

Limitless amount of posts in custom archive page

I want to get rid of pagination completely on my custom archive, I want everything on 1 page. How can I do this? Currently I'm getting my posts with: <?php query_posts($query_string . ...
0
votes
1answer
37 views

Displaying categories items among posts

I'm making a website with lots of custom posts as well as custom hierarchical taxonomies. Default index (archive) page is made of bricks with photo, title and excerpt from posts. And here comes the ...
0
votes
1answer
101 views

Use different archive template for plugin

In my blog, I'm using a plugin for an encyclopedia. Unfortunately, the plugin uses the archive template from my blog. How can I use a different page / template for the encyclopedia? Here is the ...
0
votes
0answers
13 views

How do I automagically use <!--nextpage--> in custom page template? [duplicate]

I have searched a lot now and not found a real solution that helps me with this: I am creating a custom page template for an archive page. This (static) page will show all my blog posts ordered by ...
0
votes
1answer
67 views

How to make a custom Archive Page

For News Portals, we are using WordPress successfully. But the clients are not satisfied with the WordPress default archive. They want something different like the regular index page. So, how the ...
0
votes
1answer
45 views

Category Archive

What's is the best way to make an archive page have editable text, as opposed to hardcoding text into the template file? Here is what I am trying as per suggestion below. <?php if(is_category( ...
1
vote
0answers
69 views

get_the_term_list - Return links to edit.php instead of link to taxonomy archive template

I would like to use get_the_term_list or another function if it exists to return links to the posts of the appropriate term (which has been clicked) on edit.php instead of returning links to posts of ...
-1
votes
1answer
259 views

Wordpress 3.6 - archive.php doesn't get triggered [closed]

I made a custom theme and just created an archive.php file. When I try to access http://localhost/wordpress/?m=201308 for example it just triggers my index.php template. The link was generated by ...
1
vote
1answer
177 views

Archive template for custom post type only lists first 10

Here is my template for archive-people.com: It currently only shows the first 10 people. I'd like it to show everyone, not just the first 10 people. <?php get_header(); ?> <div id="content" ...
0
votes
1answer
29 views

listing custom post type category page

I've registered custom post type "deals" and its taxonomy "deals-category" the page site/deals/ runs the archive-deals.php fine but in page site/deals-category/travel/ runs the archive.php file! How ...