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

type

Home/ type

Archive Page for Custom Post Type is not Working

Question
I have registered a custom post type "tutorials" with the following snippet. <?php /* Template Name: Tutorial Archive */ get_header(); ?> <div id="content"> <div class="archive-page"> <?php $temp = $wp_query; $wp_query = null; $wp_query
0
customization, pagination, posts, type Iftekhar Bhuiyan 3 years 0 Answers 57 views

‘Invalid post type’ error when importing from one site to another

Question
Our existing corporate site was developed by a 3rd party vendor. I am in the process of creating a new version of our site, in a new WP instance. I need to export the 'News' articles, from the current site, to the new DEV site. My issue is I cannot find, on the current site, where the 'News' cust
0
customization, errors, import, posts, type Brian 4 years 0 Answers 89 views

wp_query ‘s’ parameter does not work with custom post type

Question
I have a custom post type 'property'. I am trying to make a search for it, but it does not work with wp_query parameter 's'. $wp_query = Wp_Query(['post_type' => 'property', 's' => 'test']); It works fine with other Wp_query parameters, like this:
0
customization, posts, search, type, wp-query Tomas Cerniauskas 4 years 0 Answers 131 views

Display custom post types by date field

Question
I have a custom post type that is simply titles with a date field. I want to display these posts in a list in order of this date field (not date posted). So simply: -- Sample date Event title 1 Event title 2 Sample date Event title 3 Event title
0
customization, date, order, posts, type user1473358 4 years 0 Answers 95 views

Redirecting wordpress search query to archive page

Question
My sincere apologies for asking this question as I am quite certain that this is a relatively easy topic, unfortunately my many hours of searching got me no satisfying results. I do not mind researching this further so any links to relevant posts are much appreciated! The problem
0
customization, forms, posts, search, type Martijn 4 years 0 Answers 93 views

Metabox types list

Question
For example, in below code snippet, there are some types for custom metabox input fields such as text and textarea.So, I want to learn other types.I searched it on google also w.se.com but I couldnt.For example, I want to learn e-mail type. array( 'name' => 'Instagram',
0
metabox, plugin-development, theme-development, type I dont believe you 4 years 0 Answers 82 views

How to force one column layout on custom post type edit page?

Question
I've created a plugin using custom post types and I need to force the default two column post page to a single column. At the same time, the Publish metabox must move to the bottom. I need to do this via the functions some how. I have some solutions from WPSE, but the onl
0
custom-post-types, customization, metabox, posts, type Armand 4 years 0 Answers 107 views

How to get 2 or multiple custom post types in wordpress functions.php

Question
I using the below code to get modified data for the post, but I need to get the same modified post for my other custom posts. For example, it works if i change post to test( my custom post type name)"if( 'post' === get_post_type() )", but i need for both test, post and movies etc.
0
php, posts, type herbals fresh 4 years 0 Answers 89 views

Display Post from Custom Post Type with Shortcode

Question
I've created a custom post type for locations on my site and I would like to display each post in full with shortcode. I'm quite new to creating shortcode and I'm struggling to wrap my head around it. I want to display the post by slug like this: [stefan_location slug="Aspley"] but I can't get it
0
customization, posts, shortcode, type tash 4 years 0 Answers 106 views

Meta query for custom post type ignored in main query

Question
I looked through the interwebz but couldn't find a solution. I am creating a website with custom post types where posts also include custom post meta (through ACF). I am creating an archive file and I want to implement some filters (filter post by category and two different custom
0
custom-post-types, meta-query, posts, query, type Kacper G 4 years 0 Answers 76 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.