The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
71 views

Get current menu item label for specific parent menu

I have one custom menu in theme. Open link http://bit.ly/Y8OYIx You can see Buying menu have child archive page. i.e Active Listing. So what I want to do is at the top of the archive page for buying I ...
0
votes
3answers
120 views

Give each post type label a different color?

On my homepage I am using a code to call different post type labels. Example: TV Series: "Once Upon A Time" Here is the code I use to call the label: <a href="<?php echo get_post_type( ...
1
vote
1answer
810 views

How can I use a different default admin menu icon for custom post type?

For a particular custom post type I'm setting, I simply want to change the default icon to the wordpress pages icon (menu-icon-page). I know I could upload my own pages icon and point to it, but can ...
-1
votes
1answer
118 views

Adding a content rating system

I run a multiple author site and the content is directed to various age groups. Instead of forcing the writer to manually note which age group the post is appropriate for, I want to add a content ...
0
votes
1answer
76 views

Custom Post Types — $args vs. labels array

I registered a new post type, and I was wondering what the difference was between the $args and labels array. Read more about it in the codex (can't have more than two links, sorry). For example, ...
1
vote
2answers
263 views

How to change the label text in default setting pages?

I've seen various tutorials on how to modify the menu items of a Wordpress Site's admin, but I'm trying to find a tutorial or way on how to modify the actual admin page labels. Here's what I mean: ...
2
votes
2answers
373 views

get post type plural

Currently I'm trying to get the post type labels plural. In detail: $GLOBALS['wp_post_types'][ get_current_screen()->post_type ]->labels->name This is how I'm trying to retrieve it - in ...