Forum Replies Created
-
AuthorPosts
-
Hi,
I’d recommend to reinstall the theme via ftp: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#ftp-install
Connect to ftp, go to wp-content/themes and rename the theme folder (“enfold”) to “enfold_bak”. Then download the new files from themeforest, unzip the theme files and upload them to wp-content/themes/enfold. Make sure the style.css file is located in wp-content/themes/enfold (file path wp-content/themes/enfold/style.css).
If this doesn’t help open up the child theme functions.php (or enfold functions.php if you’re not using a child theme and add tgis code at the very top (after the
error_reporting(0);
Best regards,
DudeHey Wes Bourke,
Unfortunately we do not offer volume discounts. We only sell our theme here https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990 and themeforest does not allow us to give volume discounts.
Best regards,
DudeAugust 31, 2018 at 8:38 am in reply to: Enfold Theme: how to change mobile icon on fullwidth submenu? #1003956Hi,
Please try to add this code to the quick css field:
@media only screen and (max-width: 767px){ .responsive #top #wrap_all .av-menu-mobile-active .av-subnav-menu > li a.av-icon-char:before { content: attr(data-av_icon); font-family: 'entypo-fontello'; } }
Best regards,
DudeHi,
Please disable sidebar on archive pages and add this code to the child theme functions.php:
add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2); function avia_change_post_layout($layout, $post_id) { if( is_shop() ) { $layout['current'] = $layout['sidebar_right']; $layout['current']['main'] = 'sidebar_right'; } return $layout; }
to show a sidebar on the shop page. If you want to show a sidebar on product archive pages too use this code:
add_filter('avia_layout_filter', 'avia_change_post_layout', 10, 2); function avia_change_post_layout($layout, $post_id) { if( is_shop() || is_product_category() ) { $layout['current'] = $layout['sidebar_right']; $layout['current']['main'] = 'sidebar_right'; } return $layout; }
Best regards,
DudeHey!
Sry I thought you want to show private posts to all users. You can use this code instead to show posts only to logged in users:
add_filter('avia_masonry_entries_query', 'avia_custom_query_extension', 10, 2); add_filter('avf_magazine_entries_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_blog_post_query', 'avia_custom_query_extension', 10, 2); function avia_custom_query_extension( $query, $params ) { if(is_user_logged_in()) $query['post_status'] = array('publish','private'); return $query; }
Cheers!
PeterHey them1948,
1) Es sollte auf dem NAS auch funktionieren.
2) Es handelt sich hierbei um einen bekannten Fehler, welcher mit dem nächsten Update behoben wird. Um das Problem zu umgehen kann Enfold entweder per ftp aktualisiert werden ( https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#reinstall-or-update-using-ftp ) oder Du modifizierst eine Datei und startest das Update dann über WordPress neu.
Hierzu lade bitte diese Datei herunter: https://pastebin.com/raw/epetJ1SG und speichere diese als class-pixelentity-theme-update.php ab. Dann ladee diese in den Ordner wp-content/themes/enfold/framework/php/auto-updates/ hoch und überschreibe dort die bestehende class-pixelentity-theme-update.php-Datei. Anschließend bitte sicherheitshalber 30 Sekunden warten und das Theme Update unter Dashboard > Aktualisierungen anstoßen.
Falls Du lieber selber patchen möchtest:
Öffnet die class-pixelentity-theme-update.php und ersetze Zeile 43:
$purchased = $api->wp_list_themes(true);
durch
$purchased = $api->wp_list_themes(true); // fixes a bug where $api->wp_list_themes returns several times the same theme/item data and breaks the envato update api because the theme updater tries to download the same theme several times and triggers a 429 error (see https://build.envato.com/api/#rate-limit) $filtered_purchased = array(); foreach ($purchased as $current) { if ( ! in_array($current, $filtered_purchased) ) { $filtered_purchased[] = $current; } } $purchased = $filtered_purchased;
LG,
DudeHi,
I fixed it now. Tbh I don’t think this is a theme bug however I found the culprit. We use the get_terms() function which excludes empty categories (categories without assigned posts) by default. WordPress does not count private posts to the total number of assigned posts of a category. Because there were no other posts assigned to the “private posts” category wordpress excludes this category from the get_terms() query and the side effect was that our magazine and masonry template didn’t show this category.
I added
array('hide_empty'=>true)
to all occurrences of get_terms() in config-templatebuilder/avia-shortcodes/av-helper-masonry.php and config-templatebuilder/avia-shortcodes/magazine/magazine.php. We’ll probably include another filter with the next update which will enable you to set the hide_empty value to true.
Kind regards,
DudeHey DimaP,
If you notice that font files aren’t loading correctly, or receive the following error in the browser console then you need to modify your server configuration.
This is because web fonts are subject to Cross-Origin Resource Sharing (CORS). CORS is a way for a remote host to control access to certain types of resources.
To resolve this issue you need to ensure that your server is sending the correct Access-Control-Allow-Origin header when font files are requested. If you’re unable to modify your server configuration please contact your web host and link them to this post.
Apache server
Add the following block to your .htaccess file:<FilesMatch ".(eot|otf|ttf|woff|woff2)"> Header set Access-Control-Allow-Origin "*" </FilesMatch>
Nginx server
Add the following location block to your virtual host file (usually within the server directive) and reload Nginx:location ~* \.(eot|otf|ttf|woff|woff2)$ { add_header Access-Control-Allow-Origin *; }
Best regards,
DudeHi,
Great, glad we could help you :)Best regards,
DudeAugust 30, 2018 at 3:55 pm in reply to: Strange behaviour of codeblock Element in Footer Page #1003691Hi,
Great, glad it works now :)
Best regards,
DudeHey Khombelwayo Mlotshwa,
Please give us the username and e-mail you used to register a support account. We’ll then send the password to you.
Best regards,
DudeAugust 30, 2018 at 3:52 pm in reply to: Enfold * WooCommerce Germanized / "ähnliche Produkte" ausblenden #1003688Hey popp1972,
Ja, bitte füge diesen Code zur child theme functions.php hinzu:
add_action('init', 'avia_remove_related_products', 10); function avia_remove_related_products() { remove_action( 'woocommerce_after_single_product_summary','avia_woocommerce_output_related_products', 20); }
LG,
PeterHi,
No but the wordpress editor sometimes adds them automatically. You can use the debug mode ( https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode ) to directly edit the template builder code and to remove unnecessary line breaks. If you think this is a bug please create me an admin account and I’ll look into it.
Best regards,
DudeHi,
Great, glad it works now :)
Best regards,
DudeAugust 30, 2018 at 3:44 pm in reply to: Hide mega menu column title when mobile menu is used #1003684Hey Monique,
Unfortunately it’s not possible to remove these items without a complete rewrite of the mobile menu function (which we can’t provide). You could however set a different color value for the non-clickable items (to mark them as non-clickable) with this code
@media screen and (max-width: 989px){ li.av-width-submenu > a .avia-menu-text { color: #000; } }
– replace #000 with your custom color value.
Best regards,
DudeHi,
Please use this css code and adjust the px value:
#top #wrap_all #socket span.avia-menu-text { font-size: 15px !important; }
Best regards,
DudeAugust 30, 2018 at 3:20 pm in reply to: Portfolio-Entry / How can I select a parent-page for a single entry? #1003670Hi,
Schön, dass ich helfen konnte :)
LG,
DudeAugust 30, 2018 at 3:18 pm in reply to: Using this feature is reserved for Super Admins – Workaround or Fix #1003667Hi,
Please add this code to the child theme functions.php:
add_filter('avf_file_upload_capability', 'avia_file_upload_capability', 10, 1); function avia_file_upload_capability($cap) { $cap = 'edit_posts'; return $cap; }
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 */ add_filter('avf_file_upload_capability', 'avia_file_upload_capability', 10, 1); function avia_file_upload_capability($cap) { $cap = 'edit_posts'; return $cap; }
Then upload this text file via ftp to wp-content/plugins/. Afterwards go to the wordpress admin panel > Plugins and activate the new plugin.
Best regards,
DudeHey ChristineGerman,
Please post a link to the original thread (where you got the code). I’m not sure which modifications were made to the child theme file(s) and I need more context.
Best regards,
DudeAugust 30, 2018 at 2:56 pm in reply to: Portfolio-Entry / How can I select a parent-page for a single entry? #1003640Hi,
Wobei die Frage wäre, in welcher Art und Form man erweitern kann?
Ich habe da an keine spezielle Erweiterung gedacht. In unserer Dokumentation: https://kriesi.at/documentation/enfold/ finden sich einige Code-Beispiele, auch hier im Forum. Ich wollte nur auf die Möglichkeit aufmerksam machen, dass die Plugin-Datei die “Child theme functions.php” gewissermaßen ersetzen kann und daher neue php Code einfach am Ende der Datei einfügt werden kann.
LG,
DudeHey jonrouse,
Please try this code to float the burger menu icon/button to the right:
@media only screen and (max-width: 1184px){ .html_header_top.html_bottom_nav_header #header_main_alternate .main_menu>div, .html_header_top.html_bottom_nav_header #header_main_alternate .main_menu ul:first-child { width: 20px; height: 50px; float: right; } }
Best regards,
DudeAugust 30, 2018 at 2:46 pm in reply to: Changing the caption title on fullwidth easy slider to H1 #1003622Hi,
You can edit the functions.php with the wordpress editor. Go to Appearance > Editor and select the functions.php from the directory overview on the right side.
Best regards,
DudeAugust 30, 2018 at 1:34 pm in reply to: Enfold live search not compatible with custom roles? #1003566Hi,
Great, glad it works now :)
Best regards,
DudeHi,
1)
Die von Dir eingestellte CSS bewirkt aber hoffentlich nicht, das mein Anmeldeformular von WordPress auf einmal anders aussieht. Die ganze Zeit war ein Button dabei, wo ich anklicken musste, das ich Cookies akzeptiere. Der ist jetzt nicht mehr da, Bin hilflos.
Nein sicher nicht. Überprüfe bitte die Datenschutzeinstellungen unter Enfold > Theme Optionen > Privacy and Cookies und siehe nach, ob die “Append a privacy policy message to your login forms?” Checkbox markiert ist.
2) Ja, die Hintergrundfarbe kannst Du mit:
#top #wrap_all .avia-gallery-thumb a { background: #000; }
anpassen (der Farbwert #000 muss natürlich ersetzt werden) :)
LG,
DudeHey m,
The php warning will be fixed with the next update. If you want to fix it now please use ftp and navigate to wp-content/uploads/. Create a new folder in this directory and call it “avia_instagram_cache” (without the quotes). Then set the folder permission to 777.
I also added this code to the enfold theme functions.php:
error_reporting(0);
to make sure no php warnings interfere with the upload process.
Best regards,
DudeAugust 30, 2018 at 1:18 pm in reply to: Main Content – Benutzerdefiniertes Hintergrundbild pro Seite #1003552Hi,
Dies ist derzeit leider technisch notwendig, um fehlerhaft Darstellungen zu verhindern. Wenn wir eine andere Lösung finden, werden wir diese einbauen, aber bisher haben wir noch keine zuverlässige Lösung gefunden.LG,
DudeHey Monique,
As far as I understand the Facebook Pixel Code does not conform to the GDPR. Do you agree?
We can’t give you a legal advice. Please consult a lawyer if you’re not sure.
Enfold doesn’t support the facebook pixel at the moment. However you can use a third party plugin like: https://wordpress.org/plugins/opt-out-facebook-pixel-dsgvo-gdpr/ to implement such a feature.
Best regards,
DudeHi,
The console outputs this error:
You have exceeded your request quota for this API. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors
Please check if you’ve set limits and increase them if necessary ( https://developers.google.com/maps/documentation/javascript/usage-and-billing )
Best regards,
PeterAugust 30, 2018 at 1:06 pm in reply to: Google maps – This page can not load Google Maps correctly. #1003541Hi,
The console outputs this error:
You have exceeded your request quota for this API. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors
Please check if you’ve set limits and increase them if necessary ( https://developers.google.com/maps/documentation/javascript/usage-and-billing )
Best regards,
DudeHi,
You can add this code to the child theme functions.php to remove the portfolio label:
add_filter('avf_ajax_search_label_names','avf_ajax_search_label_names_mod', 10, 1); function avf_ajax_search_label_names_mod($label) { $label = ''; return $label; }
Best regards,
Dude -
AuthorPosts