Forum Replies Created
-
AuthorPosts
-
Hi,
Glad I could help you :)
Best regards,
DudeHi,
Yes, Günter (our dev) or I will look into it. I’m pretty sure the javascript function which creates the modal popup (window where you can insert the code/text) breaks the iframe code and converts ® to ® but we need to investigate it a bit more. It should be fixed with the next update.
Best regards,
DudeHi,
Glad I could help you :)
Best regards,
DudeHi,
The culprit was your custom code in the child theme functions.php file. I had to modify the register_sidebar function for the shop page a bit:register_sidebar( array( 'name' => 'Sidebar Shop', 'id' => 'sidebar-shop', 'before_widget' => '<section id="%1$s" class="widget clearfix %2$s">', 'after_widget' => '<span class="seperator extralight-border"></span></section>', 'before_title' => ' <h3 class="widgettitle">', 'after_title' => '</h3> ' ) );
I’d suggest to modify the other register_sidebar functions too – some sample code can be found in enfold\includes\admin\register-widget-area.php
Best regards,
DudeHi!
Also see: https://kriesi.at/support/topic/enfold-pagebuilder-changes-amazon-iframe-code/
Best regards,
PeterHi,
Ok in this case we need a workaround – please try to move the ®ion=US parameter to the very beginning of the query string like:
<iframe style="width: 120px; height: 240px;" src="//ws-na.amazon-adsystem.com/widgets/q?region=US&ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ac&ref=tf_til&ad_type=product_link&tracking_id=bzhealthymama-20&marketplace=amazon®ion=US&placement=B00AQFGL3O&asins=B00AQFGL3O&linkId=445f99cfce63a9b5644914b45cd44be8&show_border=false&link_opens_in_new_window=false&price_color=333333&title_color=0066c0&bg_color=ffffff" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"> </iframe>
So basically you need to move ®ion=US to the ? sign, then place the & after US. It seems like javascript converts the ® to the registered sign character. I’ll look into it but this should temporarily solve the issue.
Best regards,
DudeHi,
Könntest Du mir bitte bei der Clean-Version ( https://clean.willenskraft.co.at/ ) einen Admin Account einrichten und mir die Zugangsdaten schicken. Bitte richte mir auch einen ftp Account ein, damit ich die Dateien modifizieren kann.
LG,
DudeJuly 26, 2018 at 2:54 pm in reply to: Exclude category or tag from Masonry pull/avoid duplicate posts on frontpage #990272Hi,
You can tr to combine the category__not_in with the category__in parameter like:
add_filter('avia_masonry_entries_query', 'avia_masonry_custom_query'); function avia_masonry_custom_query( $query ) { $exclude_cat = array("category__in" => array(1), "category__not_in" => array(2)); $query = array_merge((array)$exclude_cat, (array)$query); return $query; }
Replace 1 with the category id of category 1 and 2 with the category id of category 2.
Best regards,
DudeHi,
Another user reported the page builder alters the iframe code if the code is embedded in a standard text field/element. Did you try to use the code block element to embed the iframe ( screenshot: http://www.clipular.com/c/5571279189704704.png?k=mCWLt2MmgiyEVvFqRDnMQjju3hk ) ?
Best regards,
DudeHi denisesl23!
Did you try to use the code block element to embed the iframe ( screenshot: http://www.clipular.com/c/5571279189704704.png?k=mCWLt2MmgiyEVvFqRDnMQjju3hk )?
Best regards,
PeterHi!
Great, I’m glad you found the culprit :)
Best regards,
PeterHi,
Great – then I can close this thread :)
Best regards,
DudeHi,
Ok I tested the amp plugin ( https://de.wordpress.org/plugins/accelerated-mobile-pages/ ) on my server and the category pages should work flawlessly. Try following – go to this page: https://www.coiffure-christele-extensions.fr/wp-admin/admin.php?tabid=opt-go-premium&page=amp_options and make sure the “Archives [Category & Tags]” setting is activated (green color).
Best regards,
DudeHey Coiffure-christele,
Your website is well optimized – see https://gtmetrix.com/reports/www.coiffure-christele-extensions.fr/ThLAWAXc but the size is over 2,3 mb (equals the size of a mp3 file!)
The images visage-femme-cheveux-lisses.png, cheveux-ciseaux-peigne.png, lissage-bresilien-chocolizzi.png, steam-pod.png, background-abstrait.jpg, entree-salon-coiffure-christele-705×469.jpg and vitrine-salon-coiffure-christele-705×469.jpg add over 1 mb to the website size – I’d recommend to reduce the image file sizes.
You can also try to install a cache like Borlabs Cache to speed up your website or to enable gzip by adding this code to your htaccess file:
<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>
Reference: https://gtmetrix.com/enable-gzip-compression.html
I’ll look into the amp issue – I need to test this on my server…
Best regards,
DudeHey weblinedesign,
Hi, it’s fixed now. I had to deactivate the slider markup caching option ( https://cdn.wpml.org/wp-content/uploads/2017/09/Disable-the-use-slider-markup-caching-option.png?x30111 )
Best regards,
DudeJuly 25, 2018 at 6:49 pm in reply to: Big question and much bigger request: filter portfolio entries multiple times #989875Hi,
1) The site is bilingual. Since we have entered the second filter hard in the code, the translation does not work here. Do you have a solution?
I could not find a translation plugin on your dev website. This page http://rupertfey.com/garden-girls_n18/ is password protected. If you’re using a plugin like wpml you can follow the instructions here: https://wpml.org/de/faq/so-funktioniert-string-ubersetzung/ to make the strings/filters translatable.
2) Can I change the filters in the order?
Probably this plugin https://de.wordpress.org/plugins/taxonomy-terms-order/ will help you to change the category/terms order which should also affect the filter order.Best regards,
DudeHi,
Ich würde folgenden Code empfehlen:
#top #wrap_all .avia-table.avia-data-table.avia_pricing_minimal{ table-layout: auto !important; }
Dadurch passen sich die Spaltenbreiten automatisch der Länge des Textes an. Natürlich kann der Code um eine benutzerdefinierte Klasse ergänzt werden – zB bei “left”:
#top #wrap_all .avia-data-table.avia_pricing_minimal.left { table-layout: auto !important; }
Best regards,
DudeHey Aston_Com,
You need to add the noHover class to your code like:
<a href="" class="noHover"> <img src="" alt="" /> </a>
The code is required to create the mouse over/hover effect. The nohover css class will deactivate this feature.
Best regards,
DudeJuly 25, 2018 at 6:19 pm in reply to: WooCommerce DE Integration für digitale Produkte und Gutscheine #989855Hi,
Schön, dass ich helfen konnte!
lg,
DudeHi,
Try this code instead
$terms = get_the_terms($the_id, $taxonomy); $output_term_links = ''; if ($terms && ! is_wp_error($terms)) { foreach($terms as $term) { $output_term_links .= '<a href="'.get_term_link( $term->slug, $taxonomy) .'" rel="tag" class="'.$term->slug.'">'.$term->name.'</a>'; } $cats .= $output_term_links; }
Best regards,
DudeHi,
Ich konnte den Fehler nicht reproduzieren. Ich habe es auf zwei Seiten getestet und hier: https://www.willenskraft.co.at/wp-admin/post.php?post=348&action=edit (ganz unten) den Text “Unsere Website …” ohne Probleme hinzufügen können ( https://www.willenskraft.co.at/kursangebot-einzelstunden-gruppenkurse/ )
Probiere einmal die Website mit einem anderen Browser zu editieren.
Ferner kannst Du probieren das Plugin “Call Now Button” zu deaktivieren – es verursacht auf der Editor-Seite einen Javascript-Fehler der vielleicht die Ursache des Problems ist.
LG,
DudeHi,
Please try this code – add it to the child theme functions.php:
add_action( 'init', 'after_enfold_theme_setup' ); function after_enfold_theme_setup() { remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 ); }
Best regards,
DudeHi,
Ok, I’ll leave this thread open for now :)
Best regards,
DudeJuly 25, 2018 at 5:01 pm in reply to: Bilder können nicht mehr über Galerie oder Bildfeld eingefügt werden #989807Hi!
Ich vermute die Plugins verursachen diesen Fehler. Deaktiviere einmal alle Plugins und überprüfe, ob der Fehler noch immer auftritt. Falls nicht, aktiviere die Plugins nacheinander und überprüfe, bei welchem Plugin der Fehler wieder auftritt.Falls der Fehler auch ohne Plugins auftritt, erstelle uns bitte einen Admin Account und wir sehen uns die Sache an.
Best regards,
PeterHey aurove!
Please try to install a plguin like https://de.wordpress.org/plugins/really-simple-ssl/ and check if this solves the issue.
Best regards,
PeterHey akapoun,
Füge bitte in das “Copyright” Feld (Theme Einstellungen > Footer) einfach folgenden Code ein (zB ganz am Anfang oder Ende):[nolink]
LG,
DudeHi,
I can only point you to the right direction because this topic is beyond the scope of our support forum. You an use this code to modify the ajax search query:
add_filter('avf_ajax_search_function', 'avia_init_custom_ajax_search', 10, 4); function avia_init_custom_ajax_search($function_name, $search_query, $search_parameters, $defaults) { $function_name = 'avia_custom_ajax_search'; return $function_name; } function avia_custom_ajax_search($search_query, $search_parameters, $defaults) { global $query; $tempquery = $query; if(empty($tempquery)) $tempquery = new WP_Query(); $tempquery->query_vars = $search_parameters; new WP_Query($tempquery); $posts = $tempquery->posts; return $posts; }
Basically you need to replace
$tempquery->query_vars = $search_parameters; new WP_Query($tempquery);
with your custom query code – i.e. add additional query/search parameters or call a custom query function (like relevanssi_do_query() if you’re using Relevanssi ( https://www.relevanssi.com/knowledge-base/relevanssi_do_query/ ).
Best regards,
DudeHi olierb!
As far as I know our theme does not load any external javascript files (also not from http://code.jquery.com/ )…
Please try to deactivate all plugins and check if the error still pops up. If not activate the plugins one by one and check which plugin loads the js file.
If the error shows up if only the theme is activated please create us an admin account and we’ll look into it.
Best regards,
PeterHi!
You can use a service like https://imgur.com/upload and post the link to the image.
Personally I’d recommend to us the “Copyright” option field (Enfold > Theme Options > Footer) to add some custom text to the socket area. If you want to add some text to the footer widgets you can use a simple text widget (Appearance > Widgets)
Regards,
PeterJuly 23, 2018 at 6:59 pm in reply to: Enfold and the "Opt-Out Facebook Pixel (DSGVO / GDPR)" Plugin #988829Hi,
Glad I could help you :)
Best regards,
Dude -
AuthorPosts