Plugins
0

Ninja Pages

LICENSE TYPE: INFINITE

Description

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 weve 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.

Installation

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

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.

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.

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 
WRAPS EACH CHILD PAGE
IF THERE IS A THUMBNAIL
CHILD THUMBNAIL
END THUMBNAIL

CHILD PAGE TITLE

CHILD PAGE EXCERPT

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed

Most Viewed Posts
Menu