Forum Replies Created
-
AuthorPosts
-
September 5, 2022 at 12:04 pm in reply to: Old enfold 4.2 sets PHPSESSID cookie, minor update version (hotfix) needed #1363898
Hi Yigit,
thanks very much for reply!
Updating to the latest version is not possible currently (unfortunately).
I would be very grateful if you could a provide to an older updated version please.
Thanks!
Matthiasthank you! :-)
I’m sorry, the code was in my custom.js
March 29, 2021 at 10:34 am in reply to: Getting error in slideshow.php after 4.8 theme update #1291055Thanks,
that solved my problem :D
Regards, gugler
Hi,
I am getting the same error and have opened a new thread but no one is answering.
Please I really need help:
Thanks, gugler
March 25, 2021 at 10:06 am in reply to: Getting error in slideshow.php after 4.8 theme update #1290335Hey Nikko,
thanks for your reply!
I dont have an av-helper-slideshow.php in my child theme..
And the error reffers to the parent theme.Do you have any other ideas?
Thanks, gugler
Hi Victoria,
I know, this was just a test in order to see if is_front_page() is working :)
I dont think so we use a custom header.php. I think the custom header.php was created during another version.
Child theme version:<?php global $avia_config; $style = $avia_config['box_class']; $responsive = avia_get_option('responsive_active') != "disabled" ? "responsive" : "fixed_layout"; $blank = isset($avia_config['template']) ? $avia_config['template'] : ""; $av_lightbox= avia_get_option('lightbox_active') != "disabled" ? 'av-default-lightbox' : 'av-custom-lightbox'; $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled'; $sidebar_styling = avia_get_option('sidebar_styling'); ?><!DOCTYPE html> <html <?php language_attributes(); ?> class="<?php echo " html_{$style} ".$responsive." ".$preloader." ".$av_lightbox." ".avia_header_class_string();?> "> <head> <meta name="format-detection" content="telephone=no"> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <!-- page title, displayed in your browser bar --> <title><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></title> <?php /* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if (function_exists('avia_set_follow')) { echo avia_set_follow(); } /* * outputs a favicon if defined */ if (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); } ?> <!-- mobile setting --> <?php if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">'; ?> <!-- Scripts/CSS and wp_head hook --> <?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> <link rel="shortcut icon" href="/favicon.ico"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/site.webmanifest"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#1d1d1b"> <meta name="msapplication-TileColor" content="#1d1d1b"> <meta name="theme-color" content="#1d1d1b"> </head> <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank." ".$sidebar_styling); avia_markup_helper(array('context' => 'body')); ?>> <?php if("av-preloader-active av-preloader-enabled" === $preloader) { echo avia_preload_screen(); } ?> <div id='wrap_all'> <?php if(!$blank) //blank templates dont display header nor footer { //fetch the template file that holds the main menu, located in includes/helper-menu-main.php get_template_part( 'includes/helper', 'main-menu' ); } ?> <div id='main' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'> <?php if(isset($avia_config['temp_logo_container'])) echo $avia_config['temp_logo_container']; do_action('ava_after_main_container'); ?> <?php if ( is_page('Museen') ) { dynamic_sidebar( 'museen-sidebar' ); } ?>
Parent theme version:
<?php if ( ! defined('ABSPATH') ){ die(); } global $avia_config; $lightbox_option = avia_get_option( 'lightbox_active' ); $avia_config['use_standard_lightbox'] = empty( $lightbox_option ) || ( 'lightbox_active' == $lightbox_option ) ? 'lightbox_active' : 'disabled'; /** * Allow to overwrite the option setting for using the standard lightbox * Make sure to return 'disabled' to deactivate the standard lightbox - all checks are done against this string * * @added_by Günter * @since 4.2.6 * @param string $use_standard_lightbox 'lightbox_active' | 'disabled' * @return string 'lightbox_active' | 'disabled' */ $avia_config['use_standard_lightbox'] = apply_filters( 'avf_use_standard_lightbox', $avia_config['use_standard_lightbox'] ); $style = $avia_config['box_class']; $responsive = avia_get_option( 'responsive_active' ) != 'disabled' ? 'responsive' : 'fixed_layout'; $blank = isset( $avia_config['template'] ) ? $avia_config['template'] : ''; $av_lightbox = $avia_config['use_standard_lightbox'] != 'disabled' ? 'av-default-lightbox' : 'av-custom-lightbox'; $preloader = avia_get_option( 'preloader' ) == 'preloader' ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled'; $sidebar_styling = avia_get_option( 'sidebar_styling' ); $filterable_classes = avia_header_class_filter( avia_header_class_string() ); $av_classes_manually = 'av-no-preview'; /*required for live previews*/ /** * If title attribute is missing for an image default lightbox displays the alt attribute * * @since 4.7.6.2 * @param bool * @return false|mixed anything except false will activate this feature */ $mfp_alt_text = false !== apply_filters( 'avf_lightbox_show_alt_text', false ) ? 'avia-mfp-show-alt-text' : ''; /** * Allows to alter default settings Enfold-> Main Menu -> General -> Menu Items for Desktop * @since 4.4.2 */ $is_burger_menu = apply_filters( 'avf_burger_menu_active', avia_is_burger_menu(), 'header' ); $av_classes_manually .= $is_burger_menu ? ' html_burger_menu_active' : ' html_text_menu_active'; /** * Add additional custom body classes * e.g. to disable default image hover effect add av-disable-avia-hover-effect * * @since 4.4.2 */ $custom_body_classes = apply_filters( 'avf_custom_body_classes', '' ); /** * @since 4.2.3 we support columns in rtl order (before they were ltr only). To be backward comp. with old sites use this filter. */ $rtl_support = 'yes' == apply_filters( 'avf_rtl_column_support', 'yes' ) ? ' rtl_columns ' : ''; ?><!DOCTYPE html> <html <?php language_attributes(); ?> class="<?php echo "html_{$style} {$responsive} {$preloader} {$av_lightbox} {$filterable_classes} {$av_classes_manually}" ?> "> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <?php /* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if( function_exists( 'avia_set_follow' ) ) { echo avia_set_follow(); } ?> <!-- mobile setting --> <?php $meta_viewport = ( strpos( $responsive, 'responsive' ) !== false ) ? '<meta name="viewport" content="width=device-width, initial-scale=1">' : ''; /** * @since 4.7.6.4 * @param string * @return string */ echo apply_filters( 'avf_header_meta_viewport', $meta_viewport ); ?> <!-- Scripts/CSS and wp_head hook --> <?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head> <body id="top" <?php body_class( $custom_body_classes . ' ' . $mfp_alt_text .' ' . $rtl_support . $style . ' ' . $avia_config['font_stack'] . ' ' . $blank . ' ' . $sidebar_styling); avia_markup_helper( array( 'context' => 'body' ) ); ?>> <?php /** * WP 5.2 add a new function - stay backwards compatible with older WP versions and support plugins that use this hook * https://make.wordpress.org/themes/2019/03/29/addition-of-new-wp_body_open-hook/ * * @since 4.5.6 */ if( function_exists( 'wp_body_open' ) ) { wp_body_open(); } else { do_action( 'wp_body_open' ); } do_action( 'ava_after_body_opening_tag' ); if( 'av-preloader-active av-preloader-enabled' === $preloader ) { echo avia_preload_screen(); } ?> <div id='wrap_all'> <?php if( ! $blank ) //blank templates dont display header nor footer { //fetch the template file that holds the main menu, located in includes/helper-menu-main.php get_template_part( 'includes/helper', 'main-menu' ); } ?> <div id='main' class='all_colors' data-scroll-offset='<?php echo avia_header_setting( 'header_scroll_offset' ); ?>'> <?php if( isset( $avia_config['temp_logo_container'] ) ) { echo $avia_config['temp_logo_container']; } do_action( 'ava_after_main_container' );
Hi Victoria,
thanks for your help! I can see you turned off the shrinking header. That was my idea as well but I need the header to shrink on all sites except the home site.
I tried this code in the functions.php:
add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 50, 1); function avf_header_setting_filter_mod($header_settings) { if ( !is_front_page() ) { $header_settings['header_sticky'] = 'header_sticky'; $header_settings['header_shrinking'] = "header_shrinking"; } return $header_settings; }
But it isn’t working. Any ideas?
Best regards,
gugler- This reply was modified 3 years, 10 months ago by gugler.
Hi Nikko,
thanks for your replay!
I don’t want prevent the header from scrolling, I want to prevent that the classes “header-scrolled” and “header-scrolled-full” are appended.
So that the header scrolls but it don’t get minimized and a background-color.
In my private data you can see what I want (live) and what I have (dev) after the updates.Thanks, gugler
I am currently new to this project so I just experienced that my changed did work but only for the main site of my wp multisite.
So ‘https://zeroproject.org/’ is the main site of my multisite and the header logo is linking to the mentioned subpage.
What I really want is, that the header logo of ‘https://conference.zeroproject.org/’ is linking to the mentioned subpage.I am sorry for missing the multisite detail.
Thanks for your help!
Thanks for your replies :)
I have tried Guenni007 solutions but they arent working. Do I have to wait a specific amount of time till the changes are recognized?
I cleared the cache aswell but no changes.Now I have the following code:
// changes link for header logo
add_filter(‘avf_logo_link’,’av_change_logo_link’);
function av_change_logo_link($link)
{
$link = ‘https://conference.zeroproject.org/zeroprojectconference2021’;
return $link;
}Per default the logo is linking to ‘https://conference.zeroproject.org/’.
According to other forum posts this should work but it doesnt.I managed to make it work with the following code:
// changes link for header logo
add_filter(‘avf_logo_link’,’av_change_logo_link’);
function av_change_logo_link($link)
{
$link = home_url(‘/subpage’);
return $link;
}Still I dont unterstand why it isnt working if I try to link any other page or if I am using the whole url not the home_url function.
Well, I changed it again to try an external link again and now the version mentioned above isnt working anymore..
I would appreciate any suggestions :)
Greetings, Mylene- This reply was modified 3 years, 10 months ago by gugler.
November 24, 2020 at 10:34 am in reply to: "Enable auto updates" option missing – does enfold support this? #1262616Hi,
the ticket can be closed.
If possible in future we would really like automatic updates for the theme, because we’re experimenting with the auto updates for plugins (wordpress 5.5) and core.
Best regards
November 23, 2020 at 11:04 am in reply to: "Enable auto updates" option missing – does enfold support this? #1262302Hi Rikard,
thanks for the quick reply!
Best regards
Hi,
no I don’t need any futher help because I fixed it on my own. Thank you for your kind support.Best regards,
MartinHi,
yes I made customizations in the helper-main-menu.php. Otherwise it didn’t work. Unfortunately the code of advanced_menu_toggle and advanced_menu_hide didn’t exist in my code, so I’ve added it in helper-main-menu.php.
Kind Regards
MartinThank you for help.
The desktop menu is working now. But I have a problem with my mobile menu. The hamburger button and the search icon don’t show up. Unfortunately the whole a tag “advanced menu toggle” doesn’t exist in my code. Do you know where I can add this line of codes? I already tested my header.php and it doesn’t change anything, if I override it with the new version. I also deleted my cache.
<a id="advanced_menu_toggle" href="#" aria-hidden="false" data-av_icon="" data-av_iconfont="entypo-fontello" title="Menü einblenden." class="mobile"><span class="icon" aria-hidden="true"></span><span class="screen-reader-text">Menü einblenden.</span></a>
Kind Regards
Martin- This reply was modified 4 years, 4 months ago by gugler.
Hey Rikard & Guenni007,
there was a missing style.css file. I’ve disabled it while testing the website. But the menu is still crashed.
@Guenni007 I think the popup script should open the menu-content.Kind Regards
MartinHello Kriesi Team,
I am also interested in info on this topic – I’m sure you are already working on compatibility with Gutenberg, please inform us about your plans!
I’m running different Enfold versions on different Websites and would like to be ahead of the game, if possible.Thanks!
Dear Günter,
Thanks for your reply. I tested the file you provided and can confirm that it fixes this bug.
All the best,
StephanieHello Victoria,
In my first post I already stated that I was able to reproduce the issue on WordPress 4.9.4 and Enfold 4.2.3. Up until yesterday, that was pretty much the most up to date setup to have.
I just saw that Enfold 4.2.4 came out yesterday, but to my knowledge, the changelog doesn’t address any changes to issues with autosave.I am not able to give you access to the site with the up to date setup, as it is a live customer website and I can’t risk any problems due to debugging. That’s why I took my time to test the issue on one of my dev environments, confirmed that I was able to reproduce it there as well & sent you the credentials.
Best regards
StephanieThis reply has been marked as private.July 10, 2017 at 8:59 am in reply to: Problem with anchor links and scrollTop animation in Firefox #818602Hi Victoria,
yes I did, without any luck.
Kind regards,
FlorianJune 26, 2017 at 11:19 am in reply to: Problem with anchor links and scrollTop animation in Firefox #812974Hi Victoria,
I tried both of the suggested fixes:
$('**html,body**').animate({ scrollTop: target }, duration, easing);
and
$('window').animate({ scrollTop: target }, duration, easing);
None of them work in Firefox.
Kind regards,
FlorianJune 19, 2017 at 9:20 am in reply to: Problem with anchor links and scrollTop animation in Firefox #809682… and it get’s weirder and weirder. I tried deactivating all plugins + removing all the custom js files from my child theme. So it’s now the plain page with all the js loaded from the parent theme and without any plugins. The problem still occurs in Firefox.
I don’t have any ideas left.
Kind regards,
FlorianJune 19, 2017 at 8:52 am in reply to: Problem with anchor links and scrollTop animation in Firefox #809678Hi Victoria,
I tried it without :not and :animated and checked the event. It is undefined in Chrome and in FF. The target variable is defined and correct.
Kind regards,
FlorianJune 14, 2017 at 10:21 am in reply to: Problem with anchor links and scrollTop animation in Firefox #807889Hi Victoria,
thanks for the quick answer, though I don’t really understand it. That’s the way Enfold does it anyway, isn’t it?
From avia.js
$('html:not(:animated),body:not(:animated)').animate({ scrollTop: target }, duration, easing, function() { console.log('done with the animation') // add new hash to the browser location // window.location.href=newLocation; if(window.history.replaceState) { window.history.replaceState("", "", newHash); } });
I am getting to the ‘done with the animation’ log in Firefox, so it does call the callback function. But it doesn’t scroll.
Kind regards,
FlorianDecember 16, 2016 at 10:37 am in reply to: Compatibility with Advanced Custom Fields PRO and Location "Nav Menu" for ACF #725233Hello Nikko,
Thanks for your reply!
Well, I am afraid there is not a lot to see, because with Enfold the Fields simply don’t show up in the Menu screen.
Firstly, this is the option that gets added to the Advanced Custom Fields Admin screen when you activate the Plugin ‘Location “Nav Menu” for ACF’: http://imgur.com/tZYm3Go
It says “Show these fields if…” – and then you can select for example a specific page or, in this case, one navigation menu or all navigation menus.I am attaching a screenshot how it looks like with Enfold: http://imgur.com/7XFJdMX
With Twenty Sixteen the field shows up (although it’s a bit crooked): http://imgur.com/Pgs3QZTIt would be great if there was a way to solve this issue.
All the best
Stephanie Jagl-Posch
gugler* brand & digitalI encountered the same problem, I have the same setup as thespecter.
Thank you, Magnolia, for your solution, it works!June 20, 2016 at 4:29 pm in reply to: Masonry Blog – Add Custom 'Read more' link with Advanced Custom Fields #650927Hi Yigit, Thank you for your helpful comment, I got it running now! :)
Best regards
Stephanie -
AuthorPosts