Site logo

Archived topic

How to remove the categories from the sidebar

9 replies · Started by Mohammed Arif Shaikh on November 4, 2020

Viewing posts 1–10 of 10

Hi,
I have set-up bulk post menu basis the category section. The categories that I am selecting every time before publishing a post is appearing on the sidebar. I want to remove/hide these categories from the sidebar.
Can you please help on this as I cannot find any option in the customization or backend dashboard to remove it?

Thanks
Arif

Hi there,

go to Customizer > Widgets > Sidebar and remove/add the widgets you require there.

Hi David,
I tried the option you provided but did not get the desired result.
I am sharing the Image URLs in private information.
Please see the right sidebar that is showing categories that I selected for the post.

Thanks
Arif

When you go to Appearance > Widgets > Right Sidebar - what widgets to do you have in there?

Hi
There are 2 widgets.
One is the text widget which is having a banner.
Second is siteorigin taxonomy widget which is blank.

Have you tried removing the siteorigin taxonomy widget?

Hi David,
Yes. The removal of the site origin taxonomy widget helped in solving the problem.
Thanks for your help.
I needed one more favor from you. The menu categories that I created for my bulk posts are appearing as headers.
Can you tell me if there is an option to hide or remove them?
I am attaching the image URL in private information.

Try adding this PHP Snippet:

add_action( 'wp', 'lh_remove_archive_title' );
function lh_remove_archive_title() {
    remove_action( 'generate_archive_title', 'generate_archive_title' );
}

Adding PHP:
https://docs.generatepress.com/article/adding-php/

Hi David,
Issue resolved. Thanks for your help. Really appreciate!

Glad to be of help!

This archived topic is closed to new replies.