Forum Replies Created

Viewing 30 posts - 421 through 450 (of 9,352 total)
  • Author
    Posts
  • in reply to: Guest Post #1011476

    Hey!

    I just marked the post as read (by me) – probably this triggered the e-mail notification.

    Best regards,
    Peter

    in reply to: update fail #1011339

    Hi,

    Great, glad it works now :)

    Best regards,
    Peter

    in reply to: Google Map API issue (works on one site but not another) #1011336

    Hi!

    No, I haven’t report this issue yet.

    Best regards,
    Peter

    Hey elsengold,

    The default ajax search does not incclude products, etc. If you want to enhance the search algorithm you can install a plugin like Relevanssi ( https://de.wordpress.org/plugins/relevanssi/ ). Then add this code to your child theme:

    
    
    add_filter('avf_ajax_search_function', 'avia_init_relevanssi', 10, 4);
    function avia_init_relevanssi($function_name, $search_query, $search_parameters, $defaults)
    {
        $function_name = 'avia_relevanssi_search';
        return $function_name;
    }
    
    function avia_relevanssi_search($search_query, $search_parameters, $defaults)
    {
        global $query;
        $tempquery = $query;
        if(empty($tempquery)) $tempquery = new WP_Query();
    
        $tempquery->query_vars = $search_parameters;
        relevanssi_do_query($tempquery);
        $posts = $tempquery->posts;
    
        return $posts;
    }
    
    

    to use Relavanssi for the ajax search too.

    Best regards,
    Peter

    in reply to: Exclude ID item in portfolio grid bottom right #1011330

    Hi!
    Glad I could help you :)

    Regards,
    Peter

    in reply to: update fail #1011302

    Hi,
    What exactly doesn’t work now? Please try to clear the performance cache (Go to Enfold > Theme Options > Performance and set the css and js compression to disabled.

    If this still doesn’t solve the issue please create me an admin account and I’ll look into it.

    Best regards,
    Peter

    in reply to: HELP all maps gone / jquery issue #1011297

    Hi,

    I’d ignore these warning as long as the maps are displayed.

    And I still see the jquery error loading on the page below before the map loads, so there is still something weird going on.

    I think this is some sort of fallback screen which is always visible before the map is fully loaded. After the map loaded it covers the fallback message.

    You can also add this code to the child theme functions.php to deactivate the theme maps api:

    
    add_filter('avf_load_google_map_api_prohibited', 'avf_load_google_map_api_prohibited_true', 10, 1);
    function avf_load_google_map_api_prohibited_true($prohibited) {
    	$prohibited = true;
    	return $prohibited;
    }
    

    It may break the theme maps – so be careful and check if the theme maps work afterwards.

    Best regards,
    Peter

    in reply to: update fail #1011288

    Hi,

    You can copy the settings from the parent theme to the child theme. Go to Enfold > Theme Options > Import/Export and click on the “Import Parent Theme Settings” button.

    Best regards,
    Peter

    Hi,

    To be honest I don’t think this is possible. We update the framework folder and the template files regularly and if some parts are missing you’ll get 500 errors too.

    Best regards,
    Peter

    in reply to: How can I add revisions to custom post types? #1011280

    Hi,
    You can use the “supports” parameter to add revision support to your cpt (see https://codex.wordpress.org/Function_Reference/register_post_type ). Use it like:

    
    function codex_custom_init() {
        $args = array(
          'public' => true,
          'label'  => 'Books',
          'supports' => array( 'title', 'editor', 'revisions' )
        );
        register_post_type( 'book', $args );
    }
    add_action( 'init', 'codex_custom_init' );
    

    Best regards,
    Peter

    in reply to: Separator between menu items #1011236

    Hi,

    Glad we could help you :)

    Best regards,
    Peter

    in reply to: Exclude ID item in portfolio grid bottom right #1011234

    Hi!

    You can try this code to exclude the current page/post from the grid:

    
    
    add_filter( 'avia_post_grid_query', 'avia_post_grid_query_mod', 10, 2);
    function avia_post_grid_query_mod( $query, $params ) {
    	global $post;
    	$query['post__not_in'] = array($post->ID);
    	return $query;
    }
    

    Best regards,
    Peter

    in reply to: Tab Section Inner Content Height – Not Showing all Content #1011211

    Hi,

    Please try to add this code to the functions.php file (you can insert it at the very bottom):

    
    
    add_action('wp_footer', 'ava_auto_resize_tab');
    function ava_auto_resize_tab(){
    ?>
    <script>
    (function($){	
    	var int = window.setInterval(function(){
    		$(window).trigger('resize');
    		$(window).trigger('av-content-el-height-changed');
    	}, 1000);
    })(jQuery);
    </script>
    <?php
    }
    

    Best regards,
    Peter

    Hi,

    Please create me an admin account and I’ll look into it.

    Best regards,
    Peter

    in reply to: Cannot get working get_locale() inside function. #1011209

    Hi,

    Great, glad it works now :)

    Best regards,
    Peter

    in reply to: moving the search box #1011208

    Hi,
    I just tested your website and the search bar styling seems to be correct even if the Better WordPress Minify Plugin is disabled. Please try to clear your browser cache and check the website again.

    Best regards,
    Peter

    in reply to: Cannot get working get_locale() inside function. #1011205

    Hey mrpacogp,

    Did you try to use the ICL_LANGUAGE_CODE constant instead – you can use it like

    
    if (ICL_LANGUAGE_CODE == 'en') {
         //english here
     } else {
         //other languages
     }
    

    Best regards,
    Peter

    in reply to: Custom design web system and Mobile App #1011203

    Hi,

    We can’t recommend a certain person but https://codeable.io/ is a good resource for professional freelancers.

    Best regards,
    Peter

    in reply to: Separator between menu items #1011200

    Hi,

    I changed the border width to 4px (you can see it better now) and also changed the color. I added this code to the very bottom of the quick css field:

    
    .av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
        border-left-width: 4px;
        border-color: #4a6616;
    }
    

    for all (!) languages.

    Best regards,
    Peter

    in reply to: Password-Protect Page Not Working in Google Chrome #1011195

    Hi,

    If I stumble over a solution for your problem I’ll let you know asap.

    Best regards,
    Peter

    in reply to: Problems with Custom Facebook Feed Plugin #1011192

    Hi,

    You can modify avia.js to deactivate the lightbox and the hover effect on a certain page. Open up enfold/js/avia.js and replace:

    
            if($.fn.avia_activate_lightbox){
            	$(container).avia_activate_lightbox();
            }
    

    with

    
            if($.fn.avia_activate_lightbox && !($("body").hasClass("page-id-511"))){
            	$(container).avia_activate_lightbox();
            }
    

    to deactivate the lightbox on your galerie page (page with the id 511).
    Then replace:

    
    avia_hover_effect(container);
    

    with

    
    if( !($("body").hasClass("page-id-511")) ){
    avia_hover_effect(container);
    }
    

    Best regards,
    Peter

    in reply to: Formating the email sent via Contact Form #1011172

    Hi,

    – The datepicker format kinda worked for the form itself.
    Yes it only changes the date format in the form field, not the e-mail data. There’s no real fix for this because the jquery date picker plugin converts the data bac-k to the standard format.

    – Funny enough its still returning “false” replies, even though “true” is successfully coming through as “yes“.
    I created a second form to test this and I couldn’t reproduce the issue. I modified the enfold/framework/php/class-form-generator.php and then tested the checkboxes with the form here: http://bonjour.tt-develop.de/reservierungen/referenten-checkliste.html (form at the bottom). If you i.e. just check the first checkbox the result should be

    
    E-Mail:  (Email address hidden if logged out) 
    
    Nachricht: Your Message
    
    Test: ja 
    

    – for some strange reason I can only fill in the form once with a successful mail going out.
    I wasn’t able to reproduce this issue but it sounds like a cache issue.

    Personally I’d recommend to use a dedicated contact form plugin like Formidable or Contact form 7 for your reservation form. These plugins enable you to style and modify the e-mails and you can also send out nice html e-mails to your customers (for contact form 7 you can use this plugin: https://wordpress.org/plugins/cf7-html-email-template-extension/ ). Our contact form is not intented to be used as complex reservation form and you probably won’t be able to style the e-mail/data user friendly way.

    Best regards,
    Peter

    in reply to: Update problem #1011159

    Hi,

    If you use ftp make sure to replace the entire theme folder. If you just overwrite the existing files you’ll get a blank page (500 error – which is the case on your website). Connect to ftp, go to wp-content/themes and rename the theme folder “enfold” to “enfold_bak”. Then download the new files from themeforest, unzip the theme files and upload them to wp-content/themes/enfold. Make sure the style.css file is located in wp-content/themes/enfold (file path wp-content/themes/enfold/style.css). If the theme works, you can simply delete the enfold_bak folder. If not, delete the enfold folder and rename enfold_bak to enfold.

    Best regards,
    Peter

    in reply to: Enfold 4.4.1, Relevanssi und WPML #1011153

    Hi,

    Glad I could help you :)

    Best regards,
    Dude

    in reply to: checkbox to show lightbox or not #1011151

    Hey Guenter,

    Probably the easiest solution to make the link not clickable would be to use a css class. Use this css code:

    
    #top .youtube-link a.lightbox-added{
      pointer-events: none;
      cursor: default;
    }
    

    to deactivate the link event by default. Then this code:

    
    $('.youtube-privacy:checkbox').change(function() {
    		    if (this.checked) {
    		        $('#top .youtube-link a.lightbox-added').css({"pointer-events" : "auto", "cursor" : "auto" }); 
    			} else {
    		        $('#top .youtube-link a.lightbox-added').css({"pointer-events" : "none", "cursor" : "default" }); 
    			}
    

    to change it based on the checkbox state.

    Best regards,
    Peter

    in reply to: Enfold Theme Update #1011145

    Hi,

    I deactivated the plugin now and added this code to the enfold/functions.php to embed your javascript in the head section:

    
    function avia_header_scripts_custom(){
    ?>
    <!-- start number replacer --> 
    <script type="text/javascript"><!-- 
    vs_account_id = "CtjSf1bhz2lKbgDG"; 
    //--></script> 
    <script type="text/javascript" src="//calls.propelmarketing.com/euinc/number-changer.js"> 
    </script> 
    <!-- end ad widget -->
    <?php
    }
    add_action('wp_head', 'avia_header_scripts_custom');
    
    

    The code should replace the plugin and you don’t need to activate it again.

    I fixed the slider issue with css code (quick css field):

    
    .cycloneslider-template-default .cycloneslider-slide.cycle-slide-active {
        opacity: 1 !important;
    }
    

    Best regards,
    Peter

    in reply to: portfolio item showing error in Masonry with WPML #1011138

    Hi,

    Can you please assign all products you want to show in the grid to a portfolio category (English and Chinese entries/categories). At the moment only one product is assigned to the English categories and no Chinese product is assigned to a Chinese category. The grid can only query products based on their category. If no category is assigned all entries will be queried in all languages which gives you random results.

    I attached a link to our developer build which fixes all known wpml incompatibility issues. If you still experience issues after assigning categories to your portfolio entries please install the dev build via ftp ( https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#reinstall-or-update-using-ftp ) and I’ll check the grid again.

    Best regards,
    Peter

    in reply to: Ajax window stopped working #1011127

    Hi,

    Please note you need to wait some seconds (2-3 seconds) until you click on an item. Otherwise the ajax portfolio data is not initialized and this can break the portfolio. You can activate the preloader effect (Enfold > Theme Options) if you want to make sure that your users can’t click on an item before the page content is loaded.

    Best regards,
    Peter

    in reply to: Blog Posts – custom display order #1011125

    Hey Tima,

    In this case I’d recommend to use the Post Type Order plugin: https://wordpress.org/plugins/post-types-order/ – it enables you to re-order all entries via drag’n’drop.

    Best regards,
    Peter

    in reply to: Polylang and Post Grid #1011124

    Hey!
    Great, glad I could help you :)

    Best regards,
    Peter

Viewing 30 posts - 421 through 450 (of 9,352 total)