Posts in Sidebar

Fork me on GitHub

Posts in Sidebar is a plugin for WordPress that lets you show a list of your posts using the criteria you want. This plugin gives you almost all the power of WordPress to retrieve the posts you want and show them in your sidebars.

The plugin has also a shortcode, that you can use in your posts/pages to list your posts. You can find more information in the Wiki page on GitHub.

Once installed, Posts in Sidebar creates a new widget for your sidebar. Add it to your sidebar, select the options to retrieve the posts you want, and save the widget: you’re done!

Here are some of the functions you’ll have:

  • get posts by authors, categories, tags, post format, or any custom taxonomy;
  • get posts by exact IDs;
  • get posts by meta key/value;
  • get posts by modification date;
  • get posts children of other posts;
  • get posts by search;
  • get posts by recent comments;
  • get posts by complex taxonomies queries;
  • get posts by complex date queries;
  • get posts by complex custom fields queries;
  • get posts from the category of the current post;
  • exclude posts by authors, taxonomies, and so on;
  • control which elements of the posts are displayed (like post thumbnail, taxonomies, meta values, and so on);
  • stylize the output of the widget using custom CSS styles;
  • cache the output of the widget to save queries to the database;
  • … and much more.

The powerful WordPress class WP_Query is at your fingertips with this plugin. To understand what this plugin can do, take a look at this Codex page: almost all these functions are already included in Posts in Sidebar.

This plugin is free software and it’s developed with many efforts: a donation is very appreciated.

Enjoy!

About this plugin

Name of the plugin:Posts in Sidebar
Plugin version:4.8.5
This plugin requiresWordPress 4.6
Tested up toWordPress 5.3.0
Last updated:2019/10/06
Compatibility:100% with WordPress 5.3.0
Tags:post, sidebar, widget, query, wp_query
Downloaded:270.742
Rating:5 stars

Download

You can get a copy from the page in the official repository: https://wordpress.org/plugins/posts-in-sidebar/.

Support

You can get support in this forum.

Donate

If you’re happy using this plugin, make a small donation via PayPal.

21 risposte su “Posts in Sidebar”

  1. Hi I think your widget is perfect for my needs however i cant seem to get it to work! I’m using the new twenty twelve theme with enabled thumbnails. I’ve installed your posts in sidebar widget and for some reason cant see it in front end – this is very strange… I’m trying it on my localhost – could this be a problem?

    1. What don’t you see in your sidebar? The widget? Or the featured image (i.e. the post’s thumbnail)? Or the entire widget?

      I’ve just installed this plugin in a totally clean WordPress environment using the Twenty Twelve theme and I can’t reproduce it.

          1. Of course. I do see the widget in my admin and have added/dragged it to my widget-ready sidebar. I open it up and choose a category so it will know which posts to show, then click Save, and refresh my front end. Nothing… (no doubt this is not the first widget I’ve installed, which makes it even more frustrating : (
            I’ve also considered maybe the file I’ve downloaded might be corrupt in some way, however if that was the case I wouldn’t see it and be able to activate it…

          2. Try to deactivate all the plugins and leave active only Posts in Sidebar. Does it work?

            Another better way is to try the plugin in a totally fresh WordPress installation. Because you’re in a localhost environment, this is simple to do. Try and let me know.

            Also, make sure you’re using the last version of WordPress.

          3. OK, so I went and installed a new localhost wp and the widget works! I have no idea why it wouldn’t on my own site. Now all I have to do is figure this *small* thing out. And if we’re on the subject I have another question (if I may) – I’ve created a new add_image_size however I don’t see it in the widget featured image thumbnail size… Any thoughts?
            I really appreciate your help

          4. OK scratch that! found the new image size – all is OK.
            However this is the strangest thing – you will not believe it! I went back to my original localhost site – disabled all plugins – activated yours and clicked Save. Nothing in the front end. Went back to the Widget area and saw that your widget has been removed from my sidebar (in the admin itself!) – how strange is that?!

          5. I’m happy reading you solved! 🙂

            About the “strangest thing”, if you disable and re-enable the plugin, the widget should be restored in the position you put it. Strange, sure. The plugin erases its own data (number of widgets and their positions included) only if you uninstall it (as every developer should do, but the majority don’t).

          6. I think it’s more than that – after I enabled the plugin – dragged the widget into sidebar – refreshed the page (still in admin) – widget has been automatically removed from sidebar! What the…

          7. One last question – is there any way to embed this plugin inside the template as opposed to using as a widget?

  2. Hi Aldo, just wanted to tell you YET AGAIN how really good your Post in Sidebar really is. I really like the like random setting which jumbles up the posts and allows older posts to be displayed on the sidebar. Suggestion: Underneath the title of the Widget is it possible to allow a short introduction ? It would be good to show the reader what the category is and why it is different from the others. Many thanks, Mike Churcher

  3. Ciao, cercavo un modo per integrare questo plugin con quello Youtube, l’obiettivo è quello di mostrare il post più recente della categoria “musica” nella sidebar. Non riesco a far funzionare i due plugin insieme, consigli su come procedere?
    Grazie!

I commenti sono chiusi