Category: Admin
Restricting Address Autocomplete to a Specific Country
/** * Restrict address autocomplete to a specific country * * @link https://wpforms.com/developers/how-to-restrict-address-autocomplete-to-a-specific-country/ */ function wpf_dev_geo_autocomplete_default_country( ) { ?>Continue reading
EJEMPLO SHORDCODE CON ATRIBUTO
///Shortcode con atritubo //Ejemplo de uso [shorcode_name atributo=”Valor Aqui”] echo “el atributo que colocaste es: “; echo $wr_custom_field; echo “casaverde”;Continue reading
Untitled Snippet
Untitled Snippet
Untitled Snippet
Pixel
Untitled Snippet
Accuracy Gauge
MFP > Deploy Show & Get Data
add_action(‘acf/save_post’, ‘add_show_children’); function add_show_children($post_id) { if (defined(‘DOING_AUTOSAVE’) && DOING_AUTOSAVE) return $post_id; if (!wp_is_post_revision($post_id) && ‘show’ == get_post_type($post_id) && ‘auto-draft’ != get_post_status($post_id) && ‘draft’ == get_post_status($post_id) ) { if (0 == get_post($post_id)->post_parent) { $countInt = (int) 1; $count = (string) $countInt;…Continue reading