Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am just using Random image Widget, it's for image gallery. Please anybody tell me that how can I use this widget functionality on my website page or post?

share|improve this question
    
I bet if you had typed your question title into google you'd already have an answer. –  Andrew Bartel Apr 23 '13 at 6:51

2 Answers 2

To display elsewhere in a page, you can call the display function in the appropriate php file of your theme using the function echo _random_image()

share|improve this answer
    
where I have to put this function? –  user28922 Apr 23 '13 at 7:17
    
I have got very simple way for use widget on page or post. Just download widget-short-code plugin and install it, this plugin generate short-code for widget so now we have to only copy and paste short-code in pages or post where you want to use widget. Thanks to all for help... –  user28922 Apr 23 '13 at 10:54

This can be done by calling the widget inside a shortcode. Generally shortcodes can be inserted into any post or pages. This plugin will cover the widgets into shortcode **

Widget Shortcode

** Adds a [widget] shortcode which enables you to output a widget anywhere you like. Can be found here http://wordpress.org/extend/plugins/widget-shortcode/

share|improve this answer
    
thanks vicky, I just try it. –  user28922 Apr 23 '13 at 7:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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