Archive for syntax

2

Find All Users With Specific User Role In WordPress

This is a useful little function that you can use to find users by their user roles. You just call this function in your theme and pass which user role you want to return users from. Sometimes you want to do this to prevent or allow users with a certain role access to an area of the dashboard, or maybe ability to view/post/edit posts or pages of your site using Find All Users With Specific User Role In WordPress
Find All Users With Specific User Role In WordPress
Levels:
3

Rename The Default Post Tags Taxonomy In WordPress

With this code you can rename the Post Tags taxonomy built into WordPress by default. If you like this then you should check out this code for renaming the 'post' post type that is built into WordPress by default as well.... Rename The Default Post Tags Taxonomy In WordPress
Rename The Default Post Tags Taxonomy In WordPress
Levels:
11

Change WordPress “Posts” To Be News Instead

Using this you can change the default post type built into WordPress 'post' for blog posts, to News, or whatever you want to name it. This was created by Mike Schinkel.... Change WordPress “Posts” To Be News Instead
Change WordPress “Posts” To Be News Instead
Levels:
1

Remove Sub-Menu Items In WordPress Dashboard

Great for customizing your dashboard so it shows only the things you want to show in the menu.... Remove Sub-Menu Items In WordPress Dashboard
Remove Sub-Menu Items In WordPress Dashboard
Levels:
2

Add Spam And Delete Links To Comments On Frontend

This is useful so you don't have to go to the dashboard to mark a comment as spam or delete it. It will add links to do that right on the comments of your posts.... Add Spam And Delete Links To Comments On Frontend
Add Spam And Delete Links To Comments On Frontend
Levels:
1

Remove Author Metabox/Options & Move to Publish MetaBox

This will move the metabox for Authors on the post edit page to the Publish box.... Remove Author Metabox/Options & Move to Publish MetaBox
Remove Author Metabox/Options & Move to Publish MetaBox
Levels:
0

List all Sub Categories In WordPress

You can easily list all sub-categories using this snippet. For more info on this check here... List all Sub Categories In WordPress
List all Sub Categories In WordPress
Levels: