Forum Replies Created
-
AuthorPosts
-
wonderful – seems to have worked perfectly. Thanks!
Hey Rikard, It’s working perfectly now, thanks. Though I’m not sure how you did it – I don’t see anything different on the page, nor in the sidebar widget…
Hi RIkard,
Can you please use the updated token. Example post with Table of Contents widget is also listed below.
Cheers,
EdSure, here you go…
anyone from Enfold able to help out here?
Hi,
I’m with WPX hosting on a shared hosting plan.
Their response to your Qs is:
We do not support any kind of query logs directly via MariaDB on production servers.
We can only partially log them for a specific user.
I am not sure if we can help with the debugging of the case in any way, unless there are a few similar cases from which we can distinguish the similar causes.
thanks for the response. My hosting company say:
Unfortunately we do not support this option. We can only check the ETA usage and log most of the queries via mysqladmin – https://mariadb.com/kb/en/mysqladmin/ but when we do we do not see anything else.
Hi Yigit,
Just had this back from my hosting company:
> I have tested this with all merging disabled on a test environment that I
> have set [grab attached] but unfortunately the issue was still
> persisted.
>
> It is possible that the issue might be related to the way that the site
> and menus or data is managed by the theme but unfortunately we cannot debug
> this because when we are logging the queries we just get an enormous logs.February 1, 2020 at 10:33 am in reply to: Mobile menu includes page content after upgrade to latest Enfold version #1180485thank you – worked a treat ;)
Thanks for the plug in tips.
The suggested solution will create manual work because for ~70% of my 1,500 pages the default sidebar is perfect, and I don’t want or need to change it. These 70% of pages will have maybe 30-50 variations in the content of the sidebar. The suggested solution will involve me manually creating these 30-50 existing sidebars as widgets, then working through the 1,000 pages to add the widgets to them, which if Enfold allowed me to chose between a default sidebar and a widget sidebar at a page level I wouldn’t need to do.
It’s not the end of the world, I’ll have a think about other potential workarounds. Enfold is still an excellent theme :)
January 14, 2020 at 11:44 am in reply to: How to replace rather than add to enfold sidebar? #1173232Hi Mike,
Thanks for this – it gets me where I need to get to, though with lots of manual work, as I’ll need to create dozens/hundreds of custom menus and update all my 1,500 pages with the correct widget sidebar, when most of my existing pages are fine with the default sidebar. So one last follow up Q on this ;) Is there a way to use your suggestion for the pages I want a different sidebar for, but for other pages keep the default sidebar in place?
RE: Enfold update, thanks for this – hadn’t realized there was an update required. Will get on to it.
Cheers,
EdOK, thanks. I do use smush, so will look into this.
Thanks for the updated code Mike. The site now looks fine, but I don’t think it’s functioning as it should.
The page I gave you was just an example – I have a site section with so many child pages the default sidebar goes on for too long, so would like to use a variety of widgets rather than the default sidebar for these pages.
I’ve added page ID 162 to the code you provided, as per below, but this page is still displaying the default sidebar.
function avf_sidebar_menu_filter_mod($menu, $args, $post) {
if(is_page(array(42, 162, ‘about’, ‘Contact’))) {
$menu= ”;
}
return $menu;
}
add_filter(‘avf_sidebar_menu_filter’, ‘avf_sidebar_menu_filter_mod’, 10, 3);January 13, 2020 at 11:59 am in reply to: How to replace rather than add to enfold sidebar? #1172723OK, I’ve amended the code as suggested. The whole website is now showing this error message:
Parse error: syntax error, unexpected ‘;’ in /home/nosweats/public_html/wp-content/themes/enfold-nss-child/functions.php on line 5
There has been a critical error on your website.January 13, 2020 at 12:56 am in reply to: How to replace rather than add to enfold sidebar? #1172607Thanks Guenni. What I’m trying to achieve doesn’t feel like it should be that hard. I want most pages to have the default sidebar (showing all child pages) and some pages to use a widget only for the sidebar (not a widget underneath the default sidebar content).
Is there a way to do this without all this code, which so far has taken me weeks of back and forth but got me nowhere?
Hi, not sure of the etiquette – if I should start a new thread w the same issue or jump into this one.
I’m using the blog content element on my home page a few times, and have set the image size to magazine (710×375). All post featured images are the same size, but one image in the blog grid is appearing slightly higher than the others. Link to website below. Do you have any ideas what’s causing this?
January 12, 2020 at 11:42 pm in reply to: How to replace rather than add to enfold sidebar? #1172598OK, thanks for the response. I’ve resolved the child theme issues, and the functions.php in the child theme is now working OK, although it seems to be causing an issue with the sticky header – on scroll there’s now a gap between the top of the header and the browser window.
I’ve added a page ID (162) as instructed to the code in the funcitons file, but the sidebar is still displaying on page 162 (https://www.nosweatshakespeare.com/resources/shakespeare-facts/).
Hi,
Yes, I’ve been using a child theme for years, just with a style.css file in it.
I’ve enabled debug mode and amended the code, then added the funcitons.php file to my child theme, along with all the other files that the debug mode suggested I need. I’m now getting this website error message that I’m not sure how to resolve:
Fatal error: Cannot redeclare av_theme_slug_setup() (previously declared in /home/nosweats/public_html/wp-content/themes/enfold-nss-child/functions.php:536) in /home/nosweats/public_html/wp-content/themes/enfold/functions.php on line 536
There has been a critical error on your website.Any ideas?
Cheers,
EdOK, I’ve tried creating a child functions.php file (copied and pasted from the main theme to the child theme), but then get this wordpress error: “There has been a critical error on your website. Learn more about debugging in WordPress.”
When I change the name of the functions.php file in the child theme or remove it the site is fine again, but the child functions file doesn’t work. I appreciate this thread is about something entirely different, but can you point me to any resources that might help me create a working child funcitons.php file?
Hi Ismael,
Thanks for the response and the suggestion and apologies for the long delay. I’m now back and determined to crack this one ;)
For the code you’ve provided, where should I add it to get it working?
And a recap of the ask: I’d like all pages on my site to have a sidebar – the majority to keep the default sidebar which shows all child pages, and a handful of pages to show a sidebar that consists of a widget menu only. Does the code you’ve shared above allow me to do this?
Cheers,
EdNovember 25, 2019 at 9:33 pm in reply to: How to replace rather than add to enfold sidebar? #1160044Thanks… but this solution now gives all pages which have a sidebar enabled a sidebar containing all pages on the entire website, rather than just the child pages of the page the sidebar is on. In this scenario I’d need to either give every page on the website a custom sidebar, or turn off the sidebar individually for all pages (or a combination of the 2).
Is there any way – at a page level – to keep the page navigation sidebar for the site overall, but overwrite with customer sidebar for specific pages?
Thanks,
EdNovember 22, 2019 at 10:33 pm in reply to: How to replace rather than add to enfold sidebar? #1159344I don’t understand your point about there being no default side bar. RIght across my site the child pages are shown in the sidebar, without the use of the “displayed everywhere” widget – or any widgets at all. Now on this particular page I’m trying to replace this sidebar that is shown by default with one that is shown in a widget.
The screengrab that you show of the side bar below the ad unit is not showing the top characters widget. Please scroll down on this page and you’ll see the “top characters widget” is much further down in the sidebar (and has a title “Shakespeare’s Top Characters” at the top of it). I’d like to remove all of those sidebar links above this widget.
November 21, 2019 at 8:25 am in reply to: How to replace rather than add to enfold sidebar? #1158748Hey, I don’t seem to be able to share a screen grab here, but on https://www.nosweatshakespeare.com/characters/fortinbras-hamlet/ I’m seeing my “top characters” widget in the sidebar way down the page, below the default sidebar.
All ads widgets are added using the adthrive plug in.
November 20, 2019 at 6:28 pm in reply to: How to replace rather than add to enfold sidebar? #1158563hi guys, any update on this one please?
November 17, 2019 at 1:49 pm in reply to: How to replace rather than add to enfold sidebar? #1157633Hi,
Log in details shared in private content.
Cheers,
EdJuly 16, 2019 at 9:18 am in reply to: Site down after attempting instagram fix with class-framework-widget file upload #1119095actually, I just reinstalled the theme and it’s working fine… as is the instagram plugin :) Thanks for the help!
July 16, 2019 at 9:12 am in reply to: Site down after attempting instagram fix with class-framework-widget file upload #1119092Thanks for the response Rikard. Are you able to log in via the recovery mode details I shared? I can log in fine with those… but not sure what to do to resolve the issue once I’m logged in
-
AuthorPosts