Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

custom-post-type-archives

Home/ custom-post-type-archives

url rewriting – Custom archive URL as a subfolder of the custom post type slug

Question
I have a Custom Post Type called Whatever. The slug for this CPT is whatever. By default, I can access the posts archive in the frontend at /whatever and each post at /whatever/post-slug
0
Alvaro Franz 2 months 0 Answers 0 views

How to link to an archive-special.php from a custom front-page template?

Question
It seems to me that I am trying to do something really simple : linking to a custom archive page. I'm almost ashamed that I'm struggling with this ! I already created the custom post type (books), with a template for the archive page archive-books
0
Gadget 3 months 0 Answers 0 views

custom taxonomy – add_rewrite_rule pagination 404 error on page 4 and above

Question
I am working on a site using Wordpress 6.0.2. Astra is the theme and I am using Elementor Pro. I have lots of custom post types and taxomonies. I am using add_rewrite_rule like this: add_rewrite_rule( 'thought-leadership/blog/(
0
Steve Hoare 4 months 0 Answers 0 views

functions – Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected

Question
I have several custom post types on a site where top-level nav items use archive-{post-type}.php templates of the post types. These have recently had a template problem and they now use the index.php template, instead of their archive template. This is p
0
Mike 5 months 0 Answers 0 views

loop – Best practice to display a list/archive of Custom Posts in a Page Template

Question
I often need to have a Page, whose content is editable by an editor user in admin, displaying a list of Custom Posts. So I create a Page in the admin and create a Page Template (ex : page-my_cpt.php) and run a custom WP_Query to fetch the posts
0
Max 5 months 0 Answers 0 views

filters – Is possible register two archive pages for single custom post type?

Question
I have a custom post type registered with register_post_type( 'courses', $args ); (like documentation), and I use
0
rafaelfndev 6 months 0 Answers 0 views

search – Array_search ignoring the first element

Question
I made (copy) a function to make the url of the custom post (named investigacion) by year. function tex_get_archives($post_type="investigacion") { global $wpdb; $query2 = "SELE
0
Daniel Leandro 7 months 0 Answers 0 views

wp-query and wp_get_post_terms on custom taxonomy archive page

Question
hi so I am just wondering how I can increment the pagination of a page based upon the terms found with wp_get_post_terms() rather than the post count for the page. this is the process i have: custom taxonomy archive page by default presents posts
0
mir 10 months 0 Answers 0 views

custom post types – Display All Courses in Course Archive Page

Question
I am Developing Course Management Website, I have main post type Course, under Course i have Different Taxonomies like Institution, Location, Course Type and etc.., The Problem is if one Course Selected to particular Institution that Post Displaying but
0
VigneshKarthik28 11 months 0 Answers 0 views

Getting Same Description in All the Custom Taxonomy Posts

Question
I have developed a custom taxonomy post type. I have displayed categories & inside categories posts/(products). I am getting the Post title & Image as they should be (which I add), but the descriptions of all the posts are same. I h
0
Hasnain Ghias 12 months 0 Answers 0 views
1 2
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

  • 404 error - Page not

    ...

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.