Viewing 30 results - 151 through 180 (of 1,633 total)
  • Author
    Search Results
  • #1421134

    In reply to: Contact form

    Hey,

    There isn’t a limit, but there’s a support policy ( https://themeforest.net/page/item_support_policy#whats-not-included-item-support ). I shared this link with you multiple times and pointed out that customization is out of the scope of the support. As far as I’m aware, only 1 thread out of the 46 you started is an actual issue in Enfold.

    This thread is a perfect example: https://kriesi.at/support/topic/setting-background-overlay/. We provide you with a custom CSS, you say it doesn’t work, we tell you what could be the issue, you say “check”, we check it and the issue ends up being what we guessed earlier and the custom CSS we provided isn’t even added.

    You’re clearly looking for someone to log in to your site and do the customizations for you but this is a task that’s meant for freelance developers, not us.

    I provided you with a selector in this thread. If you’d like to apply this styling for a specific Contact Form element, you can edit your Contact Form element, go to Advanced > Developer Settings > Custom CSS Class, add a custom CSS class to your element (“your-custom-css-class” in the example below), and use the code as the following:

    
    .your-custom-css-class .av-fields-with-error {
    /* Your custom CSS for the Contact Form element with "your-custom-css-class" goes here */
    }
    

    Best regards,
    Yigit

    #1421111

    In reply to: Contact form

    Hi,

    You can use the following code to adjust the colors of the error field:

    
    .av-fields-with-error {
      font-size: 20px;
      color: white;
      background-color: black;
      border-color: orange !important;
    }
    

    If you need specific customization, please hire a freelance developer.

    Regards,
    Yigit

    #1421096

    Hey,

    Is this all custom CSS you have in Enfold theme options > General Styling > Quick CSS and Appearance > Customize > Additional CSS fields?

    If it is, please create temporary admin logins and share them with us in the private content field so we can look into it.

    Best regards,
    Yigit

    #1420806

    Hi,

    Please edit the page and look for the Custom Fields section just below the Advance Layout Builder. If the fields are not visible, toggle the Custom Fields checkbox from the Screen Options. For more info, please check the documentation below.

    // https://wordpress.org/documentation/article/assign-custom-fields/#usage

    Best regards,
    Ismael

    Hi,
    thats exactly the point. The lightbox is not showing but it should be showing… The plugin itself, as I can see in the documentation and screenshot from the creators, does not have such a ajax form as implemented. So it cannot be there by default. But it is…

    The main problem with this ajax form is the “Datenschutz” checkbox, which causes that the attendee has to click through every guest to tick it. Although we do not need the data. As mentioned out customer either wants to a) collect the data from the guests but additionally name and e-mail as required fields – this is not possible with this plugin – or b) only collect the data from the person that is registering for the event – which SHOULD be possible using the stock plugin, because there is an option for exactly this in the settings. BUT no matter how you change this option in the settings, it has no effect because the form in the frontend ist NOT generated by the plugin as it seems.

    I’ve added a screenshot of our settings (sorry that it is in german, I hope you can translate it somehow…) and how it looks in the documentation of the plugin itself for you in private content.
    In the documentation you can see that it is possible to override the template for these. But with Enfold installed, this is not possible as Enfold overrides all of these templates and you have to use a different hook to override the enfold templates. We found out via the enfold documentation.

    I hope you understand the point now. It’s a bit hard to describe the porblem. Sorry for that!

    Best regards!

    #1420612

    In reply to: Contact form

    Hey,

    You have the following custom CSS code:

    .av-fields-with-error {
      font-size: 20px;
      background-color: rgba(0,0,0,0);
      border: 0;
    }

    With this code you’re setting background color to transparent. Modify this code to change the background color.

    Best regards,
    Yigit

    #1420462

    In reply to: Logo too big

    Hey,

    You should check the custom CSS code you have in the Enfold theme options > General Styling > Quick CSS and Appearance > Customize > Additional CSS fields for errors.

    Regards,
    Yigit

    #1420370

    In reply to: Dynamic text

    Hey fanlokbun,

    Thank you for the inquiry.

    Yes, this should be possible with a custom field and shortcodes. Please check the following documentation for more info.

    // https://codex.wordpress.org/Shortcode_API
    // https://wordpress.org/documentation/article/assign-custom-fields/

    Example:

    add_shortcode('avs_iam_shortcode', 'avs_iam_shortcode_cb');
    
    function avs_iam_shortcode_cb($atts){
           extract(shortcode_atts(array(
                      'age' => 21,
           ), $atts));
           if(!isset($atts[0])) return;
           $field = esc_attr($atts[0]);
           global $post;
           $post_id = (NULL === $post_id) ? $post->ID : $post_id;
           return  "I am ". get_post_meta($post_id, $field, true) ." years old";
    }

    Shortcodes:

    [avs_iam_shortcode age=88]
    

    You have to add the “age” custom field in the post.

    Best regards,
    Ismael

    #1418995
    John Brand
    Guest

    Hi, our contracted web developer has used Enfold v4.7.6.4 for our site. We’ve noticed that the shopping cart and checkout do not work correctly on mobile devices – cutting off fields and even removing the ability for customers to change order quantities. I’m happy to purchase the upgrade if it fixes these problems for us. If you can confirm, or have us temporarily upgrade the site to test, that would be great. Thanks!

    #1418880

    In reply to: Dark Mode question

    i tested ( not all on Enfold ) a lot of those dark-mode solutions.

    They all suffer from the fact that switching to dark mode often does not produce a satisfactory result. So maybe another approach I had in mind is to use this snippet to set a custom colour scheme.

    function custom_color_set($color_sets){
      $color_sets['dark_mode'] = 'Dark Mode';
      return $color_sets;
    }
    add_filter( 'avf_color_sets', 'custom_color_set', 999, 1 );

    but on that case the class (dark_mode) will not go to the alb element – but to the body class list. Maybe we can add for that new color-set some input-fields for menu-colors and header area colors.

    Then all we would have to do is add a button (e.g. in header_meta) to switch the page to that colour scheme.
    Of course, it would be a lot of work to set this up, but it could be worth it for a better customised look.

    #1418875
    emilconsor
    Participant

    HI there,

    we have created tons of custom shortcodes for the pagebuilder, always “stealing” from the existing shortcode classes.

    It would be so much nicer to have a documentation in order to look up what elements I can add to the shortcode in the backend (select, linkpicker, etc).
    Maybe there are some hidden gems we didn’t find yet. Also, this would just help since I can’t look up on how to make conditional fields without looking through all the possible shortcodes e.g.

    Is there a “better” documentation already existing?

    Hi Guenni007,

    Thanks for your reply.
    I have tried your code but it’s not reflecting the correct order as it should be. If you check the below link with the screenshots, you will find that i have already created two custom post meta fields with the help of ACF plugin, named journey_start_date & journey_end_date. Below is the modified code of yours that i have implemented.
    add_filter( ‘posts_distinct’, ‘cf_search_distinct’ );
    function pre_sort_filter_escorted_vacations($query) {
    if(!is_admin() && $query->is_main_query()) {
    $post_type = $wp_query->query[‘post_type’];
    if ( $post_type == ‘escorted-vacations’) {
    $query->set(‘meta_key’, ‘journey_start_date’);
    $query->set(‘orderby’, ‘meta_value_num’);
    $query->set(‘order’, ‘ASC’);
    }
    }
    }
    add_action(‘pre_get_posts’, ‘pre_sort_filter_escorted_vacations’);
    Screenshot-from-2023-09-04-15-33-21
    Screenshot-from-2023-09-04-15-33-56

    If you want i can give ftp and admin credentials of our staging site.

    Hi Support,

    journey_start_date & journey_end_date are the two custom post meta fields that we have created for CPT escorted-vacations and we want to displat the posts in ascending order with orderby journey_start_date, can you please help me regarding this.

    Hi Isamel
    Thanks so much for the information provided. How do I know what the masonry image custom link field is called in the WPML translation editor? I tried to find it but couldn’t.

    I now manually added the links in the German WordPress version of the page, but this is not the ideal solution. Especially if we are using the WPML translation editor.

    I also installed the Advanced Custom Fields Multilingual Plugin but it seems not compatible with the latest WordPress, WPML and Enfold versions. It is not showing in the WordPress menu even though it’s activated. I watched the instruction video but it’s not where they are saying it is?!

    Thanks so much.
    Corina

    #1417688

    In reply to: Update on ACF support

    Hi Jason,

    Thank you for using Enfold and for your patience.

    I want to give you a quick overview on what will be coming:

    We are currently working on the integration of custom fields content in ALB elements and to get most out of this feature on “Custom Page Layouts”.

    This means based on ALB you can design editable page layouts and use these to display your pages, posts and custom post type posts.

    But we cannot give a release date yet.

    Best regards,
    Günter

    #1417645
    Jason E
    Participant

    Good day, everyone!

    While I wait to get some sort of support for ACF, I have been trying to manually map in custom post types, fields and taxonomies. But, after doing all of the work on building templates, I just realized the old select Template drop-down does not seem o appear in post, or any post type in the edit post option. I reverted back my templates, thinking maybe I screwed them up, but I still do not have the option to select any of them.

    Am I missing something obvious?

    I have copied files from the Enfold core theme files into the child theme folder (see private content)

    I have also looked around on the net and tried the various other suggestions I could find, but nothing seems to get that drop-down back.

    Hey Corina,

    Thank you for the inquiry.

    You may need to manually translate the custom fields of the translated images using the translation editor or adjust the value of the field in the Media > Library panel. Please check the documentation below for more info.

    // https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

    The following thread should also help.

    // https://kriesi.at/support/topic/masonry-gallery-individual-custom-link-in-wpml/#post-949920

    Best regards,
    Ismael

    #1417057

    Hi rixi,

    I see, but Custom Font Manager only registers the font but does not apply them, it will only show up as font options on the font fields.
    You have to select it in General Styling > Fonts > Heading Font.

    Best regards,
    Nikko

    #1417012

    Hi JeSchami,

    Is it possible to integrate a direct language in the automatic reply. such as Dear Ms. Mustermann.
    It’s possible using this filter: avf_form_custom_autoresponder
    Please try to check this thread: https://kriesi.at/support/topic/contact-form-changes-after-enfold-update/

    And the information is drawn from what he entered in the form?
    I think you may need an advanced form with some conditional logic built-in it.
    For free contact form plugin, you can try contact form 7 and add another plugin called conditional fields: https://developerrocket.com/how-to-add-conditional-fields-using-contact-form-7/
    But if you want a more convenient and user-friendly one, a paid one like gravityforms has this feature.

    Best regards,
    Nikko

    wusatiuk
    Participant

    I am trying to exclude posts (woocommerce products) which have a specific category (id=340) from the ‘avia_ajax_search’ popup.
    have copied the function if(!function_exists(‘avia_ajax_search’))

    from /enfold/functions-enfold.php to /enfold-child/functions.php
    Is this correct, or do i need a seperate /enfold-child/functions-enfold.php

    
    if(!function_exists('avia_ajax_search'))
    {
    	//now hook into wordpress ajax function to catch any ajax requests
    	add_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' );
    	add_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' );
    
    	function avia_ajax_search()
    	{
    	    global $avia_config;
    		
            $exclude_category_id = 340; // Replace with the actual category ID
    
    	    unset($_REQUEST['action']);
    	    if(empty($_REQUEST['s'])) $_REQUEST['s'] = array_shift(array_values($_REQUEST));
    		if(empty($_REQUEST['s'])) die();
    
    	    $defaults = array('numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false, 'results_hide_fields' => '');
    
    	    $_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']);
    
    	    $search_parameters 	= array_merge($defaults, $_REQUEST);
    
    	    if ( $search_parameters['results_hide_fields'] !== '' ) {
                $search_parameters['results_hide_fields'] = explode(',', $_REQUEST['results_hide_fields']);
            }
            else {
                $search_parameters['results_hide_fields'] = array();
            }
    
            $search_query 		= apply_filters('avf_ajax_search_query', http_build_query($search_parameters));
    	    $query_function     = apply_filters('avf_ajax_search_function', 'get_posts', $search_query, $search_parameters, $defaults);
    	    $posts		= (($query_function == 'get_posts') || !function_exists($query_function))  ? get_posts($search_query) : $query_function($search_query, $search_parameters, $defaults);
    	
    	    $search_messages = array(
    	            'no_criteria_matched' => __("Sorry, no posts matched your criteria", 'avia_framework'),
    	            'another_search_term' => __("Please try another search term", 'avia_framework'),
    	            'time_format'         => get_option('date_format'),
    	            'all_results_query'   => http_build_query($_REQUEST),
    	            'all_results_link'    => home_url('?' . http_build_query($_REQUEST)),
    	            'view_all_results'    => __('View all results','avia_framework')
                );
    		
    	    $search_messages = apply_filters('avf_ajax_search_messages', $search_messages, $search_query);
    		
    	    if(empty($posts))
    	    {
    	        $output  = "<span class='av_ajax_search_entry ajax_not_found'>";
    	        $output .= "<span class='av_ajax_search_image ".av_icon_string('info')."'>";
    	        $output .= "</span>";
    	        $output .= "<span class='av_ajax_search_content'>";
    	        $output .= "    <span class='av_ajax_search_title'>";
                	$output .= $search_messages['no_criteria_matched'];
    	        $output .= "    </span>";
    	        $output .= "    <span class='ajax_search_excerpt'>";
                	$output .= $search_messages['another_search_term'];
    	        $output .= "    </span>";
    	        $output .= "</span>";
    	        $output .= "</span>";
    	        echo $output;
    	        die();
    	    }
    
    	    //if we got posts resort them by post type
    	    $output = "";
    	    $sorted = array();
    	    $post_type_obj = array();
    	    foreach($posts as $post)
    	    {
    	        $sorted[$post->post_type][] = $post;
    	        if(empty($post_type_obj[$post->post_type]))
    	        {
    	            $post_type_obj[$post->post_type] = get_post_type_object($post->post_type);
    	        }
    	    }
    
    	    //now we got everything we need to preapre the output
    	    foreach($sorted as $key => $post_type)
    	    {
    
    	        // check if post titles are in the hidden fields list
    	        if ( ! in_array('post_titles', $search_parameters['results_hide_fields'] ) )
    	        {
                    if(isset($post_type_obj[$key]->labels->name))
                    {
                        $label = apply_filters('avf_ajax_search_label_names', $post_type_obj[$key]->labels->name);
                        $output .= "<h4>".$label."</h4>";
                    }
                    else
                    {
                        $output .= "<hr />";
                    }
                }
    
    	        foreach($post_type as $post) {
    
    	            $image = "";
                    $extra_class = "";
    
                    // Get the categories for the post
               		$post_categories = wp_get_post_categories($post->ID);
    
               		// Check if the excluded category is in the post categories
    	            if (!in_array($exclude_category_id, $post_categories)) {
    
    	                // check if image is in the hidden fields list
    	                if (!in_array('image', $search_parameters['results_hide_fields']))
    	                {
    	                    $image = get_the_post_thumbnail($post->ID, 'thumbnail');
    	                    $extra_class = $image ? "with_image" : "";
    	                    $post_type = $image ? "" : get_post_format($post->ID) != "" ? get_post_format($post->ID) : "standard";
    	                    $iconfont = $image ? "" : av_icon_string($post_type);
    
    	                }
    
    		            $excerpt     = "";
    
    	                // check if post meta fields are in the hidden fields list
    	                if ( ! in_array('meta', $search_parameters['results_hide_fields'] ) )
    	                {
    	                    if(!empty($post->post_excerpt))
    	                    {
    	                        $excerpt =  apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate($post->post_excerpt,70," ","...", true, '', true) );
    	                    }
    	                    else
    	                    {
    	                        $excerpt = apply_filters( 'avf_ajax_search_no_excerpt', get_the_time( $search_messages['time_format'], $post->ID ), $post );
    	                    }
    	                }
    
    		            $link = apply_filters('av_custom_url', get_permalink($post->ID), $post);
    
    		            $output .= "<a class ='av_ajax_search_entry {$extra_class}' href='".$link."'>";
    
    		            if ($image !== "" || $iconfont) {
    	                    $output .= "<span class='av_ajax_search_image' {$iconfont}>";
    	                    $output .= $image;
    	                    $output .= "</span>";
    	                }
    		            $output .= "<span class='av_ajax_search_content'>";
    		            $output .= "    <span class='av_ajax_search_title'>";
    		            $output .=      get_the_title($post->ID);
    		            $output .= "    </span>";
    		            if ($excerpt !== '') {
    	                    $output .= "    <span class='ajax_search_excerpt'>";
    	                    $output .=      $excerpt;
    	                    $output .= "    </span>";
    	                }
    	          	}
    	            $output .= "</span>";
    	            $output .= "</a>";
    	        }
    	    }
    
    	    $output .= "<a class='av_ajax_search_entry av_ajax_search_entry_view_all' href='".$search_messages['all_results_link']."'>".$search_messages['view_all_results']."</a>";
    
    	    echo $output;
    	    die();
    	}
    }
    
    #1416645

    Hey Celeranttechnologycorp,
    First ensure that the Custom Fields option is enabled in the Screen Options at the top of your page in the Classic Editor:
    Enfold_Support_2989.jpeg
    Or in the Block Editor, go to Preferences ▸ Panels ▸ Custom Fields:
    Enfold_Support_2991.jpeg
    Then add a custom field custom_title and enter the value you want:
    Enfold_Support_2993.jpeg
    Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_filter( 'the_title', 'custom_field_title', 10, 2 );
    function custom_field_title( $title, $post_id )
    {
        if( $new_title = get_post_meta( $post_id, 'custom_title', true ) )
        {
            return $new_title;
        }
        return $title;
    }

    and your custom title will show in the title bar:
    Enfold_Support_2995.jpeg

    Best regards,
    Mike

    Hi,

    Thank you for the update.

    Did you add the css code above? Please note that the above modification will affect all containers in the site. You may need to utilize the custom css class or ID fields in order to apply the modification on specific elements or pages.

    // https://kriesi.at/documentation/enfold/add-custom-css/

    Best regards,
    Ismael

    #1415739
    Tello
    Participant

    **Issue Description:**

    I am encountering an issue with the Add Media button functionality in the Enfold theme on my WordPress website. The Add Media button is not working as expected on specific pages of the website, particularly when the website is in the Arabic language.

    **Symptoms:**

    – When I attempt to click the Add Media button on pages where I can input content (such as the text editor fields), nothing happens. The button is not clickable.
    – This issue seems to be specific to the Arabic version of the website. On the English version of the website, the Add Media button functions as intended.

    **Steps Taken:**

    I have done some troubleshooting to identify the cause of the issue:
    – I have tested the website with the default WordPress theme, and the Add Media button works correctly.
    – I have disabled all plugins, and the issue still persists, indicating that the problem is likely related to the theme itself.

    **Possible Cause:**

    The issue seems to be related to a theme conflict or compatibility issue. It’s possible that there is a conflict with the Enfold theme or its settings that affects the functionality of the Add Media button on certain pages, especially when the website is in the Arabic language.

    **Request for Assistance:**

    I am seeking assistance to diagnose and resolve this issue. As the Add Media button is a crucial feature for content creation, I would greatly appreciate guidance on how to fix this problem. If there are any specific settings, code adjustments, or troubleshooting steps I should take, please let me know.

    **The Custom Function:**

    function show_media_button( $editor_settings, $field_object, $form, $entry ) {
    // Get the current language code
    $current_lang = get_locale();

    // Check if the current language is Arabic (locale code ‘ar’)
    if ( $current_lang === ‘ar’ ) {
    // If the language is Arabic, disable media buttons
    $editor_settings[‘media_buttons’] = true;
    } else {
    // For all other languages, enable media buttons
    $editor_settings[‘media_buttons’] = true;
    }

    return $editor_settings;
    }
    add_filter( ‘gform_rich_text_editor_options’, ‘show_media_button’, 10, 4 );

    Thank you for your support.

    bb
    Participant

    I have a custom post type that has advanced custom fields involved. I’m using a plugin I created with a shortcode to display the loop. I’m not able to use the Layout Builder because of the advanced custom field and some complications of moving a site with 1800 posts from an old theme into Enfold.

    I need to add pagination to the page (via the plugin presumably) and I’m not seeing a code snippet that would do that. Can anyone help with some code to add pagination?

    #1414171

    Thank you so much, Mike. BOTH of those settings needed to be adjusted. Now those custom fields are gone and the Layout editor in the sidebar is there. Thank you again!

    • This reply was modified 2 years, 7 months ago by dbtpath.
    #1414165

    You have to scroll down on that screenshot that I sent you!! You are looking at the editor area. The custom fields are showing BELOW that.
    I outlined the area in a red square for you in the original screenshot.

    Also, I am logged in as the admin, and my other admin has logged in as well. Neither of us can see the layout editor options on the right that you can see on that page.

    • This reply was modified 2 years, 7 months ago by dbtpath.
    #1414158

    Thank you. I’m aware that the welcome isn’t showing — it isn’t supposed to be.

    What I am concerned about continues to be:

    1.The custom fields that are showing up underneath the editor. Why are those there? How do we get rid of them? I provided a detailed screenshot in my previous response
    2. Why isn’t the sidebar layout options showing even though they are enabled in the theme? How do I navigate to that setting?

    I cannot find the settings you have in your screenshot with the red arrow. Those are not visible on the backend of Pages.

    #1414153

    Hi,
    Ok, I checked a couple of pages but didn’t see any custom fields, perhaps you explain in more detail.

    Best regards,
    Mike

    #1414150

    Hi,
    Thanks for the login, the sidebar has been disabled for pages in the theme settings at Enfold Theme Options ▸ Sidebar Settings ▸ Sidebar On Pages try enabling if you want pages to show the sidebar globaly, or you can choose to show the sidebar on pages individually in the page Layout options.
    Enfold_Support_2630.jpeg
    I don’t see any custom fields below the editor on your posts, please explain further or perhaps a screenshot would help.

    Best regards,
    Mike

    #1414097
    dbtpath
    Participant

    On pages the layout sidebar is no longer showing even though it shows on posts. In addition, there is custom field section under the editor which is not showing on posts.

Viewing 30 results - 151 through 180 (of 1,633 total)