WordPress.org

Support

Support » Plugins and Hacks » BNS Featured Category » [Resolved] [Plugin: BNS Featured Category] Category Name as Title and Show Link

[Resolved] [Plugin: BNS Featured Category] Category Name as Title and Show Link

  • Angela

    @angelazou

    Hi,

    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

    Notes
    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?

    Angela

    http://wordpress.org/extend/plugins/bns-featured-category/

Viewing 1 replies (of 1 total)
  • @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”.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: BNS Featured Category] Category Name as Title and Show Link’ is closed to new replies.
Skip to toolbar