Forum Replies Created
-
AuthorPosts
-
Hi,
Bitte richte mir einen Admin Account ein, damit ich mir die Konfiguration näher ansehen kann.
LG,
DudeHi!
Enfold does not support all font packs from flaticon but just those packs which contain an icon font. If you take i.e. this pack: https://www.flaticon.com/packs/multimedia-collection you’ll notice the zip file contains a folder called “font” (screenshot: https://imgur.com/pus5DFc ).
Your icon pack does not contain a font file – thus Enfold can’t use the pack for icons.
Best regards,
PeterHi,
Can you please post the website url – otherwise I can’t find the login page :)
Best regards,
DudeHi,
I modified the code for you: https://pastebin.com/4we4UCnY – it was a character encoding issue with the > character. I also had to move the code one line up.
Best regards,
DudeHi,
Great, I’m glad it works now :)
Best regards,
DudeHi,
Thanks for posting this step by step guide – I’m sure it will help other users too :)Best regards,
DudeHi,
We made some changes to the framework (performance improvements, unique id for each advanced layout element, etc.) which require these adjustments in the database. These changes help us to improve the theme performance with upcoming updates and to extend the layout builder with new features.Best regards,
DudeHi,
The problem is Enfold doesn’t check for a 410 status. We need to rely on the plugin which calls
do_action('wp_410_response');
on line 364 in wp-410.php ( https://plugins.trac.wordpress.org/browser/wp-410/trunk/wp-410.php#L364 ).
The wp_title() filter ( https://developer.wordpress.org/reference/hooks/wp_title/ ) which is used by Enfold to set the title tag in the head section is called before your custom 410.php template, thus you can’t add the code to your template. You could try to include the plugin code in our filter function like:
add_filter('avf_title_tag', 'avia_change_title_tag', 10, 2); function avia_change_title_tag($title, $wptitle) { global $avia_config; global $wpdb; $table = $wpdb->prefix . '410_links'; $links = $wpdb->get_results( "SELECT gone_key, gone_regex FROM $table WHERE is_404 = 0", OBJECT_K ); $req = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $req = rawurldecode( $req ); foreach( $links as $link ) { if( @preg_match( $link->gone_regex, $req ) ) { $title = '410 – Gone'; break; } } return $title; }
to determine if it’s a 410 page or not. I haven’t tried to code myself but it should be a starting point. You can add it to the functions.php. This code should work without the code I posted before (do not combine both code snippets).
Best regards,
DudeAugust 20, 2018 at 6:18 pm in reply to: Custom Post Type and Custom Taxonomy – having them show up in Magazine Element #999528Hi,
Glad I could help you. The modified magazine.php should be part of the next theme update.
Best regards,
DudeHi,
It seems like the line numbers are different. Based on the file here https://pastebin.com/UJ2876g6 you need to move the code to line 424. So make sure the curly bracket ( } ) on line 424 is AFTER this codepublic function use_search_and_filter_query($query) { $this->entries = $query; }
Best regards,
DudeHi,
I translated the strings with loco for you. Download the po and mo files (see link in private content) and upload them to the staging server (wp-content/themes/enfold/lang/).
Best regards,
DudeHi Marco!
Add this code to the child theme functions.php file to remove the flags:
function ava_remove_lang_flags() { remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); remove_action( 'ava_main_header_sidebar', 'avia_wpml_language_switch', 10); } add_action('init', 'ava_remove_lang_flags');
Best regards,
PeterHey Simon,
You could set a min-height css attribute for the excerpt content. Please post a link to your website and we’ll provide the code.
Best regards,
DudeAugust 20, 2018 at 4:33 pm in reply to: Custom Post Type and Custom Taxonomy – having them show up in Magazine Element #999472Hi!
Did you try to tick the “Public” checkbox?Regards,
PeterAugust 20, 2018 at 4:21 pm in reply to: Custom Post Type and Custom Taxonomy – having them show up in Magazine Element #999458Hi,
I created a modified magazine.php and you can now select custom post types for this element too. You can download the modified code here: https://pastebin.com/raw/2jduXmy1 . Save it as magazine.php and upload it to the wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine folder (overwrite the old file). You also need to add the code I posted in my last reply to the child theme functions.php.
Best regards,
DudeAugust 20, 2018 at 4:09 pm in reply to: Custom Post Type and Custom Taxonomy – having them show up in Magazine Element #999446Hey TeachBeyond,
Please add this code to the child theme functions.php:
add_theme_support('avia_template_builder_custom_post_type_grid'); add_theme_support('add_avia_builder_post_type_option');
Afterwards you can select the post type for portfolio and masonry grid elements. The masonry element does not support such an option at the moment but I’ll look into it – maybe we can add it with the next update.
Best regards,
DudeHi,
Du musst das Menü auch noch einer Position zuweisen (siehe Link im Private Content Feld). Es gibt noch weitere Positionen, zB im Socket/Fußbereich.
LG,
Dude- This reply was modified 6 years, 3 months ago by Dude.
Hi!
Try to add the code I posted to the child theme functions.php
Regards,
PeterAugust 20, 2018 at 1:40 pm in reply to: Seit WordPress 4.9.6 Datenschutzerklärung nicht editierbar (Zugang Redakteur) #999341Hi,
Soweit ich weiß kann man User Role hier: https://wordpress.org/plugins/user-role-editor/ kostenlos herunterladen. Es gebe aus technischer Sicht sicher auch andere Lösungen, diese wären aber zeitaufwendiger, da Code-Anpassungen, Tests, etc. notwendig wären.LG,
DudeAugust 20, 2018 at 11:44 am in reply to: Theme Settings Won't Save: "Saving didn't work! Please reload the page and…" #999310Hi,
It’s hard to say; maybe a redirect/rewrite rule broke the ajax submission. I’m glad it works now.
Best regards,
DudeHey jeroenvandessel,
Please uncheck it (set it to Nee). It’s an internal post type and should not be indexed by search engines.
Best regards,
DudeHey!
I did not receive the login credentials but you can install this plugin: https://github.com/KriesiMedia/enfold-library/raw/master/integration%20plugins/3rd%20party%20plugins/WooCommerce%20Privacy/enfold-woocommerce-privacy_1_0_0.zip to use the theme privacy features with WooCommerce. Install and activate the plugin, then go to Enfold > Theme Options to configure the settings.
Best regards,
PeterAugust 20, 2018 at 9:44 am in reply to: Trying to Add JS Particles Background via Enfold theme #999261Hi,
Probably yes but you would probably need to customize the theme files. It’s something which is beyond the scope of our support forum. I’ll leave this thread open in case another user can help you.
Best regards,
DudeHi,
You can add it anywhere inside the “class avia_sc_portfolio”, i.e. below the “function shortcode_handler” which ends on line 431
Best regards,
DudeHi,
You can try to access your theme files via ftp. Go to the directory wp-content/themes/ and download the modified files. Then edit them, delete the code and upload them again. Afterwards clear your browser cache and (if necessary) the wordpress cache.
Best regards,
DudeHi,
We’ll report this to our developers. To hide all warnings add this code to the very top of your child theme functions.php file (directly after the <?php tag)
error_reporting(0);
Best regards,
DudeHi,
This is no bug but a technical limitation. The website needs some time to render and to load all resources – depending on the website size (images, scripts, stylesheets, etc.) the loading times may vary and the script execution can be delayed. If you want to avoid these loading effects (font replacements, section adjustments because of javascripts) go to Enfold > Theme Options and tick the “Page Preloading” and “Page Transitions” checkboxes (screenshot: http://www.clipular.com/c/5588487378829312.png?k=y8A7s2w9ArkLn19GPhV8DgUaBjY ). Enfold will then show a preload screen like demonstrated here: https://kriesi.at/themes/enfold-minimal-portfolio/ and will load all resources before the page content fades in.
Best regards,
DudeHi,
The related entries will only show up if one or more posts share the same tag with the current post. I.e. this post: https://neverdrinkingagain.com/pants-shting-drunk/ shares the tag “drinking stories” ( https://neverdrinkingagain.com/tag/drinking-stories/ ) with other posts and the related entries show up below the post content.
Make sure all posts are marked with at least one tag – then the related posts will show up for all posts which share this/these tag(s).
Best regards,
DudeAugust 20, 2018 at 9:08 am in reply to: Theme Settings Won't Save: "Saving didn't work! Please reload the page and…" #999226Hi,
When I try to access the admin page I just get this error: “403 Error
現在、このページへのアクセスは禁止されています。
サイト管理者の方はページの権限設定等が適切かご確認ください。”Probably you’re blocking the access to the /wp-admin/ folder. This also breaks the theme settings page because we use the /wp-admin/admin-ajax.php to submit the settings data. Please make sure no firewalls and wordpress plugins (i.e. wordfence) block the access to this folder. This article may help you to troubleshoot the problem: https://givewp.com/documentation/core/frequent-troubleshooting-issues/admin-ajax-blocked/
Best regards,
DudeAugust 20, 2018 at 9:01 am in reply to: How adjust script that loads Google fonts to load subsets with different weights #999220Hey ykaralis,
1) You can use this code to overwrite the default font configuration:
add_filter( 'avf_google_heading_font', 'avia_add_content_font'); add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Open Sans'] = 'Open Sans:400,600'; $fonts['Quicksand'] = 'Quicksand:300,400'; return $fonts; }
Replace the values (400,600 and 300,400) with your custom values; multiple values can be separated with a comma. You can add this code to your child theme functions.php.
2)
After importing Quicksand and Open Sans fonts, how can I make sure that the website will always use them and not something that the site might not be allowed to get from Google? For Open Sans in particular, there is an extra problem: after importing the font using a zip file from Google Fonts, the font-family is registered as “open-sans” which would make it unusable.
As soon as you import a font file Enfold will only use the local font files (saved on your server) and won’t load the files from a google server. I.e. if you import the open sans font files Enfold generates following css code and adds it to the dynamical styleheet:
@font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-bold.ttf') format('truetype'); font-style:normal; font-weight:700; } @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-bolditalic.ttf') format('truetype'); font-style:italic;font-weight:700; } @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-extrabold.ttf') format('truetype'); font-style:normal; font-weight:800} @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-extrabolditalic.ttf') format('truetype'); font-style:italic; font-weight:800; } @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-italic.ttf') format('truetype'); font-style:italic; font-weight:400; } @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-light.ttf') format('truetype'); font-style:normal; font-weight:300; } @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-lightitalic.ttf') format('truetype'); font-style:italic; font-weight:300; } @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-regular.ttf') format('truetype'); font-style:normal; font-weight:400; } @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-semibold.ttf') format('truetype'); font-style:normal; font-weight:600; } @font-face{ font-family:'open-sans'; src:url('https://mywebite.com/wp-content/uploads/avia_fonts/type_fonts/open-sans/opensans-semibolditalic.ttf') format('truetype'); font-style:italic; font-weight:600; }
This code is generated automatically based on the google fonts zip file you uploaded. You can’t modify the code but you could overwrite it with custom css code.
Best regards,
Dude -
AuthorPosts