Mar 132017
 
WordPress Plugin Name: Category Posts Widget
Plugin URL:https://wordpress.org/plugins/category-posts/

Plugin Author: TipTopPress
WordPress profile: TipTopPress
Plugin version: 4.8.5
Last updated: April 25, 2018 (4 weeks ago)
Tested up to (WP version): WP 4.9.6
Downloaded: 924,351
Rating: 5 (out of 5)

Description


Category Posts Widget is a light widget designed to do one thing and do it well: display the most recent posts from a certain category.

Term and Category based Posts Widget

A premium version of this free widget here and available on tiptoppress.com created for big WordPress sites.
We’ve also started creating free widget Add-ons for the Premium Widget here: Widget extensions.

Premium features

  • “Post List Alterations”
  • Post details alignment
  • Full background post images
  • Slider (Vertical and horizontal News-Ticker)
  • Grid and Column full page layouts
  • Masonry (Responsive grid layouts)
  • Custom Post Types, Events, Products
  • Multi selection
  • More complex ways to filter (OR, AND, Exclude, ALL, Childes)
  • Mouse hover effects
  • Widget Extensions
  • Custom filter- and action hooks (for development)
  • All free features
  • E-Mail support
  • Free trail on localhost
  • More examples on the demo pages

Features

  • Show SVG font-icon for “post formats”
  • Template to arrange the post details
  • Premade Templates
  • The Template text can be a post details placeholder, plain text, HTML or HTML for SVG font-icons
  • Mouse hover effects for post thumbnail, e.g, zoom, SVG font-icon
  • Shortcode (Easily change all Shortcode options in the customizer).
  • Support multiple shortcodes at the same post.
  • Option for post offset (use two or more widgets after another).
  • UI buttons in the editor toolbar to insert shortcode.
  • Option to touch device friendly “everything is a link”.
  • Additional customizer link at the admin-bar (“With one click to the Customizer”).
  • Thumbnail width & height (CSS cropping).
  • Fluid images (Responsive layout support).
  • Set default thumbnail.
  • Option to change ordering of posts.
  • Add dropdownbox entry for ‘all’ categories.
  • Set how many posts to show.
  • Option to hide widget, if category have currently no posts.
  • Add option to disable subcategories.
  • Option to hide posts which have no thumbnail.
  • Option exclude current post.
  • Option to hide the widget title and post titles.
  • Option to make the widget title link to the category page.
  • Option to show the post excerpt, set the length, allow HTML and change ‘more’ text.
  • Option show post author.
  • Option to show the comment count.
  • Option to show the post date and set the date format, e.g. “Time since published”
  • Filter by post status: Published, scheduled, private (like events)
  • Option to make the widget date link to the category page.
  • Option to format the outputted date string.
  • Option to link to the category page below posts list.
  • Option to disable the widget CSS or more granular control of default styling with not apply the font styles.
  • Multiple widgets.
  • Multi sites support.
  • Support localization with translate.wordpress.org
  • Use WP user profile for settings (‘auto close’ and if the shortcode button appears in the editor toolbar).

Documentation

Contribute

While using this plugin if you find any bug or any conflict, please submit an issue at
Github (If possible with a pull request).



FAQ


Installation Instructions

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Category Posts Widget,

  1. log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
  2. In the search field type “Category Posts Widget” and click Search Plugins.
  3. Once you’ve found plugin, you can install it by simply clicking “Install Now”.
  4. Then, go to plugins page of WordPress admin activate the plugin.
  5. Now, goto the Widgets page of the Appearance section and configure the Category Posts widget.

Manual installation

  1. Download the plugin.
  2. Upload it to the plugins folder of your blog.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Now, goto the Widgets page of the Appearance section and configure the Category Posts widget.

Template, placeholder and post detail

Here You can control the Post Detail parts, which appears as part of the post item. All post detail will placed as placeholder. The text in the Template area can be a post details placeholder, plain text, HTML or HTML for SVG icons.

How it works? and examples.

For more layout options please try our premium widget: Term and Category based Posts Widget.

Use SVG icons

For SVG font-icon HTML we recommend the WordPress Dashicons, which are included as default and can be used without any font-icon including.

How Category Posts Widget work with SiteOrigin Page Builder

Please add the widget with shortcode [catposts] inside a editor widget which is placed to a SiteOrigin Page Builder row.
We also create a YouTube video: How Category Posts Widget work with SiteOrigin Page Builder

How Category Posts Widget work with Divi Builder

You can create a new Divi widget area and put our widgets into a Divi Sidebar Module: How to put a widget into Divi Module.

How our widgets works with other page builder plugins like Elementor, Thrive Architect etc.

We recommend for all other page builder plugins like Elementor or Thrive Architect to use the WP Custom Widget Area plugin in additional.

Use the WP Custom Widget Area plugin and create a new custom area with this plugin and place the shortcode (from the new created widget area) to a post or page. Then add our widget to the new created custom widget area the widgets admin site (Dashboard > Appearance > Widgets > … ).

The font-size is different from that of other widgets or Theme elements?

Please use the option: “Disable widget CSS”.

I want the title as a link pointing to the selected Categorie page?

Enable the check box “Make widget title link”.

Parse error: syntax error, unexpected T_FUNCTION in /home/www/blog/wp-content/plugins/category-posts/cat-posts.php on line 58

Some of the features that were used in that version needs PHP 5.3+.
We apologies for any headache this may cause you, but frankly it is better for you to check with your hosting company how can you upgrade the PHP version that you are using, and not only in order to use this plugin. PHP 5.2 should be considered insecure now, and for your own sake you should upgrade.
PHP 5.2 is very old and any support for it from the php developers had ended more then 5 years ago php.net/eol.php.
We know there are peopel how use PHP 5.2 wordpress.org/about/stats and we can’t imagine this people will have no other problems, if they don’t update.

You check the PHP version with phpversion(), but the widget don’t work

Check also the .htaccess file, if there is an entry for an older PHP version.



Screenshots:


  1. Front end of the widget with SVG font-icon support for post formats, hover effects and the Template text-area.

    Front end of the widget with SVG font-icon support for post formats, hover effects and the Template text-area.

  2. Template to arrange the post details with placeholders.

    Template to arrange the post details with placeholders.

  3. Edit the widget options with the customizer.

    Edit the widget options with the customizer.

  4. Use shortcode [catposts] in the content.

    Use shortcode [catposts] in the content.

  5. The widget configuration dialog.

    The widget configuration dialog.

  6. Widget behaviour settings for each user.

    Widget behaviour settings for each user.



Other notes:




Latest Change log entry:


  • Fixed Tabs not working


Tags:


categories, category, posts, posts-widget, widget

+ Jason's Comments

I use this widget for showing recent posts of the same category as the current post.