albertpr9
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Verve Meta Boxes] wp 3.0 and post_typesI just used jQuery to hide some elements from clients.
$(‘selector’).css(‘dispay’,’none’);
Change selector to the id/class of the item you need to hide.
It’s not the perfect solution, but it works, and it’s extremely quick to implement.
Forum: Fixing WordPress
In reply to: How to Get all Custom Fields Except One(or some)?<?php $custom_fields = get_post_custom(72); $my_custom_field = $custom_fields['my_custom_field']; foreach ( $my_custom_field as $key => $value ) echo $key . " => " . $value . "<br />"; ?>Ok. So I type my custom field in place of “my_custom_field” and use
$post->ID;instead of the post number, to get the proper post ID inside the loop..It worked for me to get all values from one custom field separately.
What I want to do is get all values from all custom fields, except specific custom fields. Example;
<?php the_meta(); ?>That will give me all custom key values, but I would like it not to fetch key_5 for example.
Cheers
Forum: Fixing WordPress
In reply to: Hide posts from “index”I was able to fix it!!
Forum: Plugins
In reply to: Show titles from only one categoryDon’t forget to change ‘wordpress’ to your own category.
What should I add to the code to bring out the title + the excerpt?
Cheers!
Forum: Themes and Templates
In reply to: Display only posts from a certain Category on a Page.awesome! Thanks!