Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Enable tags for pages (old code archive) for WordPress.
Plugin Name: CF Page Tags
Plugin URI:
Description: Add the tags form to pages in WP.
Author: Crowd Favorite
Author URI:
Version: 1.0
function cf_post_tags_meta_box($post) {
<p id="jaxtag"><label class="hidden" for="newtag"><?php _e('Tags'); ?></label><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /></p>
<div id="tagchecklist"></div>
function cf_page_tags() {
add_meta_box('tagsdiv', __('Tags'), 'cf_post_tags_meta_box', 'page', 'normal', 'core');
add_action('admin_head', 'cf_page_tags');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment