Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Need a widget to display a featured image and title from a page WordPress

  • SOLVED

I'm in need of a widget that will let the user pick a page (preferably from a drop down of all the pages) and have the option to input a title to display in place of the page name (this would be in case the title of the page is too long to display).

When the widget is then displayed, it will display the_post_thumbnail('small_photo') and below that the title, and a link around the two going to the page.

Answers (1)

2011-03-07

Ivaylo Draganov answers:

Hello,

I wrote a custom widget and wrapped it up as a plugin, it's available here: [[LINK href="http://pastebin.com/WCdGEJji"]]http://pastebin.com/WCdGEJji[[/LINK]]

It's far from perfect(no dropdown menu, page is passed by ID) but it basically works.

Maybe you could use this widget found in the WP plugin repository - it looks quite cool and might be just what you need:
[[LINK href="http://wordpress.org/extend/plugins/featured-page-widget/"]]http://wordpress.org/extend/plugins/featured-page-widget/[[/LINK]]