WordPress.org

Support

Support » Plugins and Hacks » Category Thumbnail » [Resolved] [Plugin: Category Thumbnail] Template tag instead of ShortCode?

[Resolved] [Plugin: Category Thumbnail] Template tag instead of ShortCode?

Viewing 1 replies (of 1 total)
  • Plugin Author Pat Hawks

    @pathawks

    Here’s how you can make this work in PHP

    dirtysuds_category_thumb( array( 'id' => 7 ) );

    Where 7 is the numerical id of the category you’d like an image of.
    If you’d like the image to link to the archive page for that category, you can add the link = true attribute, like:

    dirtysuds_category_thumb( array( 'id' => 7 , 'link' => 'true' ) );

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Category Thumbnail] Template tag instead of ShortCode?’ is closed to new replies.
Skip to toolbar