该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Show Content Only

描述

Enables you to show only a post or page’s content, without sidebars, footers, and other content.

There are many different reasons for wanting to show just the content, but there’s never been such an easy way to do it. This plugin adds a box in the post and page editor that provides you with five links:

  • Content Only
  • Content Only + Styles
  • Content with Tags
  • Content with Categories
  • Content with Categories & Tags

This is very helpful in conjunction with the Google Keyword Tool, so that Google only analyses the content of your post or page, not the surrounding context as well.

Read more about the plugin.

You may also be interested in:

  • Rich Text Tags – Enable rich text editing of tags, categories, and taxonomies. Add value to your tag & category pages and improve your website’ SEO.

屏幕截图

  • Edit Posts Page (pre version 1.3)

安装

  • Add and activate the plugin
  • In your Edit Post and Edit Page pages, you will see a new meta box titled “Show Content Only Links”. Use these links to link to content-only versions of your page.
  • Alternatively, you can simply add ?content-only=1 or &content-only=1 to your page’s URL for it to be shown as content only.

常见问题

How do I use this plugin?
  • Add and activate the plugin
  • In your Edit Post and Edit Page pages, you will see a new meta box titled “Show Content Only Links”. Use these links to link to content-only versions of your page.
  • Alternatively, you can simply add ?content-only=1 or &content-only=1 to your page’s URL for it to be shown as content only.

评价

2016 年 9 月 3 日
Very usefull if you have to put the postdata into a modal. I used it when i print the links in the Datatable. To run that job i used Show Content Only plugin together with plugin JsDataTable and plugin Easy Fancybox.
阅读所有4条评价

贡献者及开发者

“Show Content Only” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Show Content Only”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.3.1

  • Updated translation files

1.3

  • Added links meta box to all public, registered post types
  • Formatted the links in nice little buttons
  • Refactored lots of code for clarity, standards compliance and greater flexibility

1.2

  • Added option to print styles by adding css=1 to the URL
    • When printing styles, post_class() classes are added to <body>
  • Added option to print scripts by adding js=1 to the URL
  • Applied the_content filter to content by default. Manually add plain=1 to the URL to not have the_content applied.

1.1.1

  • Added internationalization support with load_plugin_textdomain
  • Improved ReadMe.txt

1.1

  • Modified so that if the post hasn’t been published or saved as a draft, links are not available.

1.0

  • Initial Release