Forum Replies Created
-
AuthorPosts
-
Hi,
Glad Victoria could help you. We do not sanitize the quotes because this may break other things.
Best regards,
DudeHi,
The conditionals “is_archive()” or “is_tag()” will return on all tag or category archive pages. Combined with the command return your code will not fire. If you want to execute the code below this line on archive/tag pages too simply replace:
if( !is_single(array(15255)) || is_archive() || is_tag() ) return;
with
if( is_single() && !is_single(15255) ) return;
Best regards,
DudeHi,
Great, glad you found a solution :)
Best regards,
DudeHi,
Great – glad we could help you :)
Best regards,
DudeJuly 19, 2018 at 7:12 pm in reply to: Abstände der Blog-Artikel in Mobile-Ansicht unterschiedlich! #987587Hi,
Schön, dass Du eine Lösung gefunden hast :)
LG,
DudeHey intweb24,
Yes you could create a custom child theme template. Copy enfold/includes/loop-index.php to our child theme folder (i.e. enfold-child/includes/loop-index.php). Then open up the file and replace:
$cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' ';
with:
$cats = get_the_terms($the_id, $taxonomy); $output_cat_links = ''; if ($cats && ! is_wp_error($cats)) { foreach($cats as $cat) { $output_cat_links .= '<a href="'.get_term_link( $cat->slug, $taxonomy) .'" rel="tag" class="'.$cat->slug.'">'.$cat->name.'</a>'; } $cats = $output_cat_links; }
I didn’t test the code but someone posted it here: https://wordpress.stackexchange.com/questions/130622/how-to-add-class-on-term-link an the answer was accepted.
Best regards,
DudeHi,
You can try to follow this tutorial: https://www.wpbeginner.com/beginners-guide/how-to-install-and-setup-google-tag-manager-in-wordpress/ and use this plugin: https://wordpress.org/plugins/insert-headers-and-footers/ to add custom scripts to the head section without coding. Setting up the google tag manager is beyond the scope of our support forum and you may need to hire a developer if you’re not familiar with the implementation of google tags.
Best regards,
DudeHey bulldog232,
Yes – add this code to the child theme functions.php
add_theme_support('avia_no_session_support');
The portfolio breadcrumb on single pages will not work as expected though because it requires session cookies to work properly.
Best regards,
DudeHi,
Please try to add this code to your child theme functions.php file:
add_filter('avf_logo_link','av_change_logo_url'); function av_change_logo_url($link) { $lang = pll_current_language(‘locale’); if ($lang == 'fr_FR') { $link = "https://fallback.zugerberg-finanz.ch/fr/home-4/"; } return $link; }
Best regards,
DudeHi,
Great – glad I could help you :)
Best regards,
DudeJuly 19, 2018 at 6:26 pm in reply to: Google analytics exclude filters are not working anymore #987560Hi,
Please post a link to your website – I’ll check the console for errors.
Best regards,
DudeHi,
Enfold doesn’t add gzip code to the htaccess file etc. You can use a cache plugin like Borlabs Cache to add gzip compression or you can edit the htaccess file manually – a sample code snippet can be found here: https://gtmetrix.com/enable-gzip-compression.html :
<IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType DEFLATE font/ttf AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml # Remove browser bugs (only needed for really old browsers) BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent </IfModule>
Best regards,
DudeHi,
try to add this cod to the quick css field to remove the white background:
#top #wrap_all .logo img { background: none; }
Best regards,
DudeHi,
Hi raidbowz!
Please add this code to the child theme functions.php to show the product short description on the archive/shop page.
function woocommerce_after_shop_loop_item_title_short_description() { global $product; if ( ! $product->get_short_description() ) return; ?> <div itemprop="description"> <?php echo apply_filters( 'woocommerce_short_description', $product->get_short_description() ) ?></div> <?php } add_action('woocommerce_after_shop_loop_item_title', 'woocommerce_after_shop_loop_item_title_short_description', 5);
Best regards,
DudeHi,
Ich habe mich eingeloggt, konnte aber mangels Admin-Rechte den Code nicht bearbeiten. Ich habe als Selektor nun
#top .avia-data-table.avia_pricing_minimal.right tr td { text-align: right; }
für die CSS-Klasse “right” und
#top .avia-data-table.avia_pricing_minimal.left tr td { text-align: left; }
für die CSS-Klasse “left” getestet und beide funktionieren.
Best regards,
DudeJuly 19, 2018 at 5:56 pm in reply to: Google analytics exclude filters are not working anymore #987533Hi!
Please try to deactivate the javascript merging function (go to Enfold > Theme Options > Performance and set the “Javascript file merging and compression” setting to “disable”). Make also sure the “Load jQuery in your footer” and “Disable jQuery Migrate” checkboxes are not checked.
Cheers!
PeterHi,
We didn’t test a GTM Plugin with Enfold – but we didn’t receive a similar bug report recently.
Best regards,
DudeHi,
Please add this code to the quick css field to change the background color of the input fields to white:
#top #wrap_all .main_color .input-text, #top #wrap_all .main_color input[type='text'], #top #wrap_all .main_color input[type='input'], #top #wrap_all .main_color input[type='password'], #top #wrap_all .main_color input[type='email'], #top #wrap_all .main_color input[type='number'], #top #wrap_all .main_color input[type='url'], #top #wrap_all .main_color input[type='tel'], #top #wrap_all .main_color input[type='search'], #top #wrap_all .main_color textarea, #top #wrap_all .main_color select { background-color: #fff; }
You can replace #fff with any other color value to change the color.
Best regards,
DudeJuly 19, 2018 at 5:41 pm in reply to: qtranslateX language tags do not work after enfold update #987524Hi,
I’ll leave this thread open – maybe another user can share a solution.
Best regards,
DudeHi,
Tbh the screenshots didn’t help me – the preloader position and styling seems to be ok. However I found this post on stackoverflow which may solve your problem: https://stackoverflow.com/questions/42354572/how-to-add-a-loading-spinner-to-woocommerce-checkout-pageYou can try this code:
.woocommerce .blockUI.blockOverlay:before,.woocommerce .loader:before { height: 3em; width: 3em; position: absolute; top: 90%; left: 50%; margin-left: -.5em; margin-top: -.5em; display: block; content: ""; -webkit-animation: none; -moz-animation: none; animation: none; background: url('https://d3hwc4hobpbxnl.cloudfront.net/wp-content/uploads/2017/10/31101105/preloader.gif') center center; background-size: cover; line-height: 1; text-align: center; font-size: 2em; }
Best regards,
DudeHi,
Du könntest probieren mit position:absolute und right/top die Position zu ändern – zB mit:
#top #wrap_all #test1 { background-color: transparent!important; position: absolute; left: 100px; top: 150px; z-index: 55; border: none!important; }
Falls dieser Code nicht funktioniert, schicke mir bitte einen Link zur Seite, dann sehe ich mir den Code näher an
Best regards,
DudeHi,
You can also paste the code into enfold/functions.php or create a custom plugin – you can use this code:
<?php /* Plugin Name: Enfold Change From E-Mail Description: Replace default contact form from e-mail with admin e-mail Version: 1.0 Author: InoPlugs Plugin URI: https://inoplugs.com Author URI: https://inoplugs.com */ function change_cf_from() { return " (Email address hidden if logged out) "; } add_filter('avf_form_from', 'change_cf_from', 10);
– paste it into a text file, replace (Email address hidden if logged out) with your admin e-mail address and save the text file with a php extension (i.e. name it enfoldcontact.php). Then upload the file to wp-content/plugins/ and activate the plugin (wordpress admin interface > plugins > installed plugins).
The reason why we decided to set the from tag to the sender e-mail address is the reply workflow. The “Reply-To” e-mail-header tag doesn’t work with all e-mail clients and web-mail providers. If the e-mail is send from the admin e-mail address the reply message will not be send to the customer/sender e-mail address automatically but it will be send to the admin e-mail by default. To avoid this and to make the reply workflow as easy as possible we decided to set the from email-header-tag to the sender e-mail – then the reply message will be send to this e-mail address automatically if you click on “Reply”.
Best regards,
DudeJuly 18, 2018 at 9:06 pm in reply to: Abstände der Blog-Artikel in Mobile-Ansicht unterschiedlich! #987179Hi
Versuche bitte diesen Code – er sollte die Abstände aller Elemente nivellieren und dann 20px Abstand zu allen Elementen (nach unten hin) hinzufügen :
@media only screen and (max-width: 767px){ .responsive #top #wrap_all .slide-entry.flex_column { margin-bottom: 0; } #top #wrap_all .avia-content-slider .slide-entry-wrap { margin-bottom: 0; } .responsive #top #wrap_all .avia-content-slider-even .slide-entry.slide-parity-odd, .responsive #top #wrap_all .avia-content-slider-odd .slide-entry.slide-parity-even { margin-bottom: 20px; } }
Regards,
PeterHi,
Perfect – glad I could help you :)
Best regards,
DudeHi,
Perfect – glad I could help you :)
Best regards,
DudeHi,
Perfect – glad I could help you :)
Best regards,
DudeHi,
Perfect – glad I could help you :)
Best regards,
DudeHi,
Perfect – glad I could help you :)
Best regards,
DudeHi,
Perfect – glad I could help you :)
Best regards,
Dude -
AuthorPosts