BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 4
    James on #28235

    Thanks Brajesh. By the way, I’m an idiot – VS Code (which I’ve only recently started using) was referring to my .gitignore file when doing a project-wide string search, so although I had the child theme in its own repo (and therefore a separate search scope there), the /public_html rule in the .gitignore file at the root of the WP instance was stopping Code from indexing anything outside of that scope … 😂

  • Participant
    Level: Initiated
    Posts: 4
    James on #28209

    Hi Brajesh,

    1. Thanks for the added filter params. FYI, my cb-layout-conditional-functions.php (from your latest zip) stops at line 420.

    2. Great!

    James

  • Participant
    Level: Initiated
    Posts: 4
    James on #28193

    Hi Brajesh,

    Thanks for getting back to me.

    1. The code is in functions.php (which is where I’d put any presentational filters) – but the hamburger icon is still there on the site. I’ve just noticed that the slide-in is in fact disabled, but the icon remaining will be confusing for users if it works on one side but not the other. I don’t want to start hacking the theme to pieces or using CSS to hide things – is the icon left there intentionally for some reason?

    Also, I meant that I can see cb_get_panel_visibility() is *implemented* in cb-layout-conditional-functions.php (as you can see, I refer to the file by name in my initial post, and that’s where I found the hook) – but I don’t see a function *definition* anywhere. Perhaps I’m missing something in your code.

    2. Thanks – I’m aware of that link, although there is no real documentation there yet – I assume that’s being worked on (not that it’s too necessary – your code is well documented).

    Thanks,

    James

  • Participant
    Level: Initiated
    Posts: 4
    James on #28057

    Thanks Brajesh! 🙂