Custom Post Types extend the WordPress back-end to support additional, non-Post content.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

“Costumize posts and pages” (price, nembres of rooms..)

Im the admin's (owner) website in the tourisme category, I want to make pages or posts with hotels, restaurant listings (list for hotels), each post in the list width some information (small ...
0
votes
0answers
22 views

Rewrite rules lead to blank page

Using a child theme, with custom post type article, trying to call a file from functions folder inside the child theme main folder (child-theme/functions), using this code in the child theme ...
0
votes
0answers
6 views

Why is this custom taxonomy page showing all tags rather than the relevant tag?

I have a custom taxonomy 'keywords' which I am using to tag my custom content type 'publications'. I have a custom taxonomy-keywords.php page, and a loop of Publications using page-publications.php. A ...
0
votes
0answers
13 views

Previous and Next comment page link not work

I have a custom post type name recipe. I've already removed slug for post: From: example.com/recipe/cake-post To: example.com/cake-post But I have problems with break comments into page: previous ...
0
votes
1answer
11 views

Secondary loop pagination on custom post type single post gets redirected to first page

I would like to output related posts on a custom post-type single page. Everything seems to be set up correctly. When I hover over my pagination links I see ...
0
votes
0answers
5 views

Show custom page template page name instead of post type archive in yoast SEO breadcrumbs

I have a custom post type named AWP Authors (slug: awp-author) and to display list of author I have a custom page template named AWP Authors Page which is used as custom template for page named ...
0
votes
0answers
16 views

URL rewriting, problem getting arguments

How can I get URL/courses/[course_name] to point to URL/index.php?page_id=127&course_name=[course_name]? The redirection works well but I can't access the course_name argument. In fact, the page ...
0
votes
1answer
31 views

Custom post type AND custom taxonomy are not connected

I have CPT and Taxonomy (code below). When viewing taxonomy term archive page, it's empty. WordPress doesn't know it has include my custom post type to WP_Query. Am I doing something wrong? function ...
0
votes
1answer
17 views

Remove tinyMCE from admin and replace with textarea

I have created a plugin wherein I have a custom post type. I am using post_content for some simple text. I do not need to offer any fancy editing or insertion of data for this field, so I looked for a ...
1
vote
1answer
31 views

Set object terms not working on plugin activation

I am trying to create a couple of custom posts and set a custom taxonomy term to it on plugin activation. I am using the register plugin activation hook to do it. The posts are created properly, but I ...
7
votes
2answers
510 views

What is singular.php?

From 4.3 we have a new template, singular.php. I tried to understand what is it, but I didn't get it. :) The page.php for pages. The single.php for every post types. If we have single-[post-type].php ...
0
votes
0answers
11 views

Display Authors Comments on Profile Page

Hi I am trying to display a authors comments on their profile page (author.php) however both codes I tried, seem to display everyone's comments. Also the second code method is suppose to link to the ...
0
votes
1answer
17 views

Generating and downloading files with WP API

Lately I was challenged to implement functionality that would allow users, editing specific custom post, to download json file based on meta of that post. I finally managed to complete the task (well, ...
1
vote
1answer
27 views

Am I using the flush_rewrite_rules function in the right place?

Hello dears I'm writing an admin panel for my new WordPress plugin base on the WordPress Settings APIs. I am defining a field for changing custom post slug from this admin panel. After the custom ...
0
votes
1answer
14 views

Custom Post Type with Configurable Sidebar via ACF

I am using a custom post type (CPT) trainings on one of my client's sites. I've also added a CPT called sidebars, which can get linked into trainings or pages via the "relation" field type. To get an ...
0
votes
0answers
13 views

Cannot use pages created on WP

I am quite new to WP and I have recently taken over a development project of a page that I really don't understand quite well due to the weird options that the previous developer took. Unfortunately I ...
0
votes
0answers
23 views

Pagination of Custom Query inside a Shortcode on a Custom Post Type Page (singular)

I've done dozens if not hundreds of searches regarding my problem, but didn't find a solution anywhere. I really hope you can provide me a solution, that would be great! Thanks for reading. Heres ...
0
votes
0answers
17 views

Taxonomy name in the URL [duplicate]

So I have a taxonomy of Clients linked to two custom post types (Press releases & Case Studies). What I want is the URL of a Press Release or Case Study post to have the client name (taxonomy ...
0
votes
0answers
6 views

Custom Post Type Url with Custom Fields

I have basically the same issue as in this question: Using Custom Fields in Custom Post Type URL But can't seem to make this working for me. What I have: A custom post type called 'hebergements' ...
0
votes
1answer
28 views

Menu disappears with custom post type link

I’m working with Genesis Theme for a while but never got any problems:) This is my first big issue and I dont know how to solve it. I’m making a new website with Custom Post Types and WP All Import ...
0
votes
0answers
19 views

Next_post_link not working when I try to change text

I am using the following code to navigate through posts within a custom post type. Which is working absolutely fine. <div class="prev-item"> <?php previous_post_link(); ?> ...
-1
votes
0answers
19 views

Country specific stats [on hold]

I love the fact I can see how many countries view my blog but I can't get further insights aside from the country and number of visitors. Is there a possibility or another app which would allow me to ...
3
votes
1answer
785 views

Random post, once per day

I have a custom post type 'quotes' and I would like to display a random entry on the homepage each day. This is the code I currently have to display the content: <?php query_posts( ...
0
votes
0answers
14 views

Adding filter menu to admin custom type list to filter by custom field values having issues

I've been working on this for a bit and am having some difficulties because I can't understand for certain what is going wrong and why I'm getting the error that i am. It's hard to tell if it's a WP ...
0
votes
0answers
14 views

Help understanding custom post type and children

We are considering restructuring our Wordpress site, and I'm trying to better understand how to use custom post types and (possibly) child posts to better organize and control content. The site has ...
1
vote
1answer
36 views

Custom taxonomy & post slug permalink

I have a custom taxonomy and a custom post type. I'm aiming for the following permalink structure: {custom taxonomy}/{custom taxonomy term}/{custom post slug} Or, at the very least, {custom ...
0
votes
1answer
27 views

How to delete comma from the end of results? [on hold]

I use ACF advanced custom field to add a custom field "authors" to "articles" post type. Authors field is a relationship field which relate Articles post type with Authors post type. I want to display ...
0
votes
0answers
14 views

How to display most visited posts of a certain category of custom post type?

this code display some posts of a certain category (pop) of my custom post type (songs): <ul> <?php query_posts(array( 'post_type' => 'songs','songs_cat' => 'pop' )); ?> ...
0
votes
0answers
9 views

Post Rank on Single Post page based on custom field issue

As per my previous question. Post Rank on Single Post page based on custom field. All working fine but apart from top 100 posts singles posts display Rank #1. It should display Not ranked.
0
votes
2answers
22 views

Showing only one category on portfolio page BUT filtering remaining categories with Isotope

I have built an isotope portfolio Wordpress theme which so far is working perfectly: Anything posted in the custom post type 'portfolio' shows on the homepage and is filterable by the ...
0
votes
1answer
32 views

How to call custom single post?

newbie here playing with php stuff, wanna learn. So the problem is. I have created custom posts and data from those is shown in a widget. Now i want to create custom single posts for those custom ...
0
votes
0answers
9 views

Allow subscribers to view pending

I am looking for a filter or action that can allow subscribers to view single pending posts. Is there any such filter available?
0
votes
1answer
21 views

How to get xml file for a single post type?

Having a custom post type "Articles" with custom taxonomies "volume, issue, authors, Keywords ... etc". I need to add a button on the single post type front-end to let visitors download an xml file of ...
0
votes
1answer
27 views

display custom post type in widget aera

I am using https://wordpress.org/plugins/custom-post-type-ui/ plugin for custom post types. Now I need to display contact information in my footer area, email, phone num , address etc. For this I have ...
0
votes
1answer
21 views

How to use TOC with ACF?

I'm using ACF advanced custom fields plugin to create custom fields for my CPT where i replaced the content editor of my CPTs with a custom Wysiwyg Editor field (field name: full_text) from ACF in ...
0
votes
1answer
12 views

get children from current variable (taxonomy) via shortcode

I am working on a portfolio site and I need to modify this part. It is a filter of categories, placed via a shortcode. I want to show only the children categories of the selected category of my ...
0
votes
0answers
20 views

Structuring 3K pages in Wordpress

I am about to convert an old site that have approx. 3000 pages to WordPress for a museum. Rather minimalistic layout: navigation to the left, a main column and a sidebar. Since almost all material is ...
-1
votes
2answers
23 views

How to query posts by category with the_title();

Im have a little issue querying a custom post type by category using the_title(); The reason why im doing it like this is because the title is the same as the category name. $args = ...
1
vote
1answer
8 views

Default post tab showing twice in admin bar

I have to re-register WordPress default post type to change the post slug to "blog", changing permalink structure was not worked for me as it rewrite custom post types slugs also. So I used below code ...
0
votes
1answer
18 views

List Taxonomy Terms based on another Taxonomy

I have a custom post type called Resources. Resources post type has two different taxonomies associated with it, Resource Types and Resource Tags. Resource Types sets the format/type of the resource ...
1
vote
0answers
20 views

Custom Post Types hierarchy and rewrite

I've been around this problem for 2 days, googling and experimenting with no avail. I have this Custom Post Type name "programas", and a page with the same name. The page "Programas" lists all the ...
0
votes
0answers
20 views

WP All Export + Realhomes Theme -> Full Image Path

Second challenge for today :P I'm using WP All Export + REALHOMES Theme for Wordpress in localhost. I'm facing some issues: When adding pictures to a property (post), in this theme you need to use ...
0
votes
1answer
32 views

Show Templates in Custom Post Type Editor

I know I can use templates for my custom post types like this: http://codex.wordpress.org/Post_Types#Template_Files But I would like to have a dropdown menu to choose a template, like that when you ...
2
votes
1answer
25 views

Disable Single Post View for Specific Taxonomy on Custom Post Type

we have a somewhat unique problem with a specific Custom Post Type that was developed for a client. It basically boils down to a need to disable the single post view for any posts that have been ...
0
votes
1answer
35 views

Custom Post Types and Removing Slugs - should we do it?

I've run into issues trying to remove my custom post types slugs and I've read other questions on here from people with the same problem. We don't want that slug in our URL! But the solutions to this ...
0
votes
1answer
17 views

Generating an email when a file is uploaded in dashboard

I have a file field in my CPT. When an admin uploads a file into this field, I need to generate an email. Is there a simple way to do this, or do I have to create a plugin?
0
votes
1answer
11 views

How can I list all the categories under a Custom Post Type (taxonomy)?

So I have created a custom post type and under that taxonomy named "Category" which serves for categories. How can I list all the categories from there?
0
votes
1answer
39 views

ACF repeater field usage

I have a Custom post type "event" it has a repeater field "event_session" that has 4 subfields "session_start", "session_title", "session_description", "session_speaker" (a post object relationship ...
0
votes
1answer
22 views

Can't seem to filter wp_query by current category ID

I'm querying a custom post type ("donor") and would like to list them grouped by category (a custom taxonomy for this post type), with the category title then all posts for that category. After much ...
0
votes
1answer
13 views

call_user_func_array() error after moving to another server

I've just moved my WP site from one server to another and my custom post type plugin is causing the following error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, ...