Featured Post Widget

The Plugin

With the Featured Post Widget you can put a certain post to the focus, by displaying it in one of your widget areas. You can decide, whether or not to display the post thumbnail and whether the post title is on top or under that thumbnail. Style your widget in a different way to give it even more exposure.

Select the post to be displayed simply by choosing it from a drop-down menu.

History

We needed something to feature certain posts in the widget area of the theme, we are using. This is the result. With later versions, we added some languages and made the plugin more accurate. Now it will display also short-codes if the content is chosen instead of an excerpt.

Current Version

The current version is 3.3 and has now a Dutch and a German translation as well. You can avoid dubble content by giving a backup post, that shows, when the main post in the widget is on a single post page. You can define a ‚read more‘ link for the featured post, if needing one. From on this version, you choose the post and the backup post from a drop down menu and if you forget that, a random post will show up. With the time the Featured Post Widget became more flexible and you can now choose where the thumbnail is located regarding the text (left, right, above). You have a possibility to display the post date as well, if wanting to and the code has been completely overhauled.

Since version 3.2 we are building up the A5 Plugin Framework to make it more easy to either build new plugins according to customers needs or to make existing plugins extendable in faster time. Because we are starting to have too many plugins with too many support questions and have to build custom solutions for our customers as well, we had to give up the Dutch translation.

Change Log

3.3 Possibility to align the excerpt and the thumbnail added; you can display the post date as well, if wanting to
3.2 Complete overhaul of the code in accordance to start building the A5 Plugin Framework
3.1 More accurate auto excerpt and thumbnails are working with galleries as well
3.0 Some streamlining done, more fool proof.
2.1 Minor bug fix, showing the excerpt.
2.0 The widget now supports a customizable ‚read more‘ link.
1.9 Trying to get expandable textareas work.
1.8.2 Bug Fix with backup post; plugin works now also with slugs.
1.8.1 Small bug fix with the backup post.
1.8 A second post can now be defined as a backup, that will show up, if the widget is showing on a single post page, showing the featured post. Just to avoid doublets.
1.7 Small changes in the handling that provide more accurate working.
1.6 Dutch translation added.
1.5 German translation added.
1.0 Initial release

Installation

To install the Featured Post Widget Plugin simply download it here, unzip the file and upload the folder named „post-feature-widget“ into the plugin folder of your blog; this will usually be the ‚/wp-content/plugins‘ folder.

Once you have done that, simply activate „Featured Post Widget“ in your plugin panel and customize the instances of your widgets, when you place them into your widget areas.

Screenshots

working plugin at testing page

This is the plugin working with WP 3.1 and the 2010 theme.

placing and customizing the widget

Placing and customizing the widget

[aep_ignore_tag]

Donation

If you use the plugin and like it, we appreciate a donation. If you find the plugin useful and like it very much, we appreciate your feedback even more.

[/aep_ignore_tag]

15 Kommentare zu "Featured Post Widget"

  1. Please, add the following feature:
    1. ability to specify a specific post id
    2. support for pages and custom post types

    With these two features I would be able to say that I’ve found the perfect solution to my needs :)

    • The ability to specify an id has been taken out of the widget for better comfort. If you go back (in the repository) to a version of the Featured Post Widget before 2.0 it should be a version, where you can specify an id instead of having a pull down menu. And in deed that id should also work with pages and custom post types.

      I think, I won’t load the plugin with more features for now. But perhaps in a later version. And I was thinking anyway of a Featured Page Widget for the future. So, at least that might come ;)

  2. The latest version of FPW is causing the other widgets to vanish from the widget admin page. I am using WordPress 3.4.1. The only solution I have found is to deactivate FPW.

  3. Hi, Everything work great on this plug-in but I don’t know how to make the title of the post look like H2?

    Thanks

    • Hello, you actually can’t make it a h2 at the moment. The widget Title of your theme seems to be always h2. The post title in the widget is h3. I can build in an extra option. But that will take a couple of weeks, as I’m utterly busy at the moment.

      Cheers

  4. By enabling this plugin the widget section in the admin area will stop working on some servers.
    On my server and my local server it’s working perfectly fine.
    But when i uploaded it on my client’s server the widget section at the admin area stops working when activating the plugin. It just stops loading when it tries to load the FPW widget.
    I enabled debugging and i couldn’t find any relative information on why this is happening…

    Could u please take a look in to it since it’s a great plugin and i need this functionality really bad..

    Thanks and hope to hear from u soon

    • Hello Jeffrey,

      I’m terribly sorry that this happens. As I never can reproduce the bug in any of my testing environments, I couldn’t ever eliminate it. Could you be so kind and send me the source code of a broken widget section? Like that, I might see what is happening.

      Thanks and best,
      Stefan

  5. Yes i understand the situation.. I tried to recreate the environment as well to find out more information on where the bug is coming from but i couldn’t make the widget section break as in my clients production environment.

    Could u give me some more information on the source code you need since i’m just using the original plugin? Then i’ll email it to you…
    My client is using WordPress 3.5 and the original Featured Post Plugin 3.3 without modification.

    When checking the outputted HTML it breaks when trying to load the DIV with the class widget-content… It’s just an empty div.
    Without any errors in the console or errors in the PHP debugging log.

    Thank you for trying to help me.

    • That’s really peculiar. It would be just the outputted HTML of the widget section of WP I would need. But if you say it’s just an empty container without any errors, it becomes difficult. Sometimes, when experimenting with better scripts to improve the text area resizing, the widgets stop working and I Can recognize my mistake by looking at the sourcecode of the widgets screen of WP. It displays a huge error message in the html and not on the screen. I was hoping for something like that.

      I guess, it stays trial and error then. Sorry for the inconvenience and not really being able to help.

  6. Let me start out by saying that I really like this plugin
    BUT…
    Just Installed version 3.4 and it totally blew up my site.

    It must be missing a close div in the widget because everything that comes after it gets jammed up into the sidebar. When I turned it off… Everything is A OK.

    So anyway. If you fix it I will turn it back on.. If not I guess I am off looking for something else.

    • Cheers! I have heard that already once and will fix the problem as soon as I can reproduce it. It won’t be a missing closing of an element. but it looks very much like a missing class in the framework. But thanks anyway for alerting.

  7. I just recently updated my site with 3.5.1 of WP and 3.4.1 of the featured post widget. It’s been working great but something glitched in this update. When I browse the site it places the title of the blog post but not the first three lines. I don’t use images in the post so I have the thumbnail turned off. I even tried pasting the first three lines into except box but that doesn’t display either. The title links to the post but it just looks odd not having the excerpt appear.

    Any suggestions?

    • Hello Jimmy,

      thanks for reporting a problem. I will have to investigate, what might cause your problems, since I didn’t have them when testing the latest version of the plugin. I will let you know as soon as I have found out something.

      Regards,
      Stefan

  8. Haven’t had a chance to use your plugin yet.

    Reason: your plugin is interfering with another plugin I have loaded WordPress Page Widgets 2.0. This plugin allows a person to customize what widgets will show in the side bar per page/post from the master list of widgets. When I activate your plugin the master list is fine but the list that I have on any particular page doesn’t work.

    If I deactivate your plugin everythging works fine on the WordPress Page Widgets 2.0.

    Is there any other information you may need.

    Thank you in advance

Einen Kommentar hinterlassen