Title: LAPDI Featured Categories
Author: Let A Pro Do IT!
Published: <strong>2013 年 7 月 11 日</strong>
Last modified: 2026 年 9 月 13 日

---

搜索插件

![](https://ps.w.org/tsp-featured-categories/assets/banner-772x250.jpg?rev=3630271)

![](https://ps.w.org/tsp-featured-categories/assets/icon-256x256.jpg?rev=3630271)

# LAPDI Featured Categories

 作者：[Let A Pro Do IT!](https://profiles.wordpress.org/letaprodoit/)

[下载](https://downloads.wordpress.org/plugin/tsp-featured-categories.1.3.3.zip)

 * [详情](https://cn.wordpress.org/plugins/tsp-featured-categories/#description)
 * [评价](https://cn.wordpress.org/plugins/tsp-featured-categories/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/tsp-featured-categories/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/tsp-featured-categories/#developers)

 [支持](https://wordpress.org/support/plugin/tsp-featured-categories/)

## 描述

Let A Pro Do IT!’s (LAPDI) Featured Categories plugin allows you to add featured
categories with images to your blog’s website. Featured categories have three (3)
layouts and include category thumbnails and scrolling category gallery.

#### Shortcodes

Add a `Featured Categories` to posts and pages by using a shortcode inside your 
text or evaluated from within your theme. You may override page/post `Featured Categories`
options with shortcode attributes defined on the plugin’s settings page.

 * `[tsp-featured-categories]` – Will display posts with the default options defined
   in the plugin’s settings page.
 * `[tsp-featured-categories title="Featured Categories" title_pos="below" number_cats
   ="3" taxonomy="category" shrink_fit="Y" cat_ids="5,3,4" cat_type="all" show_text_categories
   ="Y" hide_empty="1" hide_desc="N" max_desc="60" layout="0" parent_cat="3" box_width
   =500 box_height=300 order_by="count" thumb_width="80" thumb_height="80" before_title
   ="" after_title=""]` – Will override all attributes defined on the plugin’s settings
   page.

## 屏幕截图

[⌊Admin area widget settings.⌉⌊Admin area widget settings.⌉[

Admin area widget settings.

[⌊Featured Categories displayed on the front-end.⌉⌊Featured Categories displayed
on the front-end.⌉[

Featured Categories displayed on the front-end.

[⌊Featured Categories gallery.⌉⌊Featured Categories gallery.⌉[

Featured Categories gallery.

[⌊Admin area shortcode settings area.⌉⌊Admin area shortcode settings area.⌉[

Admin area shortcode settings area.

## 安装

BEFORE YOU BEGIN: Requires the installation and activation of [LAPDI Easy Dev Latest Version](https://wordpress.org/plugins/tsp-easy-dev)

 1.  Upload `tsp-featured-categories` to the `/wp-content/plugins/` directory
 2.  Activate the plugin through the `Plugins` menu in WordPress
 3.  After installation, refer to the `LAPDI Featured Categories` settings page for
     more detailed instructions on setting up your shortcodes.
 4.  `Featured Categories` widgets can be added to the sidemenu bar by visiting `Appearance
     > Widgets` and dragging the `LAPDI Featured Categories` widget to your sidebar
     menu.
 5.  Add some widgets to the sidemenu bar, Add shortcodes to pages and posts (see Instructions)
 6.  View your site
 7.  Adjust your CSS for your theme by visiting `Appearance > Edit CSS`
 8.  Adjust the `Sliding Gallery` settings, if necessary, by visiting `Plugins > Editor`,
     Select `LAPDI Featured Categories` and edit the `tsp-featured-categories.css` 
     and `js/gallery-scripts.js` files
 9.  Manipulating the CSS for `#makeMeScrollable` and `#tsp-featured-categories` entries
     changes the gallery and category styles respectfully

## 常见问题

### What happens when I delete the plugin?

Deleting the plugin removes its widget and shortcode settings, stored category image
and featured-category assignments, and any remaining private legacy table. Your 
WordPress categories, tags, posts, pages, page-term assignments, and Media Library
attachments are not deleted. Category and tag controls no longer appear on Pages
unless another plugin or theme enables them.

### How do I add categories and tags to a Page?

Edit a Page and use the Categories and Tags controls provided by WordPress. After
publishing, the Page appears in the corresponding public category and tag archives
alongside matching Posts.

### I’ve installed the plugin but my posts are not displaying?

 1. Make sure the folder `/wp-content/uploads/` has recursive, 777 permissions
 2. Make sure you are listing all `categories` and/or `parent_cat` is empty or the `
    parent_cat` has children categories.

### What is a taxonomy?

A taxonomy is simply a name given to a group of objects in WordPress. Since this
plugin now features multiple taxonomies (other than ‘category’) in version 1.2.8,
you can now enter custom taxonomies to display on your web pages.

### Which new category taxonomies does the new version 1.2.8 use?

It really depends on how well the plugin author follows protocol. So far we have
tested it with WooCommerce product categories and LMS course categories and it works
fine. However if the plugin author does not store the course image under the meta_key‘%
thumbnail_id’ you will never be able to display the images for your categories.

### I installed the new version 1.2.8 and I entered a category taxonomy but it doesn’t display?

This simply means this category type is not supported.

### How do I test different category taxonomies with the new version 1.2.8?

 1. If your preferred plugin has a ‘Categories’ section for items (ie Events, Videos,
    Products) and it also allows you to add category details (ie images, description,
    title) there is a good chance its supported.
 2. Click on the category, in the browser you will see “?taxonomy=XXX” where XXX is
    the new category taxonomy you can use.
 3. Enter this taxonomy in your widget or your shortcode for LAPDI Featured Categories
 4. If #1 was true but it still doesnt work, it means that the author didn’t follow
    normal protocals when storing category data and it wont be functional.

### How can I display category images at run-time?

 1. You can add similar code to your PHP file. This will display the category title,
    description and thumbnail at runtime. Remember you can use shortcodes to display
    category information at design time.
 2.     ```
                <div class="row" style="margin: 20px 0px;">
                    <div class="2u">
                        <?php 
                            // get category ID
                            $cat_id =  get_cat_ID( single_cat_title(null,false) );
    
                            // get options for tsp featured categories
                            $options = get_option('tsp-featured-categories-option-term-data');
    
                            // check to see if the category has term data
                            if ( array_key_exists( $cat_id, $options )):
                                if ( $options[$cat_id]['image'] != null ):
                                    // display the image
                        ?>      
                                    <img class="image" src="<?php echo $options[$cat_id]['image'];?>" width="125" height="125" border="0">
                        <?php
                                endif;
                            endif;
    
                        ?>
                    </div>
                    <div class="10u">
                        <h2><?php _e("Browsing category", "site5framework"); ?> / <span><?php single_cat_title(); ?></span></h2>
                        <h4><em><?php echo category_description(); ?></em></h4>
                    </div>
                </div>
        ```
    

## 评价

![](https://secure.gravatar.com/avatar/9d66df3de049a95cc05a0af5596488ddcc44a01e2da5240ec5f935a18e17cf1d?
s=60&d=retro&r=g)

### 󠀁[Absolutely GREAT Plugin](https://wordpress.org/support/topic/absolutely-great-plugin-3/)󠁿

 [Peter](https://profiles.wordpress.org/hardpeter4u/) 2017 年 3 月 26 日

TSP Featured Categories is an absolutely GREAT plugin. I say this without reservation!!
It now supports custom taxonomies. The developers added this feature this evening
and it works like a charm on my wordpress install. If you have a website featuring
photos or videos and wish to show the categories of those custom post types (custom
taxonomies) then this is the plugin to use. I haven't found another plugin like 
this. Great Job!!

![](https://secure.gravatar.com/avatar/daa3ad6c86cf5ffa093c1fe56478740b1c8365638faa57d6877cd12ad12d804b?
s=60&d=retro&r=g)

### 󠀁[Easy to use and looks good](https://wordpress.org/support/topic/easy-to-use-and-looks-good-3/)󠁿

 [giorgissimo](https://profiles.wordpress.org/giorgissimo/) 2016 年 9 月 1 日 1 
回复

This is great – perfect for a neat box of category links (recipes by course) for
my wife's food blog. Only issue is that the support pages point me elsewhere, but
the link is broken!

![](https://secure.gravatar.com/avatar/567fec617ba9d55faac8817381a598a9338ed36ff4666b00a56730a84ba43abc?
s=60&d=retro&r=g)

### 󠀁[Simple and easy to use](https://wordpress.org/support/topic/simple-and-easy-to-use-167/)󠁿

 [lazygirlcreations](https://profiles.wordpress.org/lazygirlcreations/) 2017 年 
2 月 7 日

This is another plugin from TSP that I recommend to my clients.

![](https://secure.gravatar.com/avatar/9c1d3a0a896c7ebf2a5cc0c250737de06bfc91ea9c4a680990a57cf71825d3c6?
s=60&d=retro&r=g)

### 󠀁[cannot add image](https://wordpress.org/support/topic/cannot-add-image-3/)󠁿

 [Den999](https://profiles.wordpress.org/den999/) 2017 年 2 月 7 日

Can not add image to category, becouse no option "Site URL" in wordpress uploader."
Attach image" (in uploader) not working. So, no images.

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/tsp-featured-categories/reviews/)

## 贡献者及开发者

「LAPDI Featured Categories」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Let A Pro Do IT! ](https://profiles.wordpress.org/letaprodoit/)
 *   [ Sharron Denice ](https://profiles.wordpress.org/sharrondenice/)

[帮助将「LAPDI Featured Categories」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tsp-featured-categories)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/tsp-featured-categories/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/tsp-featured-categories/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/tsp-featured-categories/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/tsp-featured-categories/)。

## 更新日志

#### 1.3.3

 * Feature: Adds WordPress’s built-in Categories and Tags to Pages.
 * Feature: Includes matching published Pages in public category and tag archives
   while preserving post types added by other integrations.

#### 1.3.2

 * Cleanup: Permanently deleting the plugin now removes plugin-owned settings, widget
   instances, category presentation data, and its private legacy table. WordPress
   categories, posts, and Media Library attachments are preserved.
 * Compliance: Declares Easy Dev as a WordPress dependency and loads it without 
   assuming a folder name.

#### 1.3.1

 * Maintenance. Compatible with WordPress 7.0. Declares PHP 7.4 as the supported
   runtime floor.

#### 1.3.0

 * Maintenance

#### 1.2.9

 * Enhancement: Requires v2.0.0 of LAPDI Easy Dev

#### 1.2.8

 * Require: LAPDI Easy Dev 1.3.5 or higher
 * Feature: Added in the ability to use featured categories for custom taxonomies
 * Feature: Add ability to hide categories with no images

#### 1.2.7

 * Bug: Required update from version 1.2.6
 * Fix: Fixed issue with SmoothScroll Gallery
 * Fix: Upgraded SmoothScroll Gallery

#### 1.2.6

 * Bug: Working on issue with SmoothScroll Gallery

#### 1.2.5

 * Enhancement: Improved settings UI

#### 1.2.4

 * Enhancement: Using only LAPDI Easy Dev (Pro version no longer available.)
 * Enhancement. Option to turn Shrink Boxes to Fit off

#### 1.2.3

 * Fixed bug: Fixed bug to handle null options

#### 1.2.2

 * Fixed bug: Removed the use of Pro Skeleten which caused pages to default to size
   of 960px

#### 1.2.1

 * Enhancement: Set max width for horizontal display of categories
 * Enhancement: Include instructions on how to display categories at runtime
 * Enhancement: Allow spaces between commas when listing category IDs
 * Enhancement: Replace shortcode setting with shortcode generator

#### 1.2.0

 * Fixed bug. Correctly locates LAPDI Easy Dev.

#### 1.1.9

 * Fixed bug, incorrect logic with `title_pos` in readme, config & templates

#### 1.1.8

 * New Feature. Added new attribute `title_pos` for title placement options.
 * New Feature. Category image is now clickable.

#### 1.1.7

 * Enhancement. Added new attribute `cat_ids` to support specific categories

#### 1.1.6

 * Enhancement. Updated support link

#### 1.1.5

 * Removed inline function from widget_init hook to support older versions of PHP.

#### 1.1.4

 * Required fix to properly load media upload script.

#### 1.1.3

 * Required fix to properly store new widget/shortcode attributes into database.(
   Update to Easy Dev 1.2.2).

#### 1.1.2

 * Added back in assets folder

#### 1.1.1

 * Fixed issues with encrypted libraries.

#### 1.1.0

 * Now uses Easy Dev Pro for easy plugin development, [#bringbackOOD](https://twitter.com/#bringbackOOD)
 * No longer uses a seperate termsdata table in WP database, all data will be copied
   over on upgrade
 * Handled all PHP notices
 * Renamed attributes to prevent red spell checks when editing (old attributes still
   supported)
 * Decreased plugin size by using Easy Dev

#### 1.0.3

 * Updated path for smarty compile and cache directories. User no longer required
   to change directory permissions.

#### 1.0.2

 * Fixed bug that caused images to not be added to posts.

#### 1.0.1

 * Checks for existence of parent settings menu before overwriting it
 * Added in default images. LAPDI Plugins menu icon missing.

#### 1.0

 * Launch

## 额外信息

 *  版本 **1.3.3**
 *  最后更新：**1 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.5 或更高版本 **
 *  已测试的最高版本为 **7.0.7**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/tsp-featured-categories/)
 * 标签
 * [categories](https://cn.wordpress.org/plugins/tags/categories/)[category-images](https://cn.wordpress.org/plugins/tags/category-images/)
   [featured categories](https://cn.wordpress.org/plugins/tags/featured-categories/)
   [slider](https://cn.wordpress.org/plugins/tags/slider/)
 *  [高级视图](https://cn.wordpress.org/plugins/tsp-featured-categories/advanced/)

## 评级

 4 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/tsp-featured-categories/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/tsp-featured-categories/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/tsp-featured-categories/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/tsp-featured-categories/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/tsp-featured-categories/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/tsp-featured-categories/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/tsp-featured-categories/reviews/)

## 贡献者

 *   [ Let A Pro Do IT! ](https://profiles.wordpress.org/letaprodoit/)
 *   [ Sharron Denice ](https://profiles.wordpress.org/sharrondenice/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/tsp-featured-categories/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://buymeacoffee.com/letaprodoit)