Browsing Category

Wordpress custom-field

How to show only tagged CPT categories / taxonomies for a custom post type?

I am using this code and its echoing all the taxonomies available for the particular CPT. I am calling this in a single-posttype.php to show

Custom post excerpts based on page ID?

I want to display the blog listing (excerpts) with data from ACF fields. There are no custom post types here. All are standard posts. I

How to list Category list in ACF Pro’s Select Field to choose from

As the title says I want Advanced Custom Fields Plugin to create a Select field which populated with current categories on the site. The exact

check_admin_referer not working in custom meta box for custom post type

In my callback function (the one which output HTML for forms) of add_meta_box, I am using wp_nonce_field( 'uniqueid', 'my_nonce' ) Now in saving function, I

Unique Registration ID with prefix?

is there any way to add a prefix for new user registrations? Gravity Forms has a solution for unique IDs, but i need the woocommerce

Managing pool of items

I have a pool of coupon codes to give out to clients, so my question is how to approach building this? there are 2 concurrency

Advanced Custom Fields for Header that are Editable from a Page

I am trying to make a phone numbers section in my header as editable – currently with my code below the phone numbers only show

Odd PHP Code To Display HTML Of Meta Box

I’m trying to use add_meta_box() to create meta information for my custom post type. So far it’s fine, but I don’t understand why the $callback

Sort custom post with custom field loop not working

I am working with wordpress where i have a sort listing. There is a custom field in my post called “value_event” which date format yyyy/mm/dd.

Sort custom post with custom field not working

I am working with wordpress where i have a sort listing. There is a custom field in my post called “value_event” which date format yyyy/mm/dd.

Hiding custom fields when content is empty

Having a hard time figuring this out. I created some custom checkout fields for my woocommerce checkout page. Then, I made the custom fields display

Custom post type search filter to slow

searchresult.php ‘properties’, ‘orderby’ => ‘menu_order’, // we will sort posts by date ‘order’ => ASC, // ASC или DESC ‘posts_per_page’ => -1, ‘paged’ => $paged,

Custom post type and ACF search filter is to slow

searchresult.php $args = array( 'post_type' => 'properties', 'orderby' => 'menu_order', // we will sort posts by date 'order' => ASC, // ASC или DESC 'posts_per_page'

register_form, custom field not submitted on first try

I seem to have a problem with a custom field on the register form (used in conjunction with WooCommerce) function my_account_send_form_post_data( ) { $email =

Create Inclusions and exclusions

I am creating a plugin for booking tour packages. I have created custom post type packages and some meta data for that, now I want

Is it possible to sort the post based on a custom field?

Is it possible to sort the post based on a custom field? I have a custom field called “value_date” where I enter a date e.g

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising