July 07th, 2024

How to Hide WordPress Widgets from Specific Post

Like (0) Comments (1)

1 Comments Add Your Comment

Akshat Gupta
3 years ago Selected
To hide widgets from posts, first you have to get Post IDs.

To get the post ID, move the mouse pointer over “Edit Post” in your WordPress dashboard. It will show your post ID.

Now we have Post ID, let's hide the widget from that specific post.

Simply click on the Gear icon >> Logic and enter the Post ID like this – !is_single(array('84', '64'))

Click on the Save button to store your settings. The plugin will hide widgets from your specific posts.
Like (0) Reply

Post a Comment

To leave a comment, please Login or Register