Views: 14In this quick guide, I will demonstrate how to keep UTM parameters in cookies and collect this information in Elementor Forms without losing it when a visitor changes pages. Many articles on the Internet propose solutions for when a user has UTM parameters in the URL, but this solution is more flexible. In the video, you can […]
Removing rel canonical added by Yoast SEO plugin
Views: 32Newer versions of Yoast ingnored this code. Tested on Yoast 15.0 I fixed it with a filter priority value. Here’s working code: Because new Yoast versions (like 15.0) use the negative priority to handle wpseo_head in the plugin file front-end-integration.php: Source : Stackoverflow
Create Simple Contact Form in CodeIgniter with Database Save Option
Views: 48Contact Form Workflow The workflow of the codeigniter contact form we build goes like this. Create a simple contact form for the user to enter ‘name’, ’email-id’, ‘subject’ and ‘message’. Upon proper server side validation we should insert the form data into database. If the database insert operation succeeds, we notify the user with some success message […]
CodeIgniter Contact Form Tutorial with Email Sending Option
Views: 34Building CodeIgniter Contact Form The Controller File Create a file named “contactform.php” inside application >> controllers folder. Codeigniter provides email library which makes the mail sending task very easier for us. First let’s load the required libraries and helpers in the controller. Next create a custom validation function to allow only alphabets and space for the name […]
Woocommerce Shop Page / Archive Page
Views: 13Product Title Link for Shop Page Then, you can add the following code snippet to your functions.php file, in a site-specific plugin, or by using a code snippets plugin. Product Thumb Image Link for Shop Page Then, you can add the following code snippet to your functions.php file, in a site-specific plugin, or by using a code […]
Truncating a paragraph using -webkit-line-clamp
Views: 45The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines. It only works in combination with the display property set to -webkit-box or -webkit-inline-box and the -webkit-box-orient property set to vertical. In most cases you will also want to set overflow to hidden, otherwise the contents won’t be […]
Change Text within Nested Class, Populate Dynamic Year & Concatenate in js – For WordPress Copyright
Views: 49Code to display year with Concatenate inside Nested Class Triggering them in footer to make them work, To get full year, Using QuerySelector to select the nested class & using innerHTML to replace the content with
Create WPBakery component / Add-On (Plugin)
Views: 55Method 01 How to create a new WPBakery component If you use WPBakery in the past and want to build your own custom component, look no more. In this blog post, we will build our own WPBakery component that allows us to use our own semantic HTML and design it the way we want it. If you […]
WPBakery Page Builder (formerly Visual Composer) – vc_map() field examples
Views: 32Mapping fields with Examples textarea_htmlText area with default WordPress WYSIWYG Editor. Important: only one html_textarea is permitted per shortcode and it should have “content” as a param_name textfieldSimple Input textareaSimple textarea field dropdownDropdown input field with a set of available options. An array containing the dropdown values (either should be a normal array or an associative array) […]
How To Show Number of Queries and Page Load Time in WordPress
Views: 13Simply paste the following code anywhere you like in your theme files (such as footer.php). And refresh the page. You will see the number of queries and the execution time. Source : WP Beginner