This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// place the code in the child theme functions.php or a custom code snippets plugin like FluentSnippets | |
// if you want to handle other error statuses, change "invalid_email" to the one you want to monitor. | |
document.addEventListener( 'DOMContentLoaded', function() { | |
const { addAction } = window.JetPlugins.hooks; | |
addAction( 'jet.fb.observe.after', 'test/onSubmit', init ); | |
function init( observable ) { | |
observable.form.submitter.status.watch( onFormSubmit ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy the following HTML code and create a HTML snippet using your snippet plugins. | |
Paste the code into the plugin and save it. | |
I’ve developed a new custom feature for JetFormBuilder that allows users to crop images with some great new functionality. | |
Here’s a quick rundown of what it does: | |
JetFormBuilder integration: This custom code integrates seamlessly with JetFormBuilder’s file upload system, making the image | |
inputs interactive and ready for cropping, all through a custom action hook. | |
CropperJS integration: It loads the necessary CSS and JavaScript from CropperJS, which is the library responsible for handling |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy the following PHP code and create a PHP snippet using your snippet plugins. | |
Paste the code into the plugin and save it. | |
Add the [user_profile_view_count] shortcode to your profile single page | |
Custom JetEngine code that shows the view count of every profile in ProfileBuilder. | |
______________________________________ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: | |
1. Copy the following PHP code and create a PHP snippet using your snippet plugin. Paste the code into the plugin and save it. | |
2. Create a template page using Elementor Templates | |
3. Replace the actual Elementor template ID in this line: $elementor_404_template_id = 8209;. Change the ID number 8209 to your | |
template page ID, and save/update the code. | |
This code snippet customizes the default 404 error page in WordPress by using a specified Elementor template. | |
It hooks into the template_include filter and checks if the current page is a 404. If it is, it attempts to load and | |
display a custom 404 template created with Elementor (using the provided template ID). If successful, it outputs the | |
custom template content, otherwise, it falls back to the default template. This allows for a more visually appealing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATED: 07.05.2024 | |
1. We've enhanced the JetFormBuilder with a refined custom code, improving both style and functionality for file selection. The latest | |
update introduces support for the repeater field's media capabilities, offering a more streamlined and efficient user experience for | |
handling multiple files within forms. | |
2. Copy this code, create a new HTML snippet, and paste it into your snippet plugin. Save it as a header or footer. | |
__________________________________________ | |
See the youtube tutorials here ( OLD ): | |
https://youtu.be/lOghzLiR73Q?si=DbNNcCkKzkv_mAQl | |
__________________________________________ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. New custom code for JetFormBuilder improves how files are uploaded and displayed. | |
The feature shows a set number of uploaded files directly (four on desktops, fewer on smaller devices), | |
with additional files represented by a dynamic plus icon that indicates the count of remaining uploads. | |
This enhancement ensures users can easily track and manage their uploads across different devices. | |
2. Copy this code, create a new HTML snippet, and paste it into your snippet plugin. Save it as a header or footer. | |
________________________________________________________ | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enhance Jetformbuilder and Jetengine form ' TinyMCE editors (WYSIWYG Field) with a dynamic word limit control feature. | |
This script adds an interactive word count display that not only tracks the number of words typed but also dynamically | |
adjusts the text content to adhere to a predefined limit. The functionality is designed to provide visual feedback and | |
prevent over-typing by automatically trimming text to the set limit. | |
1. Firstly, copy the custom PHP code and paste it into your snippet plugins. Create a new PHP snippet and save it as "Everywhere". | |
2. In Jetengine form, add a WYSIWYG Field, and the form field name is: text_count_limit_jetengine, and for Jetformbuilder | |
WYSIWYG Field and the form field name is: text_count_limit_jetformbuilder | |
3. You can adjust the variable 'limit' to control the word limit for this specific editor. Currently, it's set to 100, | |
but you can change it to suit your needs. Find this line and change it: var limit = 100; // Word limit for this specific editor. |