Category: Admin
Untitled Snippet
Sticky Call Button Godrej Customer Care 18005714050Continue reading
Privacy checkbox field remains at the top line
html div#om-{{id}} #{{ns}}-field-privacy > label { align-items: flex-start !important; }Continue reading
WordPress Debugging
define( ‘WP_DEBUG’, true ); define( ‘SAVEQUERIES’, true );Continue reading
Changing the Name Attribute of a Hidden Field
/** * Custom function to change the name attribute of hidden fields in any form. * * @link https://wpforms.com/developers/how-to-change-the-name-attribute-of-a-hidden-field/ */ function wpf_field_properties_hidden( $properties, $field, $form_data ) { // Optional, you can limit to specific forms. Below, we restrict output to…Continue reading
Hiding the Currency Symbol in WPForms Total Field
function wpf_remove_currency_symbol() { ?>Continue reading
Post Views Count | Post Views Tracking with Shortcode and Admin Column and Elementor Support
/* Description: Enhance your WordPress site with a post view tracking system. This snippet uses a one-hour cookie to avoid inflating counts, offers a get_post_views() function for developers, a [post_views] shortcode for users, and adds a sortable “Views” column to…Continue reading
Vacatures CPT – zonder taxonomies
Add Field Values for Dropdown, Checkboxes, and Multiple Choice Fields (copy)
/** * Add field values for dropdown, checkboxes, and multiple choice fields * * @link https://wpforms.com/developers/add-field-values-for-dropdown-checkboxes-and-multiple-choice-fields/ * * For support, please visit: https://www.facebook.com/groups/wpformsvip */ add_filter( ‘wpforms_fields_show_options_setting’, ‘__return_true’ );Continue reading
Customizing Checkbox and Radio Fields to Look Like Buttons (All Forms)
.wpforms-container input[type=radio], .wpforms-container input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;} .wpforms-container input[type=radio] + label, .wpforms-container input[type=checkbox] + label { padding: 5px 10px !important; background-color:…Continue reading