[wordpress插件] Custom Sidebar Links自定义边栏链接

wordpress 插件 文章 2020-04-09 18:40 491 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The Custom Sidebar Links widget enables a list of all pages, posts and custom post types, to be selected as links on the sidebar of any page on your site.

“自定义边栏链接”窗口小部件可将所有页面,帖子和自定义帖子类型的列表选择为站点上任何页面的边栏上的链接。

This gives you full control on what links to be shown on the sidebar on a page-per-page basis.

这样一来,您就可以完全控制每页在侧栏上显示哪些链接。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/custom-sidebar-links directory, or install the Custom Sidebar Links plugin through the WordPress plugins screen directly.

    2. 将插件文件上传到 / wp-content / plugins / custom-sidebar-links 目录,或直接通过WordPress插件屏幕安装“自定义边栏链接”插件。

    3. Activate the Custom Sidebar Links through the ‘Plugins’ screen in WordPress.

    4. 通过WordPress中的“插件”屏幕激活自定义侧边栏链接。

    5. Go to Appearance->Widgets.

    6. 转到外观->小部件。

      Drag the Custom Sidebar Links widget to your active sidebar.

      将“自定义边栏链接”小部件拖动到活动的边栏中。

      Note: You can also use the shortcode [vimo_csbl] on the content area of any page if you wish to display it elsewhere other than the sidebar.

      注意:如果要在侧边栏以外的其他地方显示它,也可以在任何页面的内容区域中使用简称 [vimo_csbl]

      If you need to use it in the template files, simply use the do_shortcode() function.

      如果需要在模板文件中使用它,只需使用 do_shortcode()函数。

      Like this: echo do_shortcode( ‘[vimo_csbl]’ );

      像这样: echo do_shortcode(‘[vimo_csbl]’);

    7. It’s recomended to enable “default child pages” to automatically populate links for pages that have a parent/child relation.

    8. 建议启用“默认子页面” 以自动填充具有父子关系的页面的链接。

    9. Go to Pages and click to edit a page you wish to customize and select a menu or check the boxes of all pages/posts/custom post types you would like.
    10. 转到 Pages ,然后单击以编辑您要自定义的页面,然后选择菜单或选中您想要的所有页面/帖子/自定义帖子类型的框。

下载地址
https://downloads.wordpress.org/plugin/custom-sidebar-links.zip
-EOF-

AI助手支持GPT4.0