Site logo

Archived topic

I want to add drop-down categories in the sidebar

7 replies · Started by Mayank on August 21, 2021

Viewing posts 1–8 of 8

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

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.

Please open a new topic for the separate question.

Thanks!

This archived topic is closed to new replies.