-
Search Results
-
Topic: Memory Issues with BBPress
Hello!
I am having an issue where users can no longer post new topics inside my forums.
I am getting the following error when posting:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /home/nspt4kids/public_html/wp-includes/link-template.php on line 214Any ideas on how to resolve for a non-developer?
thanks!
Hey there,
Following this: Post, I tried to create a login / logout button in main-menu. This code I have integrated this code at the end of the functions.php:function add_login_logout_link($items, $args) { if(is_user_logged_in() && $args->theme_location == 'avia') { $newitems = $items; $newitems .= '<li><a title="'.__('Logout','avia_framework').'" href="'. wp_logout_url(get_permalink()) .'">'.__('Logout','avia_framework').'</a></li>'; } else if($args->theme_location == 'avia') { $newitems = $items; $newitems .= '<li><a title="'.__('Login','avia_framework').'" href="'. wp_login_url(get_permalink()) .'">'.__('Login','avia_framework').'</a></li>'; }else{ $newitems .= $items; } return $newitems; } add_filter('wp_nav_menu_items', 'add_login_logout_link', 5, 2);The link will appear just fine. But how I can create a button styled like “Button-Style (Colored)” in avia builder?
I tried to style himself, but without success.
Thanks for your help!Topic: Memory Size Error
Did a simple FTP transfer and when I went to activate the theme I get the following error:
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 122880 bytes) in /home/powerhyd/public_html/home/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullscreen.php on line 173
Is this a theme issue or a server side issue? When I go to my website my theme shows up but when i go into the back end to edit I get the error right away and cannot continue.
Thanks in advance for your support.
Is it possible to insert a 728×90 banner (advertising space) into the header? Would this be done by CSS tweaks or would the header.php need to be altered?
Thanks in advance!
Topic: Swapping logo on mobile
I am setting up a holding page and just have one little thing to resolve with the logo on mobile. As standard the logo scales down and aligns left on the chosen header colour.
I don’t need a menu for now and really want to swap out @<767px to a different version that is optimised for mobile and have it centre aligned.
I have added some custom CSS which is making the header space slightly taller and to load in the image but its being cropped on the right and i can’t figure out how to hide the other logo.
I thought the php and css posted in this post might help but it seems to not have done anything – https://kriesi.at/support/topic/using-a-different-logo-size-on-mobile-devices-possible/
Any support on this would be great as the limit of my CSS knowledge has been reached!
Link to the website is in the private content below.Many thanks in advance.
