Skip to main content

All Questions

Tagged with
0 votes
2 answers
66 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
0 answers
23 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
0 answers
22 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
0 votes
0 answers
21 views

wordpress-plugin (widget) that performs a Neaby-search on the openstreetmap-endpoint: around x find y

i am about to create a wordpress-plugin that offers the output of the following data ... the data of a a Neaby-search: can we create a quewry that shows up all the schools that are in the near - in ...
zero's user avatar
  • 170
0 votes
0 answers
20 views

How to create advanced custom fields for backend content

Is there a straightforward way to create custom fields for module-based content on WordPress? Example: User Creates page Creates Page content sections through forms Row 1: Column 1 - Content A ...
Jeremy Thomas's user avatar
0 votes
0 answers
53 views

ACF block gutenberg aligncenter don't work

I'm starting with creating Gutenberg blocks with ACF. I would like to create a simple button, so far so good. My problem comes from the center alignment. When I align my element to the left and right ...
user avatar
0 votes
0 answers
26 views

How to pull through page title depending on which radio button is selected on the specific page?

I'm pretty new to Wordpress, ACF and PHP. I am currently working on a project, the website has 11 different sports centres all with different sport/activities, on each centre they will have a sidebar ...
jonnyplat's user avatar
-1 votes
1 answer
33 views

Custom rest fields not loaded in rest api cpt response

I have a custom endpoint that will be used from my vue app to load custom post type I've registered using a custom plugin. I need to add some custom fields to the response when the posts are loaded ...
OHICT's user avatar
  • 133
0 votes
1 answer
280 views

Display WooCommerce Order Custom Field In Template (HPOS)

Until now, I used this code to display a order custom field value inside a template: <?php echo esc_html( get_post_meta( $order->get_id(), 'my_custom_field', true ) ); ?> When enabling HPOS ...
Daniel's user avatar
  • 1
0 votes
0 answers
126 views

How can I display a layout differently depending on whether the user is on Mobile or PC?

I am currently working on a website for which I have to display the different features of a product. When imagining the design, I had a very different layout for mobile and PC that would, in my ...
almecin's user avatar
0 votes
1 answer
145 views

hide "Open in New Tab" checkbox in link field

I added a custom field to a repeater with PHP: [ 'key' => 'field_sponsor_badge_url', 'name' => 'url', 'label' => 'URL', 'type' => '...
steve8094's user avatar
0 votes
1 answer
71 views

Want to add custom post type for facebook feed

I have Facebook api for feeds. I want to add multiple user's Facebook feeds on their page. So, how can I add custom post type for Facebook feeds, which users can login to their account to get feeds ...
Devil mind's user avatar
0 votes
1 answer
47 views

Fields are not displayed on front end under custom php code in Advanced Custom Fields and Flexible Content field WordPress

I use Advanced Custom Fields WordPress plugin and the Flexible Content fields. So in one of the fields I need to include a php file, so I do it like this: <?php elseif( get_row_layout() == '...
Brgerg30879's user avatar
0 votes
1 answer
61 views

ACF number less than comparison not working

I have two ACF fields named as “price” and “reduced_price” now i have another field named as “price_filter” which should be filled with following conditions, If “price” is greater than “reduced_price”...
Shaharyar Afzal's user avatar
0 votes
1 answer
51 views

How to execute a shortcode within a custom field?

I am using a plugin that generates a shortcode to display files from a Dropbox folder. I need to display the shortcode on a specific page, but it will be different for each user. Therefore I have ...
Ollie's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
20