david78987
Forum Replies Created
-
I added
add_filter( ‘baguettebox_selector’, function() { return ‘.entry-content’; } );
It killed the site when I ran it “everywhere” in code snippets, however, when I set code snippet to only run it in the front end, it works! So I’d say it’s a win.
Thank you!
Hello Johannes,
Strange, I added the following code using the code snippets plugin:
add_filter( 'baguettebox_selector', function() { return '.entry-content'; } )But I get a site error:
Parse error: syntax error, unexpected end of file in /data/0/6/06b2e51d-1ad5-4159-aca9-71fcbb2f11c7/stigmorin.se/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(504) : eval()’d code on line 2
Forum: Plugins
In reply to: [Helpful] Plugin breaks WP CustomizerSolved it – it was a conflict with “WP Mail Log”. Disabling this plugin made it work. (weird)
David
Forum: Plugins
In reply to: [LiteSpeed Cache] Square next to iconHi!
Turns out it was Load async CSS.
Load time seems to increase by 3-500ms with this setting turned off. Any ideas for how to proceed?
Forum: Plugins
In reply to: [Breadcrumb NavXT] Only show the two closest categoriesHello, John. Thank you for your response.
We don’t want to remove specific breadcrumb categories, only make sure that we only show the two closest ones.
So depending on which category the post is in, it should only show the two closest, like this:
Child cat 2 / Child cat 3 / Post name
Parent cat / Child cat 1 / post name
Child cat 1 / Child cat 2 / post nameHello, not quite. Rather, we need to remove the parent URL from the child URL. We need to change this https://dev.socialpronow.com/blog/category/general-social-skills/making-conversation/
into this:
https://dev.socialpronow.com/blog/category/making-conversation/There’s no support in WP’s permalinks setting for this.
So we need some type of script that say “When a child category is linked to, remove the parent category from its URL”