Custom Post Type Widgets

This WordPress plugin adds default custom post type widgets.

Author:thingsym (profile at wordpress.org)
WordPress version required:4.9
WordPress version tested:6.4.1
Plugin version:1.5.2
Added to WordPress repository:28-01-2015
Last updated:15-11-2023
Rating, %:96
Rated by:13
Plugin URI:https://github.com/thingsym/custom-post-type-...
Total downloads:198 371
Active installs:20 000+
plugin download
Click to start download

Custom Post Type Widgets plugin adds default custom post type widgets.
You can filter by registered Custom Post Type or Taxonomy on widgets.

Descriptions of Widgets

Recent Posts (Custom Post Type)

display a list of the most recent custom posts.

  • Title – description that appears over the list of recent custom posts.
  • Post Type – if selected, filter by a custom post type. (e.g. post).
  • Number of posts to show (at most 15) – enter the number of posts to display.
  • Display post date? – if checked, display post date.

Archives (Custom Post Type)

display a list of archive links for each month that has custom posts.

  • Title – description that appears over the list of archive links.
  • Post Type – if selected, filter by a custom post type. (e.g. post).
  • Archive Type
  • Display as dropdown – if checked, this box causes the archives to be displayed in a drop-down box.
  • Show post counts – if checked, this box causes a count of the number of posts for each archive period.
  • Order

Categories (Custom Post Type)

display a list of categories that has custom posts.

  • Title – description that appears over the list of categories.
  • Taxonomy – if selected, filter a custom taxonomy (e.g. category).
  • Display as dropdown – if checked, this box causes the categories to be displayed in a dropdown box.
  • Show post counts – if checked, this box causes the count of the number of posts to display with each category.
  • Show hierarchy – if checked, shows parent/child relationships in an indented manner.

Calendar (Custom Post Type)

display a calendar of the current month.

  • Title – description that appears over the calendar.
  • Post Type – if selected, filter by a custom post type. (e.g. post).

Recent Comments (Custom Post Type)

display a list of the most recent comments.

  • Title – description that appears over the list of recent comments.
  • Post Type – if selected, filter by a custom post type. (e.g. post).
  • Number of comments to show (at most 15) – enter the number of comments to be displayed.

Tag Cloud (Custom Post Type)

display a list of the top 45 that has used in a tag cloud.

  • Title – description that appears over the tag cloud.
  • Taxonomy – if selected, filter a custom taxonomy (e.g. post_tag).
  • Show tag counts – if checked, this box causes the count of the number of tags to display with each tag.

Search (Custom Post Type)

A search form for your site.

  • Title – description that appears over the search.
  • Post Type – if selected, filter by a custom post type. (e.g. post).

Hooks

Custom Post Type Widgets has its own hooks. See the reference for details.

Reference: https://github.com/thingsym/custom-post-type-widgets#hooks

Support

If you have any trouble, you can use the forums or report bugs.

Contribution

Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.

Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.

If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into plugin.

You can also contribute by answering issues on the forums.

Patches and Bug Fixes

Forking on Github is another good way. You can send a pull request.

  1. Fork Custom Post Type Widgets from GitHub repository
  2. Create a feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am ‘Add some feature’
  4. Push to the branch: git push origin my-new-feature
  5. Create new Pull Request

Contribute guidlines

If you would like to contribute, here are some notes and guidlines.

  • All development happens on the develop branch, so it is always the most up-to-date
  • The master branch only contains tagged releases
  • If you are going to be submitting a pull request, please submit your pull request to the develop branch
  • See about forking and pull requests

Test Matrix

For operation compatibility between PHP version and WordPress version, see below Github Actions.


Screenshots
FAQ
ChangeLog