Forum Replies Created

Viewing 27 posts - 31 through 57 (of 57 total)
  • Author
    Posts
  • in reply to: How to index category pages #1209540

    wonderful – seems to have worked perfectly. Thanks!

    in reply to: Table of contents not working #1203903

    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…

    in reply to: Table of contents not working #1203001

    Hi RIkard,

    Can you please use the updated token. Example post with Table of Contents widget is also listed below.

    Cheers,
    Ed

    in reply to: Table of contents not working #1202510

    Sure, here you go…

    in reply to: Table of contents not working #1201892

    anyone from Enfold able to help out here?

    in reply to: Enfold 4.7.2 causing massive SQL usage #1184470

    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.

    in reply to: Enfold 4.7.2 causing massive SQL usage #1183513

    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.

    in reply to: Enfold 4.7.2 causing massive SQL usage #1181705

    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.

    thank you – worked a treat ;)

    in reply to: How to replace rather than add to enfold sidebar? #1173430

    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 :)

    in reply to: How to replace rather than add to enfold sidebar? #1173232

    Hi 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,
    Ed

    in reply to: Image size on blog grid page #1173216

    OK, thanks. I do use smush, so will look into this.

    in reply to: How to replace rather than add to enfold sidebar? #1172820

    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);

    in reply to: How to replace rather than add to enfold sidebar? #1172723

    OK, 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.

    in reply to: How to replace rather than add to enfold sidebar? #1172607

    Thanks 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?

    in reply to: Image size on blog grid page #1172601

    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?

    in reply to: How to replace rather than add to enfold sidebar? #1172598

    OK, 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/).

    in reply to: How to replace rather than add to enfold sidebar? #1172299

    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,
    Ed

    in reply to: How to replace rather than add to enfold sidebar? #1171760

    OK, 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?

    in reply to: How to replace rather than add to enfold sidebar? #1171384

    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,
    Ed

    in reply to: How to replace rather than add to enfold sidebar? #1160044

    Thanks… 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,
    Ed

    in reply to: How to replace rather than add to enfold sidebar? #1159344

    I 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.

    in reply to: How to replace rather than add to enfold sidebar? #1158748

    Hey, 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.

    in reply to: How to replace rather than add to enfold sidebar? #1158563

    hi guys, any update on this one please?

    in reply to: How to replace rather than add to enfold sidebar? #1157633

    Hi,

    Log in details shared in private content.

    Cheers,
    Ed

    actually, I just reinstalled the theme and it’s working fine… as is the instagram plugin :) Thanks for the help!

    Thanks 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

Viewing 27 posts - 31 through 57 (of 57 total)