Forum Replies Created
-
AuthorPosts
-
August 20, 2018 at 8:44 am in reply to: Demo dummies (pages, media files) could not be imported! #999217
Hi,
Glad you solved the problem :)
Best regards,
DudeHey CW,
You could try to install a plugin like: https://wordpress.org/plugins/flip-boxes/ to integrate such a feature in Enfold.
Best regards,
DudeHi,
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,
DudeAugust 20, 2018 at 8:37 am in reply to: Change link for "return to shop" button in woocommerce cart #999209Hi,
Great, glad I could help you :)
Best regards,
DudeAugust 19, 2018 at 6:05 pm in reply to: Change link for "return to shop" button in woocommerce cart #999005Hi,
Ok, I’ll leave this thread open.
Best regards,
DudeAugust 19, 2018 at 5:51 pm in reply to: Change link for "return to shop" button in woocommerce cart #998999Hey 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,
PeterHey 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,
DudeHi,
Kein Problem. Ich lasse den Thread offen, falls es zu diesem Thema neue Entwicklungen geben sollte.
LG,
DudeHey 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,
DudeHi,
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,
DudeHi,
Glad it works now.
Best regards,
DudeHey 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,
DudeHi,
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,
DudeHi,
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,
DudeHey 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,
DudeHi hector1069!
Duplicated of https://kriesi.at/support/topic/layout-of-page/ , I’ll close this thread.
Best regards,
PeterThis reply has been marked as private.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,
DudeHey!
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,
PeterHi!
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,
PeterAugust 18, 2018 at 1:06 pm in reply to: Partner logo element problem (repeating / looping image) #998701Hi,
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,
DudeHi,
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,
DudeHi!
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,
PeterHi,
If you want to hide the header completely with css try this code:
#top #wrap_all #header_main { display: none; }
Best regards,
DudeHi,
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,
DudeHi,
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,
DudeHi,
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,
DudeHi,
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,
DudeHi,
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,
DudeHi,
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 -
AuthorPosts