WordPress.org

Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#5062 closed enhancement (wontfix)

Adding Tags to Pages

Reported by: thee17 Owned by:
Milestone: Priority: low
Severity: trivial Version: 2.3
Component: Administration Keywords:
Focuses: Cc:

Description

On Line 152 of page wp-admin/edit-page-form.php if you add

<fieldset id="tagdiv">
	<legend><?php _e('Tags (separate multiple tags with commas: cats, pet food, dogs)'); ?></legend>
	<div><input type="text" name="tags_input" class="tags-input" id="tags-input" size="30" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></div>
</fieldset>

Then you can add tagging to pages, as this problem was discribed on the wp-testers mailing list on Sept 23rd

Change History (10)

#1 @Viper007Bond
14 years ago

-1

Pages aren't posts. They don't get categories and they shouldn't get tags either IMO.

#2 @Viper007Bond
14 years ago

  • Type changed from defect to enhancement

#3 @JeremyVisser
14 years ago

Highly agree with Viper: Pages aren't posts. Pages are categorised/given context by their hierarchy within the page tree, not by categories or tags.

I say wontfix.

#4 @zamoose
14 years ago

Categorization and metadata are two different things. I view tags as the latter, and thus I definitely see utility in allowing for tagging of pages.

+1 from me.

#5 follow-up: @Otto42
14 years ago

-1 to adding this to core.

+1 to somebody creating a plugin and seeing how well it takes off. Would be easy enough, just hook onto the edit_page_form action hook.

#6 in reply to: ↑ 5 ; follow-up: @michelem
14 years ago

Replying to Otto42:

+1 to somebody creating a plugin and seeing how well it takes off. Would be easy enough, just hook onto the edit_page_form action hook.

I created the plugin: http://www.michelem.org/wordpress-plugin-tags4page/

#7 in reply to: ↑ 6 ; follow-up: @jonerikstorm
14 years ago

Replying to michelem:

Replying to Otto42:

+1 to somebody creating a plugin and seeing how well it takes off. Would be easy enough, just hook onto the edit_page_form action hook.

I created the plugin: http://www.michelem.org/wordpress-plugin-tags4page/

You made a plugin that adds the PHP code above, more or less, but it doesn't restore the old tag functionality for the pages.

You can tag them now, but so far as I can tell, they don't do anything. If you go to http://foo.com/?tag=bar and page is tagged as bar, it does not show up.

If I get around to my own code for that first I'll post it.

#8 in reply to: ↑ 7 @michelem
14 years ago

Replying to jonerikstorm:

You can tag them now, but so far as I can tell, they don't do anything. If you go to http://foo.com/?tag=bar and page is tagged as bar, it does not show up.

Otto42 you are right, I missed a hook to intercept the query and replace it to display both type of record (post and page). Now I fixed it and it works fine. Thank you for the notice.

#9 @spencerp
14 years ago

I agree with Viper, Otto42, and JeremyVisser above there. It(Tags on pages) should be an optional (plugin) thing, not made (in core) by default in WordPress releases.

#10 @lloydbudd
14 years ago

  • Milestone 2.4 deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.