[wordpress插件] Better Categories Images更好的类别图片

wordpress 插件 文章 2020-03-03 18:30 508 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

The Better Categories Images Plugin allow you to add image with any category or taxonomy.

更好的类别图像插件可让您添加具有任何类别或分类法的图像。

Use:

使用:

+ $thumbnail_id = get_term_meta( $term_id, 'thumbnail_id', true );

  + $ thumbnail_id = get_term_meta($ term_id,'thumbnail_id',true); 

\\ [get_term_meta](https://developer.wordpress.orgeference/functions/get_term_meta/)

\\ [get_term_meta](https://developer.wordpress.orgeference/functions/get_term_meta/)

+ $image = wp_get_attachment_image( $thumbnail_id, 'full' );

+ $ image = wp_get_attachment_image($ thumbnail_id,'full');

\\ [wp_get_attachment_image](https://developer.wordpress.orgeference/functions/wp_get_attachment_image/)

\\ [wp_get_attachment_image](https://developer.wordpress.orgeference/functions/wp_get_attachment_image/)

From within WordPress

在WordPress内部

    1. Visit ‘Plugins > Add New’
    2. 访问“插件>添加新内容”

    3. Search for ‘Better Categories Images’
    4. 搜索“更好的类别图片”

    5. Activate Better Categories Images from your Plugins page.
    6. 从“插件”页面激活更好的类别图像。

    Manually

    手动

      1. Upload the better-categories-images folder to the /wp-content/plugins/ directory
      2. better-categories-images 文件夹上载到 / wp-content / plugins / 目录

      3. Activate the Better Categories Images plugin through the ‘Plugins’ menu in WordPress
      4. 通过WordPress中的“插件”菜单激活“更好的类别图片”插件

      5. Go to “after activation” below.
      6. 转到下面的“激活后”。

下载地址
https://downloads.wordpress.org/plugin/better-categories-images.zip
-EOF-

AI助手支持GPT4.0