Forum Replies Created

Viewing 30 posts - 1,051 through 1,080 (of 9,352 total)
  • Author
    Posts
  • in reply to: Demo dummies (pages, media files) could not be imported! #999217

    Hi,

    Glad you solved the problem :)

    Best regards,
    Dude

    in reply to: Flip boxes #999216

    Hey CW,

    You could try to install a plugin like: https://wordpress.org/plugins/flip-boxes/ to integrate such a feature in Enfold.

    Best regards,
    Dude

    in reply to: Color link working partially #999214

    Hi,

    Please try this code:

    
    #top #wrap_all .container_wrap strong a {
    color: #1a0dab !important;
    }
    

    Don’t forget to clear your browser cache and (if necessary) your wordpress cache. Maybe you need to regenerate the dynamic stylesheets. Go to Enfold > Performance and set the “CSS file merging and compression” setting to “Disable”. Then save the theme options. Afterwards set the setting to “Enable” and save the settings again. You also need to clear your browser cache.

    Best regards,
    Dude

    Hi,

    Great, glad I could help you :)

    Best regards,
    Dude

    Hi,

    Ok, I’ll leave this thread open.

    Best regards,
    Dude

    Hey kpcradix!

    Use this code to change the back to shop cart url:

    
    
    /**
     * Changes the redirect URL for the Return To Shop button in the cart.
     *
     * @return string
     */
    function wc_empty_cart_redirect_url() {
    	return 'http://mywebsite.com/sample-page/';
    }
    add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );
    
    

    and replace http://mywebsite.com/sample-page/ with the url of the page you want to redirect to.

    You can insert it into the functions.php of your child theme. If you don’t use a child theme I’d recommend to create a small plugin, otherwise the code will be removed on every theme update.

    You can use this code for the plugin:

    
    
    <?php
    /*
    Plugin Name: Enfold Custom Code
    Description: Enfold Custom Code
    Version:     1.0
    Author:      InoPlugs
    Plugin URI:  https://inoplugs.com
    Author URI:  https://inoplugs.com
    */
    
    /**
     * Changes the redirect URL for the Return To Shop button in the cart.
     *
     * @return string
     */
    function wc_empty_cart_redirect_url() {
    	return 'http://mywebsite.com/sample-page/';
    }
    add_filter( 'woocommerce_return_to_shop_redirect', 'wc_empty_cart_redirect_url' );
    

    – replace http://mywebsite.com/sample-page/, then save it to a text file with the extension .php (i.e. enfold_custom_code.php).

    Then upload this text fiele to wp-content/plugins/. Afterwards go to the wordpress admin panel > Plugins and activate the new plugin.

    Best regards,
    Peter

    in reply to: Trennzeichen zwischen den Elementen des Hauptmenüs #998943

    Hey meyerhuber-wondratschek-archiv,

    Versuche bitte folgenden Code in das Quick CSS Feld einzufügen, um die Trennzeichen zu entfernen:

    
    #top #wrap_all .av_seperator_small_border .av-main-nav > li > a > .avia-menu-text{
    border-color: transparent;
    }
    
    #top #wrap_all .av_seperator_small_border .av-main-nav > li#menu-item-471 > a > .avia-menu-text
    {
    border-color: #e1e1e1;
    }
    

    LG,
    Dude

    in reply to: Error in structured data (Missing: name) #998937

    Hi,

    Kein Problem. Ich lasse den Thread offen, falls es zu diesem Thema neue Entwicklungen geben sollte.

    LG,
    Dude

    in reply to: Add code before body tag #998923

    Hey Charlotte,

    Add this code to your child theme functions.php:

    
    
    function avia_custom_footer_javascript() {
        ?>
    <!– Begin TradeTracker SuperTag Code –>
        <?php
    }
    add_action('wp_footer', 'avia_custom_footer_javascript');
    

    and replace:

    
    <!– Begin TradeTracker SuperTag Code –>
    

    with your TradeTracker code.

    Best regards,
    Dude

    in reply to: Error in structured data (Missing: name) #998920

    Hi,

    Unfortunately I also don’t see any reasons why these errors pop up and I can’t offer you a “fix” at the moment. Your last screenshot: https://www.dropbox.com/s/sy9qloh5smyua2x/web3.PNG?dl=0 doesn’t show any errors too. The schema.org structure seems to be valid and I can’t reproduce these errors with the test tool. I also can’t reproduce this issue on my websites. Personally I thinks it’s a false positive and I’d simply ignore it.

    If you really want to get rid of the errors you could try to deactivate the schema.org markup in the theme option panel (Enfold > Theme Options >Layout Builder > “Automated Schema.org HTML Markup” setting) – then the theme won’t add any markup. You could then try to install third party plugins to add some markup to the source code but I doubt this will give you better results.

    Best regards,
    Dude

    in reply to: Update #998877

    Hi,

    Glad it works now.

    Best regards,
    Dude

    in reply to: Google Analytics Code into Header #998876

    Hey MarkusLange,

    I can see the code in the footer area. Make sure you’re not logged in, otherwise you might not see the code. If you want to add it to the head section, use this code and place it into the functions.php:

    
    
    function avia_custom_head_javascript() {
        ?>
    <!– Global site tag (gtag.js) – Google Analytics –>
    <script async src='https://www.googletagmanager.com/gtag/js?id=UA-1059009-17'></script>
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());
    
    gtag('config', 'UA-1059009-17');
    </script>
        <?php
    }
    add_action('wp_head', 'avia_custom_head_javascript');
    

    Best regards,
    Dude

    in reply to: Expanding Content Hidden in Tab Views #998875

    Hi,

    I checked the source code of http://saddlecreektm.wpengine.com/shop-dine/ (hosted on WPengine) and I can’t find the function ava_auto_resize in the code. Please create us an admin account and we’ll look into it.

    Best regards,
    Dude

    in reply to: Portfolio entries #998874

    Hi,

    The code Josue provided won’t work “out of the box” and is also not intended to be used in functions.php. It’s just a starting point for a custom php class. If you don’t know how to implement and use the code please hire a developer who can implement it for you.

    Best regards,
    Dude

    in reply to: Changes in options theme #998872

    Hey hector1069,

    Maybe you need to regenerate the dynamic stylesheets. Go to Enfold > Performance and set the “CSS file merging and compression” setting to “Disable”. Then save the theme options. Afterwards set the setting to “Enable” and save the settings again. You also need to clear your browser cache.

    Best regards,
    Dude

    in reply to: Layout of page #998865

    Hi hector1069!

    Duplicated of https://kriesi.at/support/topic/layout-of-page/ , I’ll close this thread.

    Best regards,
    Peter

    in reply to: Installation #998731
    This reply has been marked as private.
    in reply to: Script killing site – we need this for compliance #998728

    Hi,

    If you want to embed the script on certain pages only you can use the “Code” element of the advanced layout builder. Make sure the script uses the right quotes

    
    <script type="text/javascript" src="https://www.cqc.org.uk/sites/all/modules/custom/cqc_widget/widget.js?data-id=1-2810512121&data-host=www.cqc.org.uk&type=location"></script>
    

    If you want to load it on all pages you can use this php function – add it to your child theme functions.php:

    
    function avia_custom_footer_javascript() {
        ?>
    <script type="text/javascript" src="https://www.cqc.org.uk/sites/all/modules/custom/cqc_widget/widget.js?data-id=1-2810512121&data-host=www.cqc.org.uk&type=location"></script>
        <?php
    }
    add_action('wp_footer', 'avia_custom_footer_javascript');
    

    Best regards,
    Dude

    in reply to: Enfold; Socket – enable URL links? #998727

    Hey!
    You can add a menu to the socket/footer. Go to Appearance > Menus and create a new menu. Add some links to it and save the new menu. Then click on the “Manage Locations” tab and select the new menu for the “Enfold Footer Menu” (dropdown on the right side).

    Regards,
    Peter

    in reply to: Redirect to a custom page after logging out #998726

    Hi!

    Then you can use this code

    
    
    function my_login_redirect( $redirect_to, $request, $user ) {
        //is there a user to check?
        if (isset($user->roles) && is_array($user->roles)) {
            //check for customers
                // redirect them to another URL, in this case, the homepage 
                $redirect_to = 'https://mywebsite.com/customurl';
        }
    
        return $redirect_to;
    }
    
    add_filter( 'login_redirect', 'my_login_redirect', 10, 3 );
    

    Best regards,
    Peter

    in reply to: Partner logo element problem (repeating / looping image) #998701

    Hi,
    I debugged the issue and I’m pretty sure it’s a WPML bug (see alo https://kriesi.at/support/topic/alb-elements-are-missing-in-translated-pages-wpml/ ).

    I’d recommend to report this issue to the WPML support team. If they want to debug the issue they just need to open up enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php

    Around line 512 they just need to replace:

    
    $this->slides = get_posts(array(
    	'include' => $ids,
    	'post_status' => 'inherit',
    	'post_type' => 'attachment',
    	'post_mime_type' => 'image',
    	'order' => 'ASC',
    	'orderby' => 'post__in')
    	);
    

    with

    
    $this->slides = get_posts(array(
    	'include' => $ids,
    	'post_status' => 'inherit',
    	'post_type' => 'attachment',
    	'post_mime_type' => 'image',
    	'order' => 'ASC',
    	'orderby' => 'post__in')
    	);
    
    print_r($ids);
    print_r($this->slides);
    

    and they’ll notice that the get_posts() function (a standard wordpress function) returns the wrong items if WPML is activated. It’s something we can’t fix on our end as far as I know.

    Best regards,
    Dude

    in reply to: Products filter widget not appearing #998693

    Hi,

    The culprit was some custom css code in the quick css field (at the very bottom):

    
    .woocommerce.woocommerce-page .container .av-content-small.units {
        width: 100%;
        border: none;
    }
    

    I commented out the code and now the sidebar including the widgets shows up on the shop pages.

    Best regards,
    Dude

    in reply to: Redirect to a custom page after logging out #998691

    Hi!

    Add this code to the functions.php or plugin file:

    
    add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 );
    function avia_breadcrumbs_trail_mod( $trail, $args ) 
    {
    	foreach ($trail as $key => $value)
    	{
    		if(strpos($value, '/product-category/') !== false)
    		{
    			unset($trail[$key]);
    		}
    	}
    	return $trail;
    }
    

    It will remove all breadcrumb links which contain the “product-category” slug in the url.

    Regards,
    Peter

    in reply to: rosponsive shows enfold logo and search-button #998689

    Hi,

    If you want to hide the header completely with css try this code:

    
    #top #wrap_all #header_main {
        display: none;
    }
    

    Best regards,
    Dude

    in reply to: Vooplayer and 'Z'-index #998688

    Hi,

    You can try to reduce the z-index of the arrow with css code:

    
    #top #wrap_all .scroll-down-link {
        z-index: 1;
    }
    

    If you want to remove it you can use this code:

    
    #top #wrap_all .scroll-down-link {
        display:none;
    }
    

    Best regards,
    Dude

    in reply to: Vooplayer and 'Z'-index #998687

    Hi,

    You can try to reduce the z-index of the arrow with css code:

    
    #top #wrap_all .scroll-down-link {
        z-index: 1;
    }
    

    If you want to remove it you can use this code:

    
    #top #wrap_all .scroll-down-link {
        display:none;
    }
    

    Best regards,
    Dude

    in reply to: Vooplayer and 'Z'-index #998686

    Hi,

    You can try to reduce the z-index of the arrow with css code:

    
    #top #wrap_all .scroll-down-link {
        z-index: 1;
    }
    

    If you want to remove it you can use this code:

    
    #top #wrap_all .scroll-down-link {
        display:none;
    }
    

    Best regards,
    Dude

    in reply to: Vooplayer and 'Z'-index #998685

    Hi,

    You can try to reduce the z-index of the arrow with css code:

    
    #top #wrap_all .scroll-down-link {
        z-index: 1;
    }
    

    If you want to remove it you can use this code:

    
    #top #wrap_all .scroll-down-link {
        display:none;
    }
    

    Best regards,
    Dude

    in reply to: Vooplayer and 'Z'-index #998684

    Hi,

    You can try to reduce the z-index of the arrow with css code:

    
    #top #wrap_all .scroll-down-link {
        z-index: 1;
    }
    

    If you want to remove it you can use this code:

    
    #top #wrap_all .scroll-down-link {
        display:none;
    }
    

    Best regards,
    Dude

    in reply to: Vooplayer and 'Z'-index #998683

    Hi,

    You can try to reduce the z-index of the arrow with css code:

    
    #top #wrap_all .scroll-down-link {
        z-index: 1;
    }
    

    If you want to remove it you can use this code:

    
    #top #wrap_all .scroll-down-link {
        display:none;
    }
    

    Best regards,
    Dude

Viewing 30 posts - 1,051 through 1,080 (of 9,352 total)