Archived topic
I want to add drop-down categories in the sidebar
7 replies · Started by Mayank on August 21, 2021
My Website is https://fastgyan.com/
I want to add drop-down categories in the sidebar of my website but it is not happening.
When I click on widget inside WordPress thumb this error is coming
The "custom_html" block was affected by errors and may not function properly. Check the developer tools for more details.
how to fix this error
Hi there,
Not sure if I fully understand but this doesn't sound like a theme related issue.
I believe the code you are adding in the custom HTML block is causing the issue.
Thanks for reply i think you don't understand my problem
I want to add category in sidebar of website
But when I am adding it by going inside the customize theme, then I am not getting the option of drop down.
Apart from this, I also looked inside Widgets but I am getting this error
screenshot click now https://prnt.sc/1qe6h8f
i sent you the screenshot you see
Can you try disabling the block widget option with this PHP snippet?
https://docs.generatepress.com/article/disable-the-block-editor-in-widgets/
Adding PHP: https://docs.generatepress.com/article/adding-php/
I am not doing this
if I give you access to WordPress
can you help me with this
Hi there,
we don't edit peoples site for them, as we cannot be liable for issues that may arise.
The code Leo provided is very simple:
1. Install the Code Snippets plugin:
https://wordpress.org/plugins/code-snippets/
2. Create a new Code Snippet
3. Copy the PHP Snippet here:
add_filter( 'use_widgets_block_editor', '__return_false' );
4. Past the PHP Snippet into your Code Snippet and save it.
Thanks sir...My problem is solved by the way you mentioned
please give me one more help
My website speed is low even after uploading your template
please tell me why this is happening
You can see the speed of my website by clicking on the link given below
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.fastgyan.com%2F&tab=mobile
Please open a new topic for the separate question.
Thanks!