Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
39 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
23 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
12 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
42 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
64 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
54 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
108 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
79 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
90 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
206 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
102 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
38 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
81 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
0answers
47 views

Taxonomy archive page not displaying multiple results

I'd like to have a filter-widget which givs me an advanced search for my custom post types. I tried several plugins: "Query Multiple Taxonomies", "Search & Filter", "Taxonomy Picker" and the ...
0
votes
1answer
60 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
217 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
15 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
101 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 ...
0
votes
0answers
43 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
68 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 ...
0
votes
0answers
33 views

Archive pages: sorted by custom field value

I'm using a custom field – entry_type – to add types to posts, for example, Gallery or Announcement etc. On my archive pages, I want to then separate out the post types stored in entry_type. For ...
-2
votes
1answer
20 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
24 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
38 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
36 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
77 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
12 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
54 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
41 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
49 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
213 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 ...
0
votes
1answer
80 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
27 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 ...
0
votes
1answer
197 views

Navigation menus not showing because of custom post type filter

I use this filter to show content from all custom post types in tags archive page function tagFilter($query) { $post_type = $_GET['type']; if (is_tag()){ if (!$post_type) { ...
0
votes
2answers
98 views

Categories to A News Page

I'm trying to use categories to get all my posts (within a category-news) to go to the NEWS page on my site. I've created the category 'news' with some posts and a 'category-news.php' file which is ...
0
votes
1answer
155 views

Archive.php, and post_is_in_descendant_category

I've got a small issue with my archive.php. I was trying to set up an If statement that displays a certain category and sub categories with a different layout & sidebar based on my theme options. ...
0
votes
1answer
112 views

Two different archive pages showing the same content

I'm trying to use Query Multiple Taxonomies with Ajax. It works with Ajax and it works without it. But unfortunately not at the same time. Basically I need an Archive page to show only the posts of ...
0
votes
2answers
1k views

How to get the custom post type from an archive page?

In my website I have three custom post types: scripts, scenes and plugins. When visiting the archive page of a single post type (i.e. by going to mysite.com/plugins) you correctly see all the posts of ...
-1
votes
1answer
13 views

Duplicating wordpress install issue

I wonder if anyone could help me with a problem that I am having. I am having a guy do some plugin/theme customization on my wordpress site and he wants to have a duplicate of the site to work with on ...
0
votes
1answer
110 views

Archive template combined with post slider and regular posts

I am trying to find the best and easiest way of modifying my archive.php template to contain slider on top which slides the 4 first posts and the rest (6) will be displayed beneath as a regular posts. ...
0
votes
1answer
1k views

My archive-posttype.php template is not loading

I'm trying to create an archive-photos.php template for my photos custom post type. The problem I have is that when I view the page it is the archive.php template that is used, not the ...
0
votes
0answers
12 views

Split archive results in rows and columns [duplicate]

Possible Duplicate: How to mark every 3rd post I want to redesign my Archives template, so I want do display posts from archive in 3 columns and 6 rows. I have the following code: ...
0
votes
2answers
581 views

Why is the custom taxonomy archive page redirecting me to a single post? [closed]

I have a custom taxonomy, artist, that is related to three custom post types: videos, posts and letters. I have an taxonomy-artist.php template that should display the archive for a given artist. ...
0
votes
3answers
4k views

Archive template for taxonomy terms

I have registered a custom post type [equipment] and have a taxonomy of [equipment_type] within the taxonomy I have parent and child categories. For example: Equipment (Custom post type) Equipment ...
1
vote
1answer
238 views

Custom Post Type Archive.php

I have a custom post type called 'camps', and in there I have different categories ie derbyshire, staffordshire etc. I have created a template archive-camps.php for this. archive-camps.php works ...
0
votes
1answer
356 views

How do I override the default number of items to be listed on an archive.php page? [duplicate]

Possible Duplicate: How To Modify The Loop in archives.php To Have 11 Posts Per Page and CSS Styling I am using the following code on my archive.php template to list a few fields from a ...
0
votes
1answer
117 views

Using post type archive page for taxonomy archive

I have separate post type archive and taxonomy archive page. eg. archive-product.php and taxonomy-price.php. So when i goto example.com/product/?price=100 it redirect to example.com/price/100 and ...
0
votes
1answer
63 views

Archive custom template from search

I'm using this code for a dropdown of categories. On selection of the dropdown the desired category is displayed using the archive template. I cannot for the love of me get the template hierarchy to ...
0
votes
1answer
627 views

How do I create an alphabetically organized glossary of links?

Here is the kind of archive page I am trying to reproduce for my client: http://www.catwalkyourself.com/page/ready_to_wear/autumn_winter12-13/rtw12_13.php As you can see, it is a list of ...
0
votes
1answer
254 views

One of my pages uses the archive.php template only. Why?

I created a page and experimented with Custom Templates. Suddenly I noticed that this page started using the archive.php template and no matter which Custom Template I assigned to it, it continues ...