[Plugin] Display Post Titles from Category Selection

Category Widget

Category Widget

Sometimes we need to display the post title in our sidebar or footer to attract the users to read the article. This plugin will help you to display post title based on category selection in admin dashboard widget area.

Through this plugin user can,

  • Add the custom text as a title to display
  • Able to select the specific category, so that that category post title will be displayed in webpage.
  • Able to select the number of post title can be display in the webpage, ranges from 1 to 10 or all post
  • Show/Hide Bullet style
  • Able to add title length to be display in Category Post
  • Able to select post display in Drop down option (combo box) or List view.
  • Sort the title by Ascending, Descending, Random, post order and Post Modified
  • Make the Category header linkable.

 Display Post Titles from Category Selection Code

Display Post Titles From Category – Installation

  • Upload the “category-widget” directory to the plugins directory.
  • Go to the plugins setting page and activate “Category Widget”
  • Go to Appearance –> Widget –> Drag BC Category Widget to appropriate location
  • Choose the desired options.

Display Post Titles From Category – Changelog

= 1.5.1 =
* Sort the title by Post Modified

= 1.5 =
* Make the Category header linkable.

= 1.4.5 =
* Now display the title as per the post order.

= 1.4.4 =
* Sort the title by Ascending, Descending or Random

= 1.4.3 =
* Bug fixes for Multiple widget

= 1.4.2 =
* Now users can able to select the total number of post either 1 to 10 or all posts

= 1.4.1 =
* Now easy to customize the default text “Please Select” in Drop down option.

= 1.4 =
* Able to select post display in Drop down option (combo box) or List view.

= 1.3.1 =
* Updated to 3.8 WordPress Core

= 1.3 =
* Able to add title length to be display in Category Post

= 1.2 =
* Show/Hide Bullet Style

= 1.1 =
* Added Number of post text

= 1.0 =
* Public release


DownloadCategory Widget 1.5.1

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

66 Responses to “[Plugin] Display Post Titles from Category Selection”

  1. frank November 20, 2013 at 3:42 pm // Reply //

    nice and helpful plugin… thanks vinoth.

  2. Peer November 23, 2013 at 12:46 pm // Reply //

    I found what I needed. Your plugin saved my day. This is a wonderful site.

  3. Tag Widget Wordpress Plugin November 27, 2013 at 11:42 am // Reply //

    […] we already seen WordPress plugin to display post based on category. This post will show how to display post – based on the tag selection from tag widget […]

  4. Mark December 15, 2013 at 2:47 am // Reply //

    I just downloaded and installed your Categories plugin. I would love it if you could get it to display the selections in a drop down menu. Would it be possible to add that feature to it.


  5. vinoth December 15, 2013 at 6:38 am // Reply //

    Updated to version 1.4 – Now you can able to display in Drop down or list view. Please check it and give feedback if any.

  6. Mark December 16, 2013 at 1:56 am // Reply //

    Hello Vinoth:

    I’m setting up an adult learning website. I’m looking for a plugin that will allow me to customize it so that I can display a drop down list of all the instructors (each one has their own post page with the category of “instructor”). I also want to be able to change the drop down menu name from “Select Posts” to Select Instructor, then be able to show as many of them as we have and be able to link to their post pages.

    I’d like to do the same with this widget for Classes. It would need to allow me to have as many class listings as there are available show up in the drop down menu (which would then be called “Select Classes”. In other words it would display every class we offer(all given the category “class”). There could be a few dozen classes. Again, each class description will be on a separate post / page.

    This would be the ultimate customizable list plugin. Do you think you could build it? I bet you could.

    • vinoth December 16, 2013 at 4:52 am // Reply //

      Hello Mark. Could you please email me your website and instruction. So that let me try to customize the plugin. ma.vinothkumar@gmail.com

      • Mark December 16, 2013 at 8:35 pm // Reply //

        Hello Vinoth:

        Thank you for taking an interest in augmenting your plugin. When you go to the website you’ll see that I have your plugin configured for the Instructors and for the Classes (I still haven’t added any yet).

        Right now, I’m limited by how many items will display and by not being able to change the menu from saying “Select Post”.

        I think if you can change these features you’ll have a very popular plugin. I’ll be happy to send a link to it to as many plugin reviewers as I come across to review and rate it. That’ll give it lots of notice for you.


        • vinoth December 17, 2013 at 3:25 am // Reply //

          Hello Mark:
          Could you please check our website with “Our WordPress Plugin” in right sidebar. It works well. Kindly check this from your end.
          1. Have you selected the category in category widget location (Appearance –> Widgets –> BC Category Widget –> Select Category) and save

          If you still face any problem. Kindly let me know

          • Mark December 17, 2013 at 5:47 am // //

            I’ve got the latest version of your BC Category plugin on my website. But it doesn’t allow me to display all the information my Adult Education website needs to display. It would be helpful if it could show an unlimited number of posts for each category, instead of just 10. It would also be helpful if I could change the drop down menu title of “Select Post” to whatever I wanted.

            I have instructors’s names listed under the category of Instructor and all the classes offered listed under the category of Classes. I’d like to change “Select Post” to “Select Instructor” from the drop down menu in one of the widgets and “Select Post” to “Select Classes” in the other widget.

            Could you make your plugin do these two additional features?

          • vinoth December 17, 2013 at 6:23 am // //

            Hello Mark: version 1.4.1 updated as per your requirement. Now you can able to change the “Please Select” to your own custom message. Have fun

          • Mark December 20, 2013 at 2:51 am // //

            Hello Vinoth:

            Well, it looks like I’ve encountered a little bug in your updated categories widget. I think it’s related to all the posts it can now display. The Select Item bar now runs off the side of the widget when there are lot of items to show in the drop down menu.

            I deleted it from the sidebar and put another one in with the same settings. It still had the bug. I then tied moving it above the other one that works fine and the bug remained.

            Take a look. I’ve turned off the Coming Soon placeholder for you.


          • vinoth December 20, 2013 at 3:18 am // //

            Hello Mark, Have you entered the “Maximum Title Size” in Widget area to 20 or 30. The reason it showing is, one of your title having more number of characters. We can restrict by setting “Maximum title size” in widget location.

          • Mark December 20, 2013 at 3:48 am // //


            I entered a large title number because I thought it was for the class titles, not the selection title. Some of the class titles are lengthy. Easy fix.

            Thanks again.


      • Mark December 18, 2013 at 2:35 am // Reply //

        Hello Vinoth: I’m loving what you’ve done with the plugin updates. There’s only one other feature that would be helpful: To display an unlimited number of posts instead of just 10. We have 11 to 12 instructors and upwards of 50 or 60 classes to select from that they teach. I’d like to see all of them show up in the drop down menus. Add that feature and I’ll be singing your praises to plugin reviewers. Comment edited : please don’t share links untill its important to conversation.

  7. Mark December 17, 2013 at 5:49 am // Reply //

    I forgot to check the Notify me of follow-up comments by email box for the previous reply.

  8. Pieter December 18, 2013 at 8:25 am // Reply //

    I agree with Mark. Limit of 10 post is not enough for me either. Can you help us on this?

    Thanks for your very helpful plugin. It looks great!


  9. vinoth December 18, 2013 at 9:18 am // Reply //

    @Mark and @pieter : Category widget 1.4.2 has been updated as per your requirement. If any modification, please let me.. Thanks.. Cheers :-)

  10. steve December 19, 2013 at 8:18 am // Reply //

    Wow..Nice plugin. Lot of customization . Thanks Vinoth

  11. mike turco February 7, 2014 at 2:32 pm // Reply //

    I couldn’t get it to work and couldn’t get it to work, Finally, I realized I needed a header. So I typed in the following and it worked! I’m new at this, obviously. Took me a long time to figure it out!! So I thought I’d post the solution here for your readers.

    * Plugin Name: name of plugin
    * Plugin URI: put url here
    * Description: share/follow widget — quick and easy
    * Author: Mike Turco
    * Author URI: i put my url here
    * Version: 0.1.0

  12. Fabio Moretti February 11, 2014 at 9:07 pm // Reply //

    Hello Vinoth,
    Can I show post in alphabetical order?

    • vinoth February 11, 2014 at 9:09 pm // Reply //

      Hello Fabio Moretti,

      Current version won’t order the post in alphabetical order. But if you need let me work for it.

      • Fabio Moretti February 12, 2014 at 7:38 pm // Reply //

        Tanks for reply

      • Fabio Moretti February 14, 2014 at 10:41 pm // Reply //

        Hi Vinoth…. Your plugin is the coolest that I found in the web….. but…. i really need in Alphabetical order, and so….. I’ll try to find another one….

        • vinoth February 15, 2014 at 6:12 am // Reply //

          @Fabio due to handling high priority task not able to work on this. Kindly give a day to update this

        • vinoth February 15, 2014 at 8:41 am // Reply //

          @fabio updated to new version.. added sorting options

          • Mark February 16, 2014 at 1:32 am // //

            One way to get Vinth’s plugin to display everything in alphabetical order is to add a piece of code to you functions.php file that will alphabetize all of your posts:

            //Alphabetise Posts Display
            function alphabetic_post_order( $query ) {
            if ( $query->is_home || $query->is_search || $query->is_archive ) {
            $query->set( ‘orderby’, ‘title’ );
            $query->set( ‘order’, ‘asc’ );

            add_action( ‘pre_get_posts’, ‘alphabetic_post_order’ );

            It can also be done for displaying pages:

            //Alphabetise Pages Display
            function alphabetic_page_order( $query ) {
            if ( $query->is_home || $query->is_search || $query->is_archive ) {
            $query->set( ‘orderby’, ‘title’ );
            $query->set( ‘order’, ‘asc’ );

            add_action( ‘pre_get_pages’, ‘alphabetic_page_order’ );

          • vinoth February 16, 2014 at 6:28 am // //

            @mark: thanks for your Code.. But I have updated the plugin.. now user can able to select any one of the three options.. ascending, descending, random..

          • Mark February 16, 2014 at 7:16 am // //

            Vinoth, you’re the man.

            Hey, have you ever built any WordPress membership / social media sites? I have a client who needs to have one added to his existing WordPress site. If so, please get back to me with your regular email address.



  13. Christo February 12, 2014 at 5:18 pm // Reply //

    Hi Vinoth! Wery nice and usefull plugin but i made some modifications witch are wery helpfull. First about 126 line, after if($buffercode_combo_list_value == 2){ I added echo '';. Then about 138 line after loop echo '';. Finally I changed:
    <li style="list-style-type:none;"> with:
    <li style="list-style-type:none;">

    • vinoth February 12, 2014 at 5:44 pm // Reply //

      @Christo.. but if u update the plugin. Then everything you modified will not appear… so kindly post what actually you need to do. So that we modify it. Then you won’t get any problem in future update

  14. Al February 18, 2014 at 9:20 pm // Reply //

    I’ve been using the plugin for a while now and it’s been great. However the most recent update means that the posts I want displayed in the widget are no longer in the correct date order. I want it to show the most recent posts in one category but instead it’s still showing in random order, irrespective of whether I choose “ascending”, “descending” or “random”.

  15. Juha February 19, 2014 at 2:39 pm // Reply //

    Hello Vinoth,
    Great Plugin. Can I show posts in date order? This feature would be important for me.

    • vinoth February 19, 2014 at 4:08 pm // Reply //

      @juha. Could you please explain me more. Hope date order is similar to post order.. because post are ordered naturally by date… do u want reverse post date? Or similar

  16. NC March 5, 2014 at 2:57 am // Reply //

    BC Category Widget is great! One thing though, is there a way to get the title of the widget to be a click-able link to the specific category area of my website?

  17. kienhau1 May 29, 2014 at 9:46 am // Reply //

    Please help me How to show some category of categories? Thank you!

  18. qvor awramow June 5, 2014 at 7:42 pm // Reply //

    I really like your solution but How can I set it to show categories for my Custom Post Type?
    Can you please help me ?

  19. mantel June 12, 2014 at 12:32 pm // Reply //

    thank you for your code i added the plugin but when i want to add a new post i get when i want to save it Warning: Cannot modify header information – headers already sent by (output started at /home/shneor/public_html/wp-content/plugins/title_category/title_category.php:101) in /home/shneor/public_html/wp-admin/post.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /home/shneor/public_html/wp-content/plugins/title_category/title_category.php:101) in /home/shneor/public_html/wp-includes/pluggable.php on line 1121 could you help me? thank you

  20. Marcel April 10, 2015 at 11:51 am // Reply //

    Hi, Thanks for the plugin, it’s great, however I have created a website that works with newly created taxonomies which works with a custom post type. Unfortunately this plugin only let me choose the categories from the default WordPress categories. Is there a function or some code you know of that I can add within the functions file to let your plugin pickup my custom post type categories? Hope my explanation is understandable.
    Great job!