這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

LH Display Posts Shortcode

外掛說明

LH Display Posts allows you easily list content from all across your website. Whilst respecting the current users capability to view the posts displayed.

Just add the [lh_display_posts] shortcode to you content. The shortcode has 5 optional parameters

  • post_parent: show only post/pages with the parent id specified
  • post__in: a comma separated list of post ids to query
  • post_type: the post type, this defaults to ‘post’
  • post_author: the id of the post author
  • template: see details below on how to alter the template used to output the shortcode

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

安裝方式

  1. Upload the lh-display-posts-shortcode folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Use the shortcode in your posts and pages.

常見問題集

How can I add my own template for outputting the rss feed?

Copy folder lh_dps-templates from the plugin into your active child theme directory, then edit or add templates as required. The plugin will also look to see if the specified teamplate exists there first.

Why did you write this plugin?

Because I wanted a simple shortcode that respected the statuses viewable by the user.

What is something does not work?

LH Display Posts Shortcode, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: https://wordpress.org/support/plugin/lh-display-posts-shortcode/. I look there regularly and resolve most queries.

What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈LH Display Posts Shortcode〉的開發相關工作。

參與者

將〈LH Display Posts Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.00 June 04, 2019
* Initial release