Front Page Custom Post Type

外掛說明

If you use custom post types, you may wish to display recent posts of a custom type in place of recent posts on your front page. A common example is showcasing your portfolio on your front page, with posts being shown elsewhere.

With this plugin, you can select a post type other than “Posts” for the latest posts shown on the front page.

螢幕擷圖

  • Front page post type option in the customizer.

安裝方式

  1. Take the easy route and install through the WordPress plugin installer, or,
  2. Download the .zip file and upload the unzipped folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to the static front page section in the customizer, set the front page to show the latest posts, and preview the front page to show the front page post type option.

常見問題集

Where are the options?

Go to the static front page section in the customizer. You need to be previewing the front page

Theme doesn’t display correctly with custom post type

Some themes do not account for post types other than post in their styles. If switching the frot page post type changes the layout, you can try contacting the theme author and asking them to support other post types as well, or you can restore the indended styling with custom CSS based on the theme’s styling for posts.

使用者評論

2022 年 10 月 31 日
The plugin does what it has to do. Do not look for the options in the admin panel but in the customize front end options.
2021 年 1 月 6 日
Really easy...installed, selected the custom post type, and it works! Thank you.
2020 年 1 月 29 日
It is simple and works well. Just go to Customizer > Front page options and select the post type you want to appear on the front page
2019 年 4 月 12 日
No change in customizer or Wordpress read options.
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Front Page Custom Post Type〉的開發相關工作。

參與者

將〈Front Page Custom Post Type〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • First publicly available version of the plugin.