This link has been bookmarked by 30 people . It was first bookmarked on 03 Nov 2008, by xingkui wang.
-
-
@ Spencer
I was trying to associate specific meta boxes to a category like you explained above but it doesnt seem to work
- foreach($new_meta_boxes as $meta_box) {
- if( $post->post_category == 44 ) {
- // Normal Stuff
- } else {
- echo'No Options for this Page';
- }
- }
Chris Robinson said:
Nevermind figured it out
I defined a variable $blogcategory from my custom admin panel then used it like so
- foreach($new_meta_boxes as $meta_box) {
- blogcategory = get_option('ct_blog_category', $single = true);
- if( in_category($blogcategory) ) {
- // Normal Stuff
- } else {
- echo'No Options for this Page';
- }
- }
Thanks again Spencer for the Tut!
-
-
Moving Stones TechnologiesEveryone knows that WordPress is one of the most, if not the most, popular blogging systems on the internet today. With its out of the box features, plugins, and great theming community, its no wonder WordPress has been accepted as today’s standard. Howev
-
Moving Stones TechnologiesEveryone knows that WordPress is one of the most, if not the most, popular blogging systems on the internet today. With its out of the box features, plugins, and great theming community, its no wonder WordPress has been accepted as today’s standard. However, sometimes you just want to add a little more.
It seems the latest fad to hit the WordPress scene is adding thumbnails into a blog post. This is fairly easy to do with some knowledge of custom fields, but can be a little complicated if your client is new to WordPress, or blogging.-
Everyone knows that WordPress is one of the most, if not the most, popular blogging systems on the internet today. With its out of the box features, plugins, and great theming community, its no wonder WordPress has been accepted as today’s standard. However, sometimes you just want to add a little more.
It seems the latest fad to hit the WordPress scene is adding thumbnails into a blog post. This is fairly easy to do with some knowledge of custom fields, but can be a little complicated if your client is new to WordPress, or blogging.
-
-
Fabian HerbelDas Write-Panel in WP nach eigenen Bedürfnissen anpassen
-
L@jost EU projectEveryone knows that WordPress is one of the most, if not the most, popular blogging systems on the internet today. With its out of the box features, plugins, and great theming community, its no wonder WordPress has been accepted as today’s standard. Howev
-
Alan LevineEveryone knows that WordPress is one of the most, if not the most, popular blogging systems on the internet today. With its out of the box features, plugins, and great theming community, its no wonder WordPress has been accepted as today’s standard. Howev
-
Bob PotterUse Custom Write options to easily add any unique data to your post
-
awqi zarEveryone knows that WordPress is one of the most, if not the most, popular blogging systems on the internet today. With its out of the box features, plugins, and great theming community, its no wonder WordPress has been accepted as today's standard. Howev
-
girlie geekFunction Web Design & Development [ Blog ]
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.