Blog

CF7 dynamic email recipient

User contact form 7 submissiion hook send to email based on dropdown selection Assistant To send the Contact Form 7 submission to different email addresses based on the dropdown selection, you can use the `wpcf7_before_send_mail` hook. ### Step-by-step solution: #### 📝 1. Create your dropdown field In your Contact Form 7 form, define a dropdown […]

Remove extra p tags

User remove extra tag from acf editor field Assistant To remove extra “ tags automatically added by WordPress when using ACF (Advanced Custom Fields) WYSIWYG (TinyMCE) editor fields, you can disable the automatic formatting (`wpautop`) by using the `acf/format_value` filter. ### ✅ Option 1: Disable auto “ on specific ACF field If you want to […]

Sort by ACF lname

User $args = array( 'post_type' => 'contact', 'post_status' => 'publish', 'posts_per_page' => -1, 'order' => "ASC", "orderby" => "title", 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'show_in_list', // Prüfen, ob show_in_list aktiv gesetzt ist 'value' => true, 'compare' => '==', ), array( 'key' => 'show_in_list', // Wenn das Feld nicht vorhanden ist, gebe […]

ACF Flexible Content Issue

User We have imported acf flexible fields to new website and also imported the same page Then create a template and assign it to page and also all flexible content is field but acf layout content not showing Even I checked in db it is in postmen to related post id Assistant It sounds like […]

Variable Effect Widget Setup

User /* Plugin Name: Variable Effect Elementor Widget Description: Adds a custom Elementor widget with animated variable font effects. Version: 1.0 Author: Your Name */ complete above Assistant Here’s a more complete and properly formatted version of the plugin header, along with the base plugin file setup for your **Variable Effect Elementor Widget**: <?php /** […]

Inject JS Variable Solution

User <script> js/effect1.js" > </script> <script> </script> '; self::$script_loaded = true; } if(!is_admin()) { ?> <script> js/effect2.js" > </script> Assistant To pass the PHP variable `$effect2_id` (which is generated dynamically per widget instance) into your `effect1.js` script, you need to localize the script using WordPress's `wp_localize_script()` or inject a “ tag inline that defines a […]

Elementor Variable Font Widget

User <style> @font-face { src: url('https://res.cloudinary.com/dr6lvwubh/raw/upload/v1529908256/CompressaPRO-GX.woff2'); font-family:'Compressa VF'; font-style: normal; } .fit-container h1 { font-family:'Compressa VF'; text-rendering: optimizeSpeed; /* width: 100%;*/ user-select: none; line-height: 0.8em; margin: 0 auto; text-transform: uppercase; font-weight: 100; text-align: center; /* width: 100vw;*/ } .fit-container h1 span { transform: translateY(-10px); user-select: none; font-family:'Compressa VF'; } .fit-container h1.flex { display: flex; justify-content: […]

Variable Font Hover Effect

User <style> @font-face { src: url('https://res.cloudinary.com/dr6lvwubh/raw/upload/v1529908256/CompressaPRO-GX.woff2'); font-family:'Compressa VF'; font-style: normal; } .fit-container h1 { font-family:'Compressa VF'; text-rendering: optimizeSpeed; /* width: 100%;*/ user-select: none; line-height: 0.8em; margin: 0 auto; text-transform: uppercase; font-weight: 100; text-align: center; /* width: 100vw;*/ } .fit-container h1 span { transform: translateY(-10px); user-select: none; font-family:'Compressa VF'; } .fit-container h1.flex { display: flex; justify-content: […]

Create The7 Child Theme

User The7 Theme create child theme Assistant To create a child theme for **The7 WordPress theme**, follow these steps: — ### ✅ Step 1: Create the Child Theme Folder 1. Go to your WordPress installation directory. 2. Navigate to `wp-content/themes/`. 3. Create a new folder and name it something like `the7-child`. — ### ✅ Step […]

Directory permissions issue

User Unable to create directory uploads/2025/04. Is its parent directory writable by the server? Assistant This error in WordPress — **“Unable to create directory uploads/2025/04. Is its parent directory writable by the server?”** — typically means that WordPress doesn't have the necessary permissions to write to the `wp-content/uploads` directory. Here’s how to fix it: — […]