Opened 19 years ago
Closed 19 years ago
#5062 closed enhancement (wontfix)
Adding Tags to Pages
| Reported by: | thee17 | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Administration | Version: | 2.3 |
| Severity: | trivial | Keywords: | |
| Cc: | Focuses: |
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)
#3
@
19 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
@
19 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:
↓ 6
@
19 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:
↓ 7
@
19 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:
↓ 8
@
19 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
@
19 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
-1
Pages aren't posts. They don't get categories and they shouldn't get tags either IMO.