[wordpress插件] Blocky! – Additional Content Blocks块状! –其他内容块

wordpress 插件 文章 2020-03-06 23:20 515 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Have ever encountered the need to add new sections to your page content without needing to add divs to your content, editing your theme files or using a widget?

是否曾经遇到过需要在页面内容中添加新部分而无需在内容中添加div,编辑主题文件或使用小部件的需求?

Are you a WordPress novice and have no idea what that previous sentance means?

您是WordPress新手,不知道以前的观点是什么意思吗?

Fear no longer – Blocky!

不再恐惧–块状!

is here.

在这里。

Blocky!

木块!

allows you to add a new section to the content of your posts and pages without needing to know any web coding.

允许您在帖子和页面的内容中添加新部分,而无需了解任何网络编码。

Simply click on the “Add New Content Section” button and get typing.

只需单击“添加新内容部分”按钮并输入即可。

Blocky!

块状!

brings in a new WYSIWYG editor, allowing you to add more content the same way you would with your main post content.

引入了一个新的所见即所得编辑器,使您可以像添加主要文章内容一样添加更多内容。

Want to change the layout of your additional content sections?

是否要更改其他内容部分的布局?

Simply add classes to your content section and use your stylesheet to do the rest.

只需将类添加到内容部分,然后使用样式表即可完成其余工作。

Would you rather not wrap your content in a div?

您是否不想将内容包装在 div 中?

Simply edit it in the settings page.

只需在设置页面中对其进行编辑。

Only want to use Blocky!

只想使用Blocky!

on select post types?

选择职位类型?

You can choose which post types to enable Blocky!

您可以选择启用“阻止”的帖子类型!

from the settings page.

从设置页面。

Blocky!

块状!

also grabs the current setting for the WYSIWYG editors, meaning that your Blocky!

还可以获取所见即所得编辑器的当前设置,这意味着您的Blocky!

editors are consistent with the content editors even if you are using a plugin such as TinyMCE Advanced that extends the capabilities of the editor.

即使您使用的插件(例如TinyMCE Advanced)扩展了编辑器的功能,编辑器也与内容编辑器保持一致。

For more advanced uses, use the get_additional_content( $postID ); to return Blocky!’s additional content as a multidimensional array with each section containing an array with both the class and the content.

要进行更高级的使用,请使用 get_additional_content($ postID); 以多维数组形式返回Blocky!的其他内容,每个部分都包含一个包含类和内容的数组。

See “Other Notes” for more details.

有关更多详细信息,请参见“其他说明”。

If you like the plugin, please take the time to leave a review.

如果您喜欢该插件,请花点时间进行评论。

Advanced Use Case

高级用例

To use Blocky!

要使用Blocky!

without the content filter, use this template

如果没有内容过滤器,请使用此模板

Replace with

<?php the_content();?> 替换为 <?php echo do_shortcode(get_the_content());?>

Where you want your additional content to display, add this code

要在其中显示其他内容的地方,添加此代码

  <?php $ additional_content = get_additional_content();

for( $i = 0; $i < count($additional_content); $i++ ) {    

for($ i = 0; $ i

echo $additional_content[$i]['content'];

echo $ additional_content [$ i] ['content'];

}?>

}?>

安装步骤

From your WordPress dashboard

从您的WordPress仪表板中

    1. Click Add New from the plugins page in your WordPress site
    2. 在您的WordPress网站的插件页面中,点击

    3. 添加新代码

    4. Search for Blocky!

    5. 搜索 Blocky!

      - Additional Content Sections

    6. -其他内容部分

    7. Click on install
    8. 点击安装

    Alternatively from wordpress.org

    或者来自wordpress.org

      1. Download the latest version of Blocky!

      2. 下载最新版本的Blocky!

        – Additional Content Sections

      3. –其他内容部分

      4. Extract the files
      5. 提取文件

      6. Upload the entire blocky folder to the /wp-content/plugins/ directory.

        将整个 blocky 文件夹上载到 / wp-content / plugins / 目录。

      7. Activate the plugin through the ‘Plugins’ menu in WordPress.

        通过WordPress中的“插件”菜单激活插件。

下载地址
https://downloads.wordpress.org/plugin/blocky.1.2.8.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] AR Simple Social ShareAR简单社交分享
[wordpress插件] Disable Comments and Delete Comments :WP Remove comments and Disable Comments禁用评论和删除评论:WP删除评论和禁用评论
[wordpress插件] Livemesh Addons for Elementor Page Builder用于Elementor Page Builder的Livemesh插件
[wordpress插件] Beanstream for WooCommerceWooCommerce的Beanstream
[wordpress插件] Author Grid作者网格
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6127
如何解决渲染层网络错误Failed to load media? 17393
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3108
删除部分微信用户个人数据的通知,怎么删除? 6381