이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Ninja Pages

설명

This plugin will enable the categories and tags boxes on the edit page screen. You can assign these to pages just as you would to a post.

With version 1.2 we’ve added a very simple options page where you can choose if you would like to add categories, tags or both to your pages as well as options to have your pages show up in archive pages, add excerpts to pages, adjust excerpt length, and the ability to display child pages on parent pages. You can also add child pages on a per page basis with the [ninja_child_pages] shortcode and easily display categories or tags in your page templates with our ninja_pages_display_terms function.

설치

Note This plugin requires at least version 3.0 of WordPress.

  1. Upload the plugin folder (i.e. ninja_page_cats_tags) to the /wp-content/plugins/ directory of your WordPress installation.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. You can now add categories and tags to your pages.

FAQ

Installation Instructions

Note This plugin requires at least version 3.0 of WordPress.

  1. Upload the plugin folder (i.e. ninja_page_cats_tags) to the /wp-content/plugins/ directory of your WordPress installation.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. You can now add categories and tags to your pages.
How do I display the categories or tags that are attcahed to posts?

You can add this super simple function to your Page template:

if( function_exists( 'ninja_pages_display_terms' ) ) {
    echo ninja_pages_display_terms( 'category', ',' );
}

You will obviously want to wrap them with opening and closing php tags. This function takes two parameters. The first is the taxonomy, in our case this will be either ‘category’ or ‘post_tag’. The second is a seperator. In the example above we use a comma.

How can I style my child page listing on parent pages?

Below is the basic markup for the child pages listing. Using basic CSS you can style these any way you like.

WRAPS ENTIRES LIST OF CHILDREN
<div id="ninja-children-wrap">

    WRAPS EACH CHILD PAGE
    <div class="ninja-child-wrap">
        IF THERE IS A THUMBNAIL
            <div class="ninja-child-thumbnail">
                CHILD THUMBNAIL
            </div>
        END THUMBNAIL
        <h3 class="ninja-child-title"><a href="">CHILD PAGE TITLE</a></h3>
        <div class="ninja-child-entry">
            CHILD PAGE EXCERPT
        </div>
    </div>

</div>

후기

2018년 1월 24일
I was looking for a way to control the excerpt that WP search displays for pages (posts natively already have this option). Ninja Pages solved this issue very simply by allowing me to add an excerpt to my pages that will display in a search. Quite pleased with this plugin and no issues observed, even in the latest version of WP to date.
2017년 3월 23일
The Category and Tags boxes get included in the Edit Page but when the page is viewed, no tags show. Are the tags supposed to show automatically at the bottom of the page or, does the template for pages need to be modified to include a Tags / Category area? No information about how to get the tags to show up on the page in the instructions, if that is the case.
2016년 9월 3일
This plugin disappeared from the WP Plugins page ages ago but I kept using it by uploading any old copy to each website. I love it. It kept working but I held my breath wondering when it would crash my site. I’m very happy to see it updated and tested with new WP versions.
모든 12 평가 읽기

기여자 & 개발자

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

기여자

자국어로 “Ninja Pages”(을)를 번역하세요.

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

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

변경이력

1.4.2 (28 July 2016)

  • Fixed an issue where Ninja Pages would throw an error when filtering posts table by category.

1.4.1 (3 May 2016)

  • Removed an extra call for adding to the archives pages when the appropriate option was selected.

1.4 (3 May 2016)

  • Fixed in issue where pages were not appearing in the categories or tags archives when the appropriate options were enabled.

1.3.3 (2 May 2016)

  • Updating WordPress compatability version number along with cleaning up some old image files. Also updated the name if the plugin to be simply Ninja Pages.

1.3.2

  • Fixed an issue where adding pages to category & tag archives query could cause conflicts with other plugins or themes or overwrite other queries. Thanks to Pippin Williamson for pointing it out.

1.3.1

  • Fixed an improper call to plugin directory.

1.3

  • Added an option to choose how many children pages show on parent pages when option enabled or using the shortcode.
  • Added an option to choose whether to sort child pages by menu order or title and whether to do so in Ascending or Descending order.

1.2.2

  • Fixed links in child pagess list
  • Added check for theme support of post-thumbnails and add support if not found.

1.2.1

  • Various bug fixes and improved logic.

1.2

  • Added an options page and some new functions, shortcodes, etc.

1.1

  • Added code so that the pages categorized or tagged will show up in archives.

1.0

  • First version of Ninja Page Categories and Tags released.