0

I want to add a check option to the wordpress admin sidebar when I am writing a post or a page to display a specific widget. I tried display-widgets plugin but I want to be able to show a widget directly while writing the post.

Or is there is another way to do this it will be OK.

  • Other than the checkbox on the post edit page, does the display-widgets plugin do what you want? – s_ha_dum Nov 8 '12 at 15:55
  • The plugin is ok, but I want another easy and speed solution. – Ahmad Ajmi Nov 8 '12 at 15:59
0

Barring the discovery of a plugin that does this already (I'm not aware of any that specifically do what you want) you'll need to create your own. add_meta_box and add_filter('widget_display_callback', $instance, $widget, $args) should be the bulk of what you need

  • This what I have done after a long time of search and it works fine. Thanks – Ahmad Ajmi Nov 9 '12 at 19:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.