[wordpress插件] CPT on Front Page头版CPT

wordpress 插件 文章 2020-04-04 09:10 492 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Choose the post types that you would like to choose from in addition to Pages.

除了“页面”之外,还选择您要选择的帖子类型。

The


“Front Page:” dropdown will then display each different post type in their own groups.

然后,“首页:”下拉菜单将在各自的组中显示每个不同的帖子类型。

This will not result in a redirect on the front page as has been seen in other attempts

这不会导致首页出现重定向,就像其他尝试中看到的那样

to provide this functionality.

提供此功能。

In addition, the canonical url will be properly reflected

此外,规范网址将得到正确反映

as the home url.

作为主页网址。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload plugin-name.php to the /wp-content/plugins/ directory
    2. plugin-name.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Place

    6. 放置 <?php do_action('plugin_name_hook');

      ?> in your templates

    7. ?> 在您的模板中

下载地址
https://downloads.wordpress.org/plugin/cpt-on-front-page.1.0.1.zip
-EOF-

AI助手支持GPT4.0