Forum Replies Created
-
AuthorPosts
-
thanks – is there an approximate date for the “post-4.2-Update”?
the version of the parent theme determines the capabilities of your child-theme – so no need to update the child – let it on version 1
January 12, 2018 at 11:06 am in reply to: Add Enfold Widgetarea to main content / special parts of the template #896513or Mods – this might be a nice position for a hook if header is left or right layout for next update
January 12, 2018 at 10:55 am in reply to: Add Enfold Widgetarea to main content / special parts of the template #896504by the way Günter here on Board created a filter which might be implemented in the next Enfold (4.2.1 ?) https://kriesi.at/support/topic/a-way-to-have-an-own-register-backend-advanced-styles-php-in-child-theme/
dann ist es wahrscheinlich möglich die veränderte helper-main-menu.php im child-theme zu lassen und diese über functions.php des Child-theme einzubinden.
Dann melde ich mich nochmal hier.Please Mods : let this thread open for future modifications.
January 12, 2018 at 10:38 am in reply to: Add Enfold Widgetarea to main content / special parts of the template #896492Also es gibt dort keinen widget bereich der vorgesehen ist.
Man kann einen dort hinbasteln. Leider geht die Einstellung dann beim nächsten Update verlorenich habe in die helper-main-menu.php oberhalb der Zeile 151 (Enfold 4.2) :
$main_nav = "<nav class='main_menu' data-selectname='" …
folgendes eingefügt:
ob_start(); do_action('ava_before_nav_on_header_left'); $output .= ob_get_clean();
hochladen des ganzen in den Original Folder includes.
Dann kann man mit :
add_action( 'ava_before_nav_on_header_left', 'enfold_customization_header1_widget_area' ); function enfold_customization_header1_widget_area() { dynamic_sidebar( 'header1' ); }
einen header1 widget bereich bei Widgets anlegen, der in der Position ist – Beispielseite: https://webers-testseite.de/bernhard/
Es ist dann ratsam den Abstand nach links dem Menu anzupassen (allerdings mit padding)
#header_main .widget { padding-left: 13%; padding-right: 5%; }
ich kann dir das auch hochladen: https://pastebin.com/dl/54ZRXJze
Perhaps a mod could help here to make it via child-theme “helper-main-menu.php” – i don’t know how.
January 12, 2018 at 9:49 am in reply to: Add Enfold Widgetarea to main content / special parts of the template #896479ah – ok if you have that header setting: https://kriesi.at/themes/enfold-consulting/
there might be a solution !Let me see …
January 12, 2018 at 9:45 am in reply to: Add Enfold Widgetarea to main content / special parts of the template #896474by the way – i created a hook into helper-main-menu.php between logo and menu. But all calculations of header-height and scroll-offset including shrink function and and … are invalid than. So it realy makes no sense. On positioning absolute – you can take the other hooks aswell.
But see here on relative position: https://webers-testseite.de/impressum/
i placed a google map widget inbetween – and you see what happens to main content ! with the color-section (50% height) on the top.-
This reply was modified 7 years, 6 months ago by
Guenni007.
thanks thats it – i added this to functions.php of child-theme:
function no_link_on_author_image(){ ?> <script> (function($){ $(window).load(function() { $("a.post-author-format-type").replaceWith(function(){ return $("<span class='post-author-format-type'>" + $(this).html() + "</span>"); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'no_link_on_author_image');
but on doing that the span.image-overlay is overlapping the content besides -#
and so the links to the posts are not clickable !
To avoid that i put in quick css:.post-author-format-type .image-overlay.overlay-type-extern { display: none; }
Thanks – can be closed
-
This reply was modified 7 years, 6 months ago by
Guenni007.
January 11, 2018 at 11:53 pm in reply to: Add Enfold Widgetarea to main content / special parts of the template #896303the advanced layout builder ( short alb) has an element called Widget Area.
You can drag&drop this to where ever you like in your content ! On that widget area alb element you have than the choice which widget should be displayed.what kind of header have you choosen for your layout ?
Header on top and navigation under it?-
This reply was modified 7 years, 6 months ago by
Guenni007.
i set it this way up to show the fallback image – but
on Safari / OSX High Sierra – same troubles ( IMac, MacMini too) – no background video at alli do allways update enfold via ftp – exactly to avoid these things.
It can always come to a server interruption – and an updates fails.
If you are using a child-theme – there will be no risk to completely erase the enfold folder and upload a new one.
( Or to rename the enfold folder to enfold-old and upload the new one – than you can switch back if you have some troubles with the new one)
the dynamic content like your settings of enfold are in wp-content folder (wp-content/uploads/dynamic-avia) (and even layerslider is out of theme directory).
On the same reason i do prefer WP Updates be doing it manually ( but here via Dashboard) – because i like to read about bugs before i update my WP.ich sehe in deinem Beispiel auf github wie ich es auf einer speziellen Seite komplett verhindere,
aber wie würde ich Teile des definierten Menus entfernen oder gar neue hinzufügen ?Hi Günter – ich sehe, dass im momentanen Enfold 4.2 line 187
/** * Allow to modify or remove main menu for special pages * * @since 4.1.3 */ $output .= apply_filters( 'avf_main_menu_nav', $main_nav );
das Filter vorgesehen ist.
Wie nutze ich das jetzt um zB auf einer speziellen Seite das Hauptmenu zu manipulieren?Danke
January 11, 2018 at 12:35 pm in reply to: Add Enfold Widgetarea to main content / special parts of the template #896137by the way – you can find those hooks on enfold – search for do_action in the enfold folder.
on your helper-main-menu.php there are 6 do_actions to find ( one is for header left right position only)avia_meta_header ava_main_header ava_main_header_sidebar ava_before_bottom_main_menu ava_inside_main_menu ava_after_main_menu
sometimes they got comments before the do_action like f.e.: Hook that can be used for plugins and theme extensions
you see the code – the add_action concerns to the do_action rules in the code. So you can insert code here like it does with the header widgetJanuary 11, 2018 at 12:24 pm in reply to: Add Enfold Widgetarea to main content / special parts of the template #896129first to your second widget area. On using the alb editor of enfold there are to many possiblities to place a widget to. So enfold comes with an predefined widget alb element you can place it whereever you like ( called Widget Area )
to your first request: what was the code you entered in functions.php of your child-theme to place the header widget area?
on my end i noticed three different codes to have different places:
/*********header widget ****************************/ add_action( 'ava_after_main_menu', 'enfold_customization_header1_widget_area' ); function enfold_customization_header1_widget_area() { dynamic_sidebar( 'header1' ); } /*********************************/ /*********header widget area before **********/ add_action( 'ava_main_header', 'enfold_customization_header2_widget_area' ); function enfold_customization_header2_widget_area() { dynamic_sidebar( 'header2' ); } /**********************/ /*********header widget area just right after main container starts **********/ add_action( 'ava_after_main_container', 'enfold_customization_header3_widget_area' ); function enfold_customization_header3_widget_area() { dynamic_sidebar( 'header3' ); } /**********************/
pay attention – i renamed the functions and widget areas to 1,2, 3 to avoid double function names and to have the possibility to use all of them as
header1, header2, header3 areasby the way you can force the opening of your site in https mode by htaccess file.
There are some help on that – google for it. (force https htaccess)
because a lot of people may have stored your site with non https link – with that they are redirected
i used:RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
or
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
-
This reply was modified 7 years, 6 months ago by
Guenni007.
Yes – because i added to your fix an own rule:
#top .av-video-slide .mejs-container { width: 100vw !important; }
with that the issue is not there anymore.
But an update would be better to have to fix that troubles.____________________
so now on my quick css is:
.mejs-layer { z-index: 1; width: 100% !important; } div .avia-video .mejs-container, div .avia-video .mejs-container video { height: 100%!important; width: 100% !important; position: absolute; } #top .av-video-slide .mejs-container { width: 100vw !important; }
go to your root directory of your wordpress installation via ftp. Activate your ftp client to show invisible (hidden) files ( those with the dot in front like .htaccess too) there is a .maintenance file – delete it. (under filezilla it is on menu point “Server” – force to show hidden files)
now you have access to your site again. If not and you can not login to your admin account – tell us.switching to https is not a specific Enfold thing. It is allways the same like on any other wordpress installation.
i do allway install before changing anything the plugin search & replaceAfter that i change the urls in dashboard – settings – : wordpress url and website url to https.
After that you has to login again. Than goto search and replace under tools ( you can do that by mysql but this way is much easier.)
Important: just do it – First Tab is for saving the DB by crating a sql file –
second tab is for search and replace actionsearch for : http://your.domain
replace by: https://your.domain! Make a proof if your writing is correct at all
activate all tables ( i do not make a test – i made the mark at write direct to DB.
thats all
Attention: do not only search http and replace it by https (all links including the links to external scripts (google api etc) are affected than.-
This reply was modified 7 years, 6 months ago by
Guenni007.
shure – i want to get rid on all devices and i see it in any browser on desktop devices- that it will work
but on i pad i can touch on the images and the author page opens
see private contentedit : maybe the css : touch-action will solve the problem by setting it to none (similar to pointer-event)
edit-edit: safari does not support touch-action – only auto and manipulation works on safari ios but not the none rule
-
This reply was modified 7 years, 6 months ago by
Guenni007.
it is the often discussed bug for video-background on color-section since enfold 4.2
the starting of the video is a bit buggy til the fix works
The fix i used was your advice:.mejs-layer { z-index: 1; width: 100% !important; } div .avia-video .mejs-container, div .avia-video .mejs-container video { height: 100%!important; width: 100% !important; position: absolute; }
make the browserwindow wide but not so high ( panorama format )
-
This reply was modified 7 years, 6 months ago by
Guenni007.
Well i decided to get updraftplus premium unlimeted licences!
it is not so expensive – and has good renewal bargains. It has all features i like including sheduled backups on remote places (ftp or clouds )
Can be closedbtw : 500 Internal Server Error
Nevetheless – thanks Basilis – but i’m looking for a tool with fair costs.
I don’t like those things with yearly costsJanuary 4, 2018 at 2:36 pm in reply to: how tho switch header_right to header_left for specific pages #893251sorry Ismael – for late reply.
i was afraid of that.Nevertheless Thread can be closed. I managed for that specific webpage now a Multisite Solution. And that makes some settings obsolete.
f.e. the request to have different main menus on some pages etc.Thanks as always
yes the lang files of wordpress itself is fi (WP Locale is the focus for ) too : https://make.wordpress.org/polyglots/teams/?locale=fi
hm – i did not see that warning –
but i can not realy believe that a web page like this one – I assume with a good sales amount is using a lets encrypt cert.
Ok – for some private websites this might be an acceptable solution. But for the reputation of kriesi and for enfold an ev cert (Comodo EV SSL for 140Euro/year or comodo postiveSSL EV for 68Euro/year) should be not too expensive i guess. These got green adress bars and are nearly a 100% browser and mobile browser compatible, and your siteconstruction even on your demosites there is not even a wildcard cert needed. All is under kriesi.at/Goto Dashboard – Enfold (child) – Social Profiles … delete the entries of kriesi
but with your very dark background it will be better to have a somewhat glooming with light “behind” it:
#wrap_all { box-shadow: 0 0 50px #fff; }
ok a black shadow will look good too!
#wrap_all { box-shadow: 0 0 100px #000; }
do you have more than one post ?
do you use on top a slider ( full-width ) alb element?
on that last case – it is not there because slider navigation should not be disturbed by post navigation prev/next
– but you can reactivate it by this snippet in your functions.php of your child-theme:add_filter('avia_post_nav_settings','avia_remove_fullwidth_slider_check', 10, 1); function avia_remove_fullwidth_slider_check($settings){ $settings['is_fullwidth'] = false; return $settings; }
you can mimic it by having a 1/5 th grid layout and put in each a 1/5 comlumn thats 25 “columns” only but you will see that this won’t look good
https://webers-testseite.de/test-2/-
This reply was modified 7 years, 6 months ago by
Guenni007.
-
This reply was modified 7 years, 6 months ago by
-
AuthorPosts