Forum Replies Created

Viewing 30 posts - 721 through 750 (of 9,352 total)
  • Author
    Posts
  • in reply to: What is the api for avf_form_from #1006499

    Hey Alex Kaidan,

    You can use the filter like:

    
    add_filter('avf_form_from', 'avf_form_from_mod', 10, 3);
    function avf_form_from_mod($from, $new_post, $form_params) {
        $from = " (Email address hidden if logged out) ";
        return $from;
    } 
    

    The $new_post variable is an array which contains your form data – you could i.e. use this code:

    
    add_filter('avf_form_from', 'avf_form_from_mod', 10, 3);
    function avf_form_from_mod($from, $new_post, $form_params) {
        print_r($new_post);
        return $from;
    } 
    

    to output the content of $new_post variable and to check which data you need for your if/switch checks. The $form_params array contains the contact form parameters (shortcode parameters).

    Best regards,
    Dude

    in reply to: Nonce error on file upload #1006178

    Hi,

    To be honest I don’t see any reasons why the nonce error could pop up. The PHP warnings you posted are related to the instagram cache and will be fixed with the next update. They have also nothing to do with the nonce values which are generated by wordpress ( https://codex.wordpress.org/WordPress_Nonces ), in fact this function just tries to create a cache folder for instagram images in the wp-content/uploads/ folder. It does not manipulate or access the nonce values, etc.

    I read some bug reports (i.e. here: https://github.com/wpninjas/ninja-forms-uploads/issues/270#issuecomment-361279922 ) and they suggest it might be a caching issue. However you’ve already checked the cache configuration too :-/

    Best regards,
    Peter

    in reply to: URL structure incorrect #1006162

    Hi!

    Der Link selbst enthält ebenfalls “?s=” im href-Attribut – es könnte daher sein, dass Google diesen als relativen Link ansieht und sich daraus die URL zusammensetzt. Deswegen macht nofollow in diesem Fall Sinn.

    Das Suchfeld selbst enthält auch keinen Verweis auf “?s=”.

    Der Suche-Button hat diesen Code:

    
    <input value="(icon)" id="searchsubmit" class="button avia-font-entypo-fontello" type="submit">
    

    Das Eingabefeld für die Suchbegriffe diesen:

    
    <input id="s" name="s" value="" placeholder="Search" type="text">
    

    Die form action verweist nur auf den Domain – zB

    
    <form action="https://kriesi.at/themes/enfold-2017/" id="searchform" method="get" class="">
    

    Cheers!
    Peter

    in reply to: URL structure incorrect #1006152

    Hi,

    Ich denke nicht, dass der Catcher das Problem verursacht. Weder der Button noch die Auswahlbox daneben haben irgendwelche Verweise auf ?s= im Code.

    LG,
    Peter

    in reply to: Links Broke on ENFOLD #1006149

    Hi,

    Ok, I’ll leave the thread open.

    Best regards,
    Peter

    in reply to: Toolset – Custom Search – Problem with Enfold (AJAX?) #1006147

    Hey mm3np22f,

    I’m not sure if the code breaks the ajax function but I get a javascript error on your website. This code:

    
    <script type="text/javascript">
    jQuery( document ).ready( function( $ ) {
    	var extra_css = $( "#views-extra-css" ) ? $( "#views-extra-css" ).text() : null;	if( extra_css ) {		$( 'head' ).append( '<style>' + extra_css + '</style>' );
    		$( "#views-extra-css" ).remove();	}
    	$( 'head' ).append( $( "#views-extra-css-ie7" ).html() );
    	$( "#views-extra-css-ie7" ).remove();});
    </script>
    

    is loaded before the jquery.js script and triggers following error:

    
    ReferenceError: jQuery is not defined
    

    Please move it to the footer or remove it and check the ajax search again.

    Best regards,
    Peter

    Hey elsengold,

    It seems like a third party plugin replaces the default WooCommerce quantity selector with a custom selector. Please try to deactivate all plugins except WooCommerce and check if this solves the issue. If yes activate the plugins one by one to find the culprit. With the current selector code it’s not possible to create a selector like demonstrated here: https://kriesi.at/themes/enfold-shop/product/casual-collection/

    Best regards,
    Dude

    in reply to: booking form and rating platform #1006144

    Hey Annett ,

    1) Enfold uses WooCommerce Bookings: https://woocommerce.com/products/woocommerce-bookings/ for the demo. If you just need a simple contact form (i.e. like demonstrated here: https://kriesi.at/themes/enfold/shortcodes/contact-forms/ ) you can also create a registration/booking form without additional plugins.

    2) Enfold does not offer such a feature out of the box but you could use WooCommerce and WooCommerce Bookings to create “Yoga courses” as products and to add a review section etc. to these product pages (demonstrated here: https://kriesi.at/themes/enfold-shop/product/dark-skirt-erebos/ – click on the review tab to see the review + rating).

    Best regards,
    Peter

    in reply to: car connect theme #1006141

    Hey Brett smith,

    I don’t know the car connect website but I’m pretty sure it uses our Enfold theme which you can buy here: https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990

    Best regards,
    Peter

    in reply to: Links Broke on ENFOLD #1006140

    Hey Dave,

    Where do you want to add the link? If you’ve access to the link code (i.e. text block element) please add

    
    class="noLightbox"
    

    to the a href element. The lightbox will then not try to open the link as image.

    Best regards,
    Dude

    in reply to: Incorrect Google Index #1006138

    Hi,

    do you think I should just wait for Google to reindex and sort this out?

    Yes – you can’t “force” Google to remove the search results.

    I was also wondering if I can create an error 404 page for the funny urls like this one: http://vicyourcoach.com/?sku=JN0-130-dumps.html . thanks?

    You can try to use a redirection plugin like https://wordpress.org/plugins/redirection/ to redirect all http://vicyourcoach.com/?sku= urls to a 404 page. I’d recommend to use a regular expression like:

    
    /?sku=(.*)
    

    to redirect these urls. A good documentation can be found here: https://redirection.me/support/

    Best regards,
    Dude

    in reply to: using :before to add an icon and a link #1006131

    Hi,

    The blog grid layout uses the avia post slider class to display the posts. If you want to customize the meta data output please copy the enfold/config-templatebuilder/avia-shortcodes/postslider.php to your child theme folder and modify the meta data code starting at line 532

    
    if($show_meta)
    

    Best regards,
    Dude

    in reply to: URL structure incorrect #1006121

    Hi,

    Mir wäre das bisher noch nicht untergekommen, aber vielleicht indexiert Google auch die Suchfunktion (Lupe rechts) bei Dir als “wichtigen” Link. Um dies zu verhindern füge bitte folgenden Code in die child theme functions.php ein:

    
    add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 );
    add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 );
    
    function avia_append_search_nav ( $items, $args )
    {	
      if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
      if(avia_get_option('header_position',  'header_top') != "header_top") return $items;
    
        if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
        {
            global $avia_config;
            ob_start();
            get_search_form();
            $form =  htmlspecialchars(ob_get_clean()) ;
    
            $items .= '
     	<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special">
                <a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a></li>
    ';
        }
        return $items;
    }
    

    Hierdurch wird das “nofollow” Attribut zum Suchlink (Lupe) hinzugefügt und Suchmaschinen davon abgehalten, diesem Link zu folgen.

    LG,
    Peter

    in reply to: Google maps element greyed out despite valid API Key #1006116

    Hi,

    Es wäre zB auch möglich dass irgendein Code hinzugefügt wird, der anderen HTML/JS Code invalide macht. Ich bin mal auf die Antwort gespannt.

    LG,
    Peter

    Hey tixxpff,

    No, unfortunately this is not possible without rewriting the cookie consent code. We use the disable tracking property ( https://developers.google.com/analytics/devguides/collection/analyticsjs/user-opt-out ) to deactivate google analytics. I’d recommend to use a third party plugin like Borlabs Cookie if you want to delay the loading process.

    Best regards,
    Peter

    in reply to: Google maps element greyed out despite valid API Key #1006102

    Hey!

    Ich lasse den Thread offen, falls sich etwas Neues ergeben sollte.

    LG,
    Peter

    in reply to: Removing 'All' category completely on portfolio #1006097

    Hey Amandah86,

    Please try to add this code to the child theme functions.php:

    
    add_action('wp_footer', 'ava_auto_click');
    function ava_auto_click(){
    ?>
    <script>
    jQuery(window).load(function() {
    setTimeout(function(){ jQuery('.page-id-3399 .book-cover-designs_sort_button').trigger('click'); }, 500);
    });	
    </script>
    <?php
    }
    

    It will trigger a click on the filter “Book Cover Designs” after the page loaded. You can replace 500 with a lower or higher value (if you want to delay the effect).

    Best regards,
    Dude

    in reply to: URL structure incorrect #1006095

    Hi,

    Ich schreibe auf Deutsch weiter, dann besteht die Gefahr nicht, dass wir aneinander vorbei reden. Dass die URL https://Domainname.de/test auch unter https://Domainname.de/test/?s= erreichbar ist, hängt mit der Funktionsweise von PHP Query Parameter zusammen. Grundsätzlich kann jede URL mit x-beliebigen Parametern aufgerufen werden und man kann es nicht verhindern. Man könnte auch statt ?= einen anderen Parameter anhängen und die URL würde trotzdem funktionieren (zB https://Domainname.de/test/?photovoltaik=1 würde auch richtig aufgerufen werden). Da hinter ?= im konkreten Fall nichts angehängt ist, wird die Suche nicht ausgelöst.

    Wenn es dich stört, dass die Seiten auch unter https://Domainname.de/test/?s= erreichbar sind, könntest du versuchen mit URL rewrites den Suchparameter zu ersetzen – dieser Artikel sollte Dir dabei helfen: https://www.wpbeginner.com/wp-tutorials/how-to-change-the-default-search-url-slug-in-wordpress/ (die URL würde dann zB https://Domainname.de/test/search/ sein).

    Ich hoffe dies beantwortet deine Frage.

    LG,
    Peter

    in reply to: ERROR WITH Customize Error 404 Page #1006082

    Hey 4EPIU,

    Please create us an admin account and we’ll look into it.

    Best regards,
    Dude

    in reply to: Incorrect Google Index #1006033

    Hi,

    The code seems to be correct now.

    Thanks I included the allow comment in the robots.txt however I am still getting those funny URLS in my search results.

    Please note the search results in Google won’t go away instantly, this can take several months. In a similiar case the seo expert Yoast wrote “After six months the […] URLs should be gone from the search results.” (see https://yoast.com/media-attachment-urls/ ).

    Best regards,
    Dude

    in reply to: activate search tool only for logged in users #1006028

    Hey jobalzer,

    Please try to add this code to the child theme functions.php:

    
    add_action('init', 'avia_remove_search_for_logged_out_users', 10); 
    function avia_remove_search_for_logged_out_users()
    {
    	if(! is_user_logged_in())
    	{
    		remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 );
    		remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 );
    	}
    }
    

    Best regards,
    Dude

    in reply to: WHICH STRUCTURE DO YOU RECOMMEND FOR SEO #1006026

    Hi,

    Special Heading does not allow links to be placed in words and other attributes that aid in indexing.

    As far as I know you can add links to the special heading. You just need to wrap the words into an a href element like:

    
    <a href="http://google.com" rel="nofollow" title="Google">Nice Headline</a>
    

    (screenshot: https://screenshotscdn.firefoxusercontent.com/images/b38450b1-0bda-494c-a5e6-5d27b26a7aaf.png ).

    Personally I’d recommend to use text blocks for the text content, the special heading element or text blocks for headlines. For code (iframes, javascript embeds, etc.) I’d recommend to use the code block element.

    Best regards,
    Dude

    in reply to: Google maps element greyed out despite valid API Key #1006013

    Hey Niemitz (www.bios-tec.de),

    Ich habe jetzt am Playground alle Plugins deaktiviert und auf Enfold umgeschaltet (damit ich sichergehen kann, dass kein Child Theme Code den Fehler verursacht) und die Karte wird nun bei mir richtig angezeigt. Ich gehe daher davon aus, dass entweder ein Plugin und/oder der Child Theme Code den Fehler verursacht. Ich würde daher empfehlen zuerst die Plugins einzeln zu aktivieren und nachzusehen, wo der Fehler wieder auftritt.

    LG,
    Peter

    in reply to: Base Price in Masonry Product type #1005986

    Hi,

    I’m not familiar with Germanized but you can ask the plugin author which function you can use to replace the German Marketpress code:

    
    WGM_Price_Per_Unit::get_price_per_unit_string($product)
    

    Best regards,
    Dude

    in reply to: URL structure incorrect #1005985

    Hey finon,

    The ?= query parameter is added by wordpress and is required for the search function (see link in private data). What do you mean with “all pages are additionally displayed”?

    Best regards,
    Dude

    in reply to: Scroll To Top – change window_offset #1005978

    Hi,

    I fixed it. I replaced line 627 in enfold/js/shortcodes.js

    
    window.location.href = url;
    

    with

    
    $(this).prev('a.av-screen-reader-only').trigger('click');
    
    

    Best regards,
    Dude

    in reply to: How can I create traditional video gallery? #1005941

    Hi,

    Enfold does not come with such a video gallery out of the box. The website you showed us uses this plugin: https://vimeography.com/ to create the gallery.

    I played around a bit and this code gave me similiar results (you can use the debug mode to add the code to your advanced layout builder – see https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode but you need to replace the images with images from your server):

    
    [av_image src='https://mywebsite.com/image.jpg' attachment='32815' attachment_size='full' align='center' styling='' hover='' link='manually,https://vimeo.com/119811742' target='' caption='' font_size='' appearance='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' copyright='' animation='no-animation' av_uid='av-jlotu786' custom_class='' admin_preview_bg=''][/av_image]
    
    [av_one_third first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' link='' linktarget='' link_hover='' padding='0px' border='' border_color='' radius='0px' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-1h5ukco']
    
    [av_image src='https://mywebsite.com/image.jpg' attachment='32815' attachment_size='full' align='center' styling='' hover='' link='manually,https://vimeo.com/119811742' target='' caption='' font_size='' appearance='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' copyright='' animation='no-animation' av_uid='av-jlotu786' custom_class='' admin_preview_bg=''][/av_image]
    
    [/av_one_third][av_one_third min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' link='' linktarget='' link_hover='' padding='0px' border='' border_color='' radius='0px' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-13zvdns']
    
    [av_image src='https://mywebsite.com/image.jpg' attachment='32815' attachment_size='full' align='center' styling='' hover='' link='manually,https://vimeo.com/119811742' target='' caption='' font_size='' appearance='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' copyright='' animation='no-animation' av_uid='av-jlotu786' custom_class='' admin_preview_bg=''][/av_image]
    
    [/av_one_third][av_one_third min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' link='' linktarget='' link_hover='' padding='0px' border='' border_color='' radius='0px' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_breaking='' mobile_display='' av_uid='av-29iwzs']
    
    [av_image src='https://mywebsite.com/image.jpg' attachment='32815' attachment_size='full' align='center' styling='' hover='' link='manually,https://vimeo.com/119811742' target='' caption='' font_size='' appearance='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' copyright='' animation='no-animation' av_uid='av-jlotu786' custom_class='' admin_preview_bg=''][/av_image]
    
    [/av_one_third]
    

    I simply added 4 image elements (Media elements) to the page builder and linked all of them to vimeo videos. Then I added 3 columns to the page builder and drag’n’droped 3 images into the columns. The remaining image stays at the top of the columns and is displayed as full size image.

    Best regards,
    Dude

    in reply to: traslate spanish #1005933

    Hi,
    You don’t need to buy an extra plugin.

    1) Please add this code to the child theme functions.php:

    
    /* Following code changes "You are here:" in front of breadcrumbs */ 
    add_filter('avia_breadcrumbs_args', 'avia_change_you_are_here_breadcrumb', 10, 1);
    function avia_change_you_are_here_breadcrumb($args){
    $args['before'] = "You are here: ";
    return $args;
    }
    

    and replace “You are here” with your custom/translated text.

    2) Please add this code to the child theme functions.php:

    
    add_filter('avf_portfolio_sort_first_label','new_first_label');
    function new_first_label() {
    $first_item_name = "All";
    return $first_item_name;
    }
    

    and replace “All” with your custom/translated text.

    Best regards,
    Dude

    in reply to: Permalinks don't work anymore #1005925

    Hey Xinspirit,

    I tried to log in but I got the error message: “ERROR: The password you entered for the username support is incorrect. Lost your password?”. Please check the login credentials.

    Best regards,
    Dude

    in reply to: SSL issue with Enfold theme settings #1005924

    Hi,

    Glad it works now :)

    Best regards,
    Dude

Viewing 30 posts - 721 through 750 (of 9,352 total)