Views: 2
Using GraphQL/GraphiQL to Connect WordPress with Gatsby/React
Views: 7Query to Connect Gatsby with WordPress ACF Field Using ACF Galerie 4 field instead of Gallery Explaination of above code Query to get Page Data by Page Slug or Permalink, Query to get Page Data by Page ID, Note : pageBy Query is deprecated. Plugin used alternate for ACF Pro Gallery : https://wordpress.org/plugins/acf-galerie-4/
Capture UTM parameters in Elementor Forms Using Cookies
Views: 116In 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: 147Newer 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: 85Contact 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: 49Building 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: 21Product 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: 171The -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: 64Code 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: 99Method 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 […]