小工具      在线工具  汉语词典  dos游戏  css  js  c++  java

wordpress添加媒体_如何在WordPress中为类别添加粘性帖子

wordpress,python,深度学习,css,github 额外说明

收录于:18天前

WordPress 添加媒体

Sticky posts allow you to add 精选文章 in WordPress and display them differently on your site’s homepage. Recently one of our users asked us how they can add sticky posts in category pages. By adding sticky posts on 类别页面 you can display featured posts from that particular category. In this article, you will get to learn how to add sticky posts for categories in WordPress.

即时贴允许您在WordPress中添加精选文章 ,并在网站首页上以不同方式显示它们。 最近,我们的一位用户问我们如何在类别页面中添加粘性帖子。 通过在类别页上添加粘性帖子,您可以显示该特定类别的特色帖子。 在本文中,您将学习如何在WordPress中为类别添加粘性帖子。

A sticky post on a category page

First thing you need to do is install and activate 类别置顶帖. There are no special settings page for the plugin. Simply create a new post or edit an existing one, and you will be able to see a new ‘类别粘性’ meta box in the post edit area.

您需要做的第一件事是安装并激活类别置顶帖 。 插件没有特殊设置页面。 只需创建一个新帖子或编辑一个现有的帖子,您就可以在帖子编辑区域中看到一个新的「品类粘性」元框。

Making a post sticky in a category

接下来,只需选择您希望将此帖子显示为置顶帖子的类别并保存更改即可。

接下来,只需选择您希望此帖子以卡片形式显示的类别并保存更改。

If you want to set another sticky post in that category, then you will have to uncheck category from the earlier sticky post. It is not required for a post to be filed in the same category. For example a post filed in 公告 category, can be made sticky in the 消息 category.

如果要在该类别中设置另一个即时贴,则必须从先前的即时贴中取消选中类别。 无需将帖子归档在同一类别中。 例如,可以将“ 公告”类别中的帖子粘贴在“ 消息”类别中。

每个类别在给定时间只能有一个置顶帖。此外,每个帖子只能针对一个类别进行粘性。

在给定时间每个类别只能有一张卡片。同样,每个帖子只能粘贴到一个类别。

By default the plugin adds a black border on top and bottom of the category sticky post to distinguish it from other posts. You can disable it by checking the 隐藏粘帖边框 checkbox. When this box is not checked the plugin adds a category-sticky class to the category sticky post. You can override this in your child theme’s stylesheet.

默认情况下,插件在类别粘帖的顶部和底部添加黑色边框,以将其与其他帖区分开。 您可以通过选中“ 隐藏卡片边框”复选框来禁用它。 如果未选中此框,则插件会将类别粘性类添加到类别粘性帖子。 您可以在子主题的样式表中覆盖它。


.category-sticky { 
border:none;
background-color:#f5f5f5;
} 

We hope this article helped you add sticky posts to your WordPress categories. For questions and feedback you can leave us a comment or join us on 推特.

我们希望本文能帮助您将粘性帖子添加到WordPress类别中。 对于问题和反馈,您可以给我们留言或在在推特上加入我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-add-sticky-posts-for-categories-in-wordpress/

WordPress 添加媒体

. . .

相关推荐

额外说明

Mybatis学习总结——添加/修改/删除数据以及添加数据后返回id数据值

一、实现mybatis代码 1、java部分: UserDeptListVo addVo = new UserDeptListVo(); addVo.setName(deptName); addVo.setDescription(deptDes); ad

额外说明

如果前后端分离,如何调整桌子高度和设置固定立柱?

目录 一、表格设置自定义高度  1、el-table增加max-height属性 2、data增加tableHeight变量 3、mounted获取计算高度

额外说明

数据库连接bug异常:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure异常

1、启动SpringBoot项目出现com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure异常。 2、查询后定位问题是数据库连接不上,服务器

额外说明

Unity零基础到入门 ☀️| 【UI系统学习】轻松学会 Unity 的 UGUI基础控件的使用(包括一个简易血条、蓝条设计)

-博客主页:https://blog.csdn.net/zhangay1998 -欢迎点赞 - 收藏 ⭐留言 - 如有错误敬请指正! -本文由 God Y.原创,首发于 CSDN- -未来很长,值得我们全力奔赴更美好美好的生活✨ -前言 ❤️UGUI的分

额外说明

Unity AudioSource 无法动态加载播放 mP3文件

Unity AudioSource 无法动态加载播放 mP3文件 Github上面提供了一个办法 …Github 例子很简单看一下就会了 将NAudio 文件放到Plugins 下 2.最重要的 NAudioPlayer.cs 脚本 3 编写自己的脚本

额外说明

Java基础 第二节 第二十一课

综合案例 概述 案例需求 案例分析 OpenMode RedPacketFrame 案例实现 环境搭建 基础代码实现 定义 RedPacket 类 定义测试类 设置群主名称 普通红包类 测试普通红包 手气红包 计算公式 手气红包类 测试手气红包 概述 红

额外说明

HNU数据结构与算法分析-小班6

HNU数据结构与算法分析-小班6                                                      

额外说明

Ubuntu 20.04.4 LTS 下apktool反编译工具配置:

Ubuntu 20.04.4 LTS 下java环境配置: sudo apt install openjdk-11-jre-headless Ubuntu 20.04.4 LTS 下apktool反编译工具配置: 参考文档: https://blog.

额外说明

使用resnet18预训练模型实时检测摄像头画面中的物体(画面显示中文类名)

中文字体SimHei.ttf下载 https://blog.csdn.net/jlb1024/article/details/98037525 imagenet_class_index.cs文件下载 https://download.csdn.net/d

额外说明

解决Windows系统丢失找不到adprovider.dll文件的问题

其实很多用户玩单机游戏或者安装软件的时候就出现过这种问题,如果是新手第一时间会认为是软件或游戏出错了,其实并不是这样,其主要原因就是你电脑系统的该dll文件丢失了或没有安装一些系统软件平台所需要的动态链接库,这时你可以下载这个adprovider.dll

ads via 小工具