Forum Replies Created
-
AuthorPosts
-
ok i see what happend –
Compared to the previous version, you changed the order.on 4.2 in register-admin-options.php the new filter ( avf_register_custom_backend_styles ) is behind !:
and this is a logical sequence – first register the options than customize it.You might change this in next update please
//required for the general styling color schemes include('register-backend-styles.php'); //required for the general styling google fonts include('register-backend-google-fonts.php'); //required for the advanced styling wizard include('register-backend-advanced-styles.php');
on 4.2.6 and i guess 4.2.5 it is before register-backend-advanced-styles !!
can be closed on my end here.March 15, 2018 at 12:40 pm in reply to: Italic font (not oblique) when using the italic button in i.e. ”Text Block”. #927250on register-backend-google-fonts there is the info which fonts are loaded
on open sans there is:'Open Sans'=>'Open Sans:400,600',
so i guess that the real italic isn’t loaded if you choose on Enfold Options Dialog the Open-Sans Font.
i think for you it might be the best to load a new set – and i called it now : Open Sans Plus Italic
this to your functions.php of your child-theme:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Open Sans Plus Italic'] = 'Open Sans:300,300i,400,400i,600,600i,700,700i'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Open Sans Plus Italic'] = 'Open Sans:300,300i,400,400i,600,600i,700,700i'; return $fonts; }
you will than have at the end of the enfold font list – last entry : Open Sans Plus Italic
i hope – if you choose the italic option it will take the correct font-style-
This reply was modified 6 years, 11 months ago by
Guenni007.
Let the input field in Enfold Google Map api empty !
because it does not load – if there was no input in that field
EDIT: this is what enfold would insert if enfold options are set – it can be placed in footer too as well
add_action( 'wp_footer', 'custom_gmap_script', 10 ); function custom_gmap_script() { if( is_page(35) ) { ?> <script type='text/javascript'> /* <![CDATA[ */ var avia_framework_globals = avia_framework_globals || {}; avia_framework_globals.gmap_api = 'YOUR_API_KEY_HERE'; avia_framework_globals.gmap_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=YOUR_API_KEY_HERE&callback=aviaOnGoogleMapsLoaded'; avia_framework_globals.gmap_builder_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=YOUR_API_KEY_HERE&callback=av_builder_maps_loaded'; avia_framework_globals.gmap_backend_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&callback=av_backend_maps_loaded'; avia_framework_globals.gmap_source = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=YOUR_API_KEY_HERE'; /* ]]> */ </script> <?php } }
you had to modify YOUR_API_KEY_HERE to your Maps API Key 4 times !
you can see it here working: https://webers-testseite.de/weber/contact-2/
and on the other pages no gmap is loaded-
This reply was modified 6 years, 11 months ago by
Guenni007.
try a combination of this: (my test page was ID 35) and do not enter a google api key to enfold options dialog (save it)
replace the xyxyxy with your api key !Edit: go on with https://kriesi.at/support/topic/disable-loading-google-maps-api-where-not-needed/#post-926707
-
This reply was modified 6 years, 11 months ago by
Guenni007.
maybe a mod knows how to prevent the backend api load.
All frontend apis are disabled by this.try this to your functions.php of child-theme:
Example page here ID=3184 so if not page ID = 3184 than disableadd_filter('avf_load_google_map_api', 'disable_google_map_api', 10, 1); function disable_google_map_api($load_google_map_api) { if( !is_page(3184) ) { $load_google_map_api = false; return $load_google_map_api; } }
March 14, 2018 at 3:16 pm in reply to: (German) DSGVO – Deutschland, Datenschutz, Google Fonts, Google Maps, YouTube #926645do not forget the plugin itself with its given structure
the upload seems to be not full !
fonts are missing it goes from advent-pro till yellowtailAha – man muss die Shortcode Funktion erst aktivieren – das hier kommt in deine functions.php des child-themes:
function polylang_shortcode($atts, $content = null) { if (empty($content)) return ''; extract( shortcode_atts( array('lang' => ''), $atts ) ); if (empty($lang)) return "<h3>You must specify 'lang' using shortcode: polylang</h3>"; return ($lang == pll_current_language()) ? $content : ''; } add_shortcode('polylang', 'polylang_shortcode');
dann kannst du das wie oben nutzen:
[polylang lang="en"]Whatever you like here[/polylang][polylang lang="de"]Was immer du auch hier haben möchtest[/polylang]
can you check if this will work :
[polylang lang="en"]English[/polylang] [polylang lang="de"]Deutsch[/polylang]
bei WPML gibt es diese Möglickeit jeweils in shortcodes verpackt die Sprache zu kennzeichnen.
oder einfach mal versuchen:
[en]English[/en] [de]Deutsch[/de]
March 14, 2018 at 8:57 am in reply to: (German) DSGVO – Deutschland, Datenschutz, Google Fonts, Google Maps, YouTube #926490here are all files that has to be used for all enfold fonts implemented.
https://webers-testseite.de/local-google-fonts.zip
maybe Yigit can upload them on a kriesi server – don’t know how long i can host them.
Do not forget to deactivate the google font loading via functions.php of the child theme:add_action( 'init', 'enfold_customization_switch_fonts' ); function enfold_customization_switch_fonts() { global $avia; $avia->style->print_extra_output = false; }
by the way: if the fonts are activated manually – you can use the enfold options as well – the classes are set and css rules are set as before. Only activation of the fonts must be done manually via local install
March 13, 2018 at 7:34 pm in reply to: (German) DSGVO – Deutschland, Datenschutz, Google Fonts, Google Maps, YouTube #926210and now get into more paranoia : what about cdn use ???
if the server isn’t in germanyHello last century; What are 100 lawyers on the seabed
I can only shake my head as this country sends itself out. With the Internet speeds, we are already behind the moon, now everyoone is still trying to drive the internet traffic even worse in creating legal obstacles.
that little plugin is easy to make but – to download the files and to put in the css is the work that had to be done manually.
this is the php of that plugin:
<?php /* Plugin Name: Local Google Web Fonts Description: Code to host Google Fonts locally Version: 1.0 */ /* Start Adding Functions Below this Line */ function local_google_fonts() { wp_enqueue_style( 'LocaleGoogleWebfonts', plugin_dir_url( __FILE__ ) .'assets/css/fonts.css' ); } add_action( 'wp_enqueue_scripts', 'local_google_fonts' ); ?>
css is what you get on https://google-webfonts-helper.herokuapp.com/fonts
the fonts downloaded there comes into the fonts folder (on that case it is only comfortaa in it) of that plugin (see structure above)did you know about the troubles concerning to godaddy and zip implementation?
https://kriesi.at/support/topic/when-opening-a-fresh-saved-page-or-opening-existing-pages-goes-to-404/#post-926001here is the godaddy site to read for you: link
March 13, 2018 at 3:07 pm in reply to: When opening a fresh saved page or opening existing pages goes to 404 #926106Unfortunately that goes beyond my knowledge. I can easily google the right terms and find out via transfer where the mistake could be, but in order to fully understand the connections, I would have to learn more.
Sorryedit : i tested it on a playground of mine. (https://webers-testseite.de/weber/)
The code of Josue still seams to work :
add_action( 'init', 'enfold_customization_switch_fonts' ); function enfold_customization_switch_fonts() { global $avia; $avia->style->print_extra_output = false; }
i wrote a little plugin to include and load my needed google fonts localy. (see how to here)
via the google fonts helperso for me this is for an existing webpage better – for developing the page and customer response i like to change webfonts quick via enfold embedding – after the page is online – i will go this way then
-
This reply was modified 6 years, 11 months ago by
Guenni007.
March 13, 2018 at 11:21 am in reply to: When opening a fresh saved page or opening existing pages goes to 404 #926010here you can find how to activate the php error logging on godaddy:
https://ca.godaddy.com/help/setup-php-error-logging-26423
Maybe that gives us valuable hintsmaybe you have changed php version on that running system? – i read on godaddy support that sometimes this comes to troubles on uploading files to media library etc. pp – you see it might be a matter of hoster.
My sites are running on hosteurope : if i activate the APC Caching – all my WordPress Websites have a lot of mismatchings.
March 13, 2018 at 11:10 am in reply to: When opening a fresh saved page or opening existing pages goes to 404 #926001well enfold for example uses in the last updates a kind of minification of js and css . Don’t know if f.e. these files are only brought together or if they are zipped. Concerning to a lot of troubles with importing Demo files here on board or with layerslider demos we learned that godaddy has to be caused to enable zip files: https://ca.godaddy.com/community/Managing-Web-Hosting/ZipArchive-need-to-be-enable/td-p/7942
maybe there are other settings to be enabled on godaddy to work well.Or see here article: My blog keeps coming up as a blank page: https://ca.godaddy.com/help/troubleshooting-wordpress-5675
March 13, 2018 at 10:12 am in reply to: When opening a fresh saved page or opening existing pages goes to 404 #925979stange behavior – i never have seen that there will be added an addendon to the url.
but by the way – you will be not the first with troubles concerning to godaddy hosting. There are some troubleshootings here on board concerning to different problems but to that hoster.
March 13, 2018 at 9:45 am in reply to: Combo of Color Section and Advanced Layerslider won't work #925969i can not reconstruct that error.
And mike if it is the following section – why is it shifted and not in line with the section?i do often see such behavior if customers try to have a repeating supposedly seamless background – But which has a certain small difference in brightness
March 13, 2018 at 9:21 am in reply to: Combo of Color Section and Advanced Layerslider won't work #925953yes but wihtout the link there is no way to see what has been happend
-
This reply was modified 6 years, 11 months ago by
Guenni007.
March 12, 2018 at 4:42 pm in reply to: Probleme beim Backup erstellen mit dem ordner ../cache-old #925596ist es denn überhaupt sinnvoll die Cache-Ordner zu kompieren?
Alle mir bekannten professionellen Backup-Tools bieten genau diese Option immer mit an, die Temp und Cache-Ordner zu excludieren.Nun zum Grund : hast du im Cache-Ordner eventuell Dateien, die Umlaute beherbergen? Manchmal sogar sehr ungewöhnliche Zeichen, weill Umlaute benutzt wurden? Schau mal nach. Falls Ja – melde Dich bitte nochmal.
Yes – but i guess the tip seems to be obsolete. On former times this happens reproduceable each time that without the space the asterix was lost. But i see that they corrected that behavior now.
the selector for those will be:
#av-burger-menu-ul .avia-menu-subtext { here your css rules for it ! - maybe an !important will be necessary }
on your menu screen – you have at the top right position a fly out called “Screen Options” – click on it – there you have the choice to set up the Menu-Settings Options. Mark “Description” – (https://kriesi.at/support/topic/how-do-you-add-a-portfolio-item-to-the-main-navigation-bar/#post-924489)
if you go no on your Menu – Points you can press that little arrow on the right side. There you have now a description input field.-
This reply was modified 6 years, 11 months ago by
Guenni007.
March 11, 2018 at 10:47 pm in reply to: Best solution for having different color themese on different pages #925286i would have done that via Multi Site Install. One WordPress install – one enfold with activation of Enfold over all “Subsites”
Than you can set for each a color-scheme and for each different css. But – you have to be a bit familiar of doing that – and after having existing content it is a hard work to transfer it – it is possible but laboriousNow : if only these three Sites from the launch page are different – it would be easier to define a whole set of css for those pages
(bollywood-bar; East-India and indian stories)how is your page you have reigstered to inserted.
you don’t need to have http or https on that and the little astereix at the end has to be there to be valid for the whole site !
on that little asterix at the end – it often disappears on input!
just place behind that asterix a space ! on input and press return. – now the asterix is saved !once again – i think it is better to alway have the scripts only on those pages where it is needed –
so take this one only for your home page – so we can make the if clause with is_home()
if it is a special page you can have is_page(123) etc
allthough it is just a very tiny script – it does not have to be loaded on page where it is not neededfunction change_placehoder_txt() { if( is_home( ) ) { ?> <script type="text/javascript"> jQuery('#avia_1_1').attr('placeholder', ' Enter Reg*'); </script> <?php } } add_action('wp_footer', 'change_placehoder_txt');
March 9, 2018 at 6:39 pm in reply to: Combo of Color Section and Advanced Layerslider won't work #924662Or do you mean that little shadow ( by the way it is an inset shadow – should not be outside the box !)
yes – you mean this one here ? https://kriesi.at/support/topic/contact-forms-not-sending-not-in-spam-or-inbox/#post-920309
leider gibts ja keine PN – hab dir mal was ins Private Content geschrieben
-
This reply was modified 6 years, 11 months ago by
-
AuthorPosts