How to hide widgets by a specific title
-
I cannot find this on Google anywhere, but I have a situation where I only want a widget with title “Contact Me” to display in my sidebar. I want to hide widgets with any other title.
I tried <?php the_widget(‘WP_Widget_Text’, “title=Contact Me”); ?> , but it did not display.
Any help would be appreciated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to hide widgets by a specific title’ is closed to new replies.