[wordpress插件] Conditionally display featured image on singular posts and pages在单个帖子和页面上有条件地显示特色图片

wordpress 插件 文章 2020-03-30 06:50 379 0 全屏看文

AI助手支持GPT4.0

评分
98
描述

Important notice

重要通知

If your theme does a customized call to load the featured image (like the Twenty Seventeen theme), this plugin might not work!

如果您的主题进行了自定义调用以加载特色图片(例如“二十十七”主题),则此插件可能无法正常工作!

Use get_the_post_thumbnail() or wp_get_attachment_image() to be sure it will work.

使用 get_the_post_thumbnail() wp_get_attachment_image()以确保它可以正常工作。

Description

说明

This plugin lets you choose for each post or page, if the featured image should be shown in the single view.

此插件可让您为每个帖子或页面选择(如果特色图片应显示在单个视图中)。

This can get handy, if you use the featured image to show a thumbnail on the archives or front page but you don\’t want the featured image to be shown on every posts view itself.

如果您使用精选图片在档案库或首页上显示缩略图,但又不想在每个帖子视图本身上都显示精选图片,则此操作会很方便。

The plugin adds a simple checkbox to the featured image panel (or meta box if you are using the classic editor), that lets you choose, if the featured image will be shown in the singular view or not.

该插件在特色图片面板中添加了一个简单的复选框(如果使用的是经典编辑器,则为meta框),可让您选择是否以单一视图显示特色图片。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/conditional-featured-image directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / conditional-featured-image 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the Plugins screen in WordPress
    4. 通过WordPress中的 Plugins 屏幕激活插件

下载地址
https://downloads.wordpress.org/plugin/conditionally-display-featured-image-on-singular-pages.2.1.0.zip
-EOF-

AI助手支持GPT4.0