Front Page Category

설명

Front Page Category is a plugin that let you select the categories that appear on the front page of your website. If there are categories that you don’t want to appear on front page, for example the ‘uncategorized’ one, just go to the Customizer → Front Page Categories menu, and then untick the categories you want to hide.

This could be useful if you use an automated posting system, or use email to post. In these cases you can assign these posts to a category of your choice and uncheck it at Front Page Category settings. They will then be hidden from the homepage – but will still appear on their category page.

설치

  1. Download the zip and unzip the ‘front-page-category.zip’ file into the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Open the customizer and go to your websites front page (the settings will only display if the front page is the current page).
  4. Visit Front Page Category in the Customizer, and uncheck categories that you don’t want to show up on the front page.
  5. View your front page and confirm that your excluded categories are not showing.

후기

2022년 3월 2일
Thanks a lot for making this thing that should have been baseline! <3
모든 26 평가 읽기

기여자 & 개발자

“Front Page Category”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Front Page Category”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Front Page Category”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

3.3.5 – 5th September 2022

  • Fix undefined function error.

3.3.4 – 5th September 2022

  • Fix undefined value error.

3.3.3 – 28th February 2022

  • Fix: Ensure the values being checked are always ints and not strings. Fixes issue with string in_array check. Thanks @coriolis_too for the report and the fix.

3.3.2 – 4th May 2021

  • Always display the category list. Previously it was only shown on the homepage but this is confusing.

3.3.1 – 11th April 2021

  • Allow all categories to be selected, even if they have no content in them.
  • Ensure all attributes are escaped.

3.3 – 19th March 2019

  • Attempt to restrict the filtering to blog posts only.
  • Improve coding standards.

3.2 – 17th March 2019

  • Improve coding standards.
  • Ensure we’re not filtering menu contents.

3.1 – 15th March 2019

  • Revert change that restricts filtering to the main query (blog posts), and applies it to everything on the homepage.
  • Add an option to filter just the posts in the main query (blog posts).

3.0 – 25th January 2019

  • Add an option to decide whether to include or exclude the categories you have selected.

2.1 – 8th January 2018

  • Fix customizer styles

2.0 – Rewritten. All settings are now in the Customizer

  • Improve code standards
  • Move controls to the customizer
  • Improve data sanitization (security)
  • Allow plugin to be translated

1.0 – Initial Release