## Create multiple posts when a custom post is created

Question
I have a custom post called "Sector" and another called "Areas". When a Sector is created, around 6 predefined Areas need to be created as well and linked with the Sector. To make this relation work, i am using Advanced ...
0
4 weeks 0 Answers 24 views

## How can I fetch CSS from JSON WP REST API response

Question
I'm getting page content via calling /wp-json/v2/page/ And there is no one field with CSS styles. How could I add css styles into json response ? Maybe exist some plugin, which can add custom field ?.. something like this https://wordpress.org/plugins/wp-api-yoast-meta/ will ...
0
4 weeks 0 Answers 23 views

## Changing form action based on selected value

Question
I am making a form using elementor pro. Is it possible to take an action following an user's choice? p.e. Question "Which Item do you prefer?" radiobutton1 - first item radiobutton2 - second item radiobutton3 - third item if the user selects radiobutton1 ...
0
4 weeks 0 Answers 26 views

## Add custom fields to search

Question
I want to add a custom fields ("introduction" and "ensavoirplus") to search of Wordpress, but the SQL code is not exact. I don't understand if i do a mistake or if WP don't can do this. But my attempt fail... I ...
0
4 weeks 0 Answers 22 views

Question
I have two custom user meta fields created with ACF. One is quantidade_corretas_dia_4 (Numeric, integer) and another tempo_dia_4 (Numeric, decimal). I am using WP_User_Query to get users ordered by both this values like this: $args ... 0 4 weeks 0 Answers 25 views ## Add custom field to Posts and sort by it Question I want to add custom field, named score, for each post individually and store it in database so I can later order posts by that field. I need to make it available on post edit to change this value, so ... 0 4 weeks 0 Answers 18 views ## How to show meta value code HTML after x paragraph Question I have a custom field for some posts, that has the HTML code. I want to show this code after x paragraph in the wordpress loop. I tried with the following code, but it doens't works. function prefix_insert_after_para($ads, $content ) { ... 0 1 month 0 Answers 21 views ## search custom post type by custom fields on front end Question I want to add filter to my site and want to filter custom post type by custom fields I have created the following code but not showing result. add_shortcode('user_search','My_User_search'); function My_User_search($atts = null){ ...
0
1 month 0 Answers 24 views