BNS Featured Category
[resolved] Category Name as Title and Show Link (2 posts)

  1. Angela
    Posted 4 years ago #


    I have some questions about the formatting. I'm using the following shortcode:
    [bnsfc title="Notes" cat_choice="1" show_count="5" use_thumbnails="false" show_cats="true" only_titles="true"]

    And what I want is the title as the category name and have a link pointing to the category itself. However, the output is a little different. I have something like

    Post 1 in Notes
    Post 2 in Notes

    I want to remove the Notes (I know I can do that by setting 'show_cats' to false) but I want the title 'Notes' to become a link to the category page. How can I do this?



  2. Edward Caissie
    Theme Review Admin, The JellyBeen Man
    Plugin Author

    Posted 4 years ago #

    @angelazou - First let's clean up this shortcode a bit:
    [bnsfc title="Notes" cat_choice="1" show_count="5" show_cats="true" only_titles="true"]

    'use_thumbnails="false"' is not needed when you set 'only_titles="true"'

    Now, let's break down the shortcode. The shortcode essentially takes what is displayed in your theme's standard widget area(s) and places it inline in a post.

    From your specific example: "Notes" is the same as what you would see in the title of the widget block in your sidebar, again for example; you have selected category "1", which unless modified from the default installation would be those posts in the 'uncategorized' category; you are showing five (5) posts and displaying any and all categories associated with the particular post; and, last you are only showing the titles (no content/excerpt).

    Now, to your question ... you are correct with setting 'show_cats="false"' (or simply leave it out of the shortcode call) will not display the "in Notes" part, but setting the title to be a link to the specific category is not currently possible with the plugin as it is written.

    Can the plugin be modified, yes I imagine so; and, I will add the idea for review with future releases, but at this time I do not see that functionality being a "Five-Minute-Fix".

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BNS Featured Category
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic