Skip to main content

Questions tagged [custom-field]

Custom Fields are fields that can hold arbitrary extra information known as meta-data.

0 votes
2 answers
43 views

fetch from an external api call and display results in page

I have placed my external api call inside the functions.php file in the server and I created a shortcode for the api call. I'm familiar with React and I was expecting Wordpress to be somewhat similar. ...
bart lu's user avatar
0 votes
1 answer
34 views

What is the easiest way to create a custom field archive?

So, here is the issue: I am using a plugin named User Submitted Posts, and it works great on its part. However, I still want to have that user content page the Twenty Twenty Four theme has by default, ...
Grond's user avatar
  • 1
0 votes
0 answers
32 views

I am trying to add form using ACF plugin and acf_form() function, but my user fields dont show up properly

I am new at wordpress, so i am very sorry if this is a stupid question, but anyway... I am trying to create form on frontend to add my custom post types with custom fields which i created using ACF ...
Tasha Yan's user avatar
0 votes
0 answers
17 views

How to hide a field on the frontend of a Buddypress page by field ID according to user roles and login status?

Not sure if this is the right place to post this or if I should use stack overflow. I can post it elsewhere if needed. I am not a developer. I have very basic understanding of CSS classes (which is ...
I have many questions's user avatar
1 vote
1 answer
30 views

Many CPT is conflicting of the custom date

How can I fix the date with multiple Wordpress CPT date? An example, the custom post "John The Man" on "Canada" CPT the birthday is "Thursday 05 May 1960". How can I ...
Oldie's user avatar
  • 11
0 votes
0 answers
35 views

Custom fields - get_post_meta giving null

I have in the heder.php the following snippet: <?php $schema = get_post_meta(get_the_ID(), 'schema', true); if (!empty($schema)) { echo $schema; } ?> And in some posts I have the custom ...
Pikk's user avatar
  • 279
0 votes
1 answer
26 views

WP_Query not using relation key as expected and not producing any results

I have created a custom post type service-provider with custom taxonomies region and service-category - By itself, this search works as expected BUT I want to also search on an ACF field. I have an ...
php-b-grader's user avatar
1 vote
0 answers
63 views

How to conditionally change template based on ACF field in WordPress 6.5 with FSE theme?

I'm currently working with WordPress 6.5 and using a Full Site Editor (FSE) theme. I need to dynamically change the template of a page based on the value of an Advanced Custom Fields (ACF) custom ...
Caribou's user avatar
  • 11
0 votes
1 answer
10 views

Custom fields empty after refreshing page

I have added some custom fields to the Gutenberg editor, the purpose is getting these custom fields loaded in the custom-post-type. Thats is all working, I was able to get the custom-fields in the ...
Brango's user avatar
  • 1
0 votes
0 answers
22 views

Problem with custom user fields default value and retrieval

I created 2 custom fields for users on my site, a Company name and a checkbox for whether a user has download access or not. Here is the snippet for the functionality: add_action( 'edit_user_profile', ...
Miroslav Kazimirovic's user avatar
0 votes
2 answers
40 views

how to compare date meta value in jet smart filter Date query?

trying to compare meta value between today and next 7 days, tried this in value field %today%, %str_to_time|+ 1 week% but its not working.
vikram's user avatar
  • 1
0 votes
0 answers
21 views

Cannot Access ACF Field Values via my Plugin

Objective I am working on a WordPress site built using Timber/Twig. I have a plugin (built using standard PHP and saved in the standard plugins folder) that is supposed to grab ACF values from a ...
Isaac Hillaker's user avatar
1 vote
0 answers
30 views

Only allow users (that are not admins) to edit a specific post

I am using a ACF field on the user profile.php to assign a post id to a user. The users need to be able to receive the capability to edit this post, but only this post. They should not be allowed to ...
Klein's user avatar
  • 11
0 votes
0 answers
13 views

Issue using form in Google app in mobile

I have a contact form on my website, and I'm utilizing Contact Form 7 (CF7) plugin for it. However, when I fill out the form using the Google app on my mobile device, the page seems to reload somehow. ...
Baim Quraisy's user avatar
0 votes
0 answers
11 views

I have design Tab in a Bootstrap 5 in row. And repeat row in ACF. only 1st row tab data is show. other row data off tabcontent appearing display:none

" alt="Therapists Image" class="img-fluid" width="450" height="675" loading="lazy"> <div class="...
Santosh Kumar Patel's user avatar

15 30 50 per page
1
2 3 4 5
248