I have 2 custom fields in my post named Status and Version. I would like to retrieve the value of the field Status to display within the post. According to the documentation the following should retrieve the value.
ID,…
I´m a bit out of my field here and I´m confused about this. Using wp_trim_field doesn't work for me except for regular strings.
This does not work, it returns the whole text:
How do I get shortcodes to process properly in custom fields?
I've tried using the code below, but I cannot figure out where to place it ("button" is the name of the field):
ID, 'button', true) )
echo…
I have a Wordpress managed web site at http://www.urbanvision.org.uk/ I have built it and everything works like I want it to and I'm happy with the outcome as it is my first fully built Wordpress web site.
I've become stuck on a request I had at the…
I'm writing a wordpress plug-in for my site that replaces (or adds if it is empty) a value of the custom field based on the value of another custom field under the same post.
Example:
I will have a list with comma divided values like…
I am having a content sharing site where i share themes and gadgets for windows 7.
I am uploading the file using a custom field and storing its value in a custom field named durl.
Now I want to create a separate page called "Download" and when a…
In my WordPress blog there are more than 500 posts.
Each post starts with small image.
I want to remove those small images from inside posts and display them as Custom Fields.
It will take me a long time to go through all posts and make the required…
I'm trying to add a custom field to the media uploader in WordPress. I ahve it working, but I'd like to make the custom field key a hidden one.
If you are familiar with the way WordPress handles custom fields, you'll know that setting the key to…
On a client site that I didn't help build but am currently doing maintenance on, they are using the "Custom Field Template" plugin to set dates for their posts in the events category. This is their template content:
[Event Date]
type=textfield…
I have a drivers post type which has a relationship called team. I want to group drivers by team so I can output them together in their groupings 'teams'. Hopefully that makes sense. I don't really understand the documentation I have a tried a few…
I have created a custom field in and empty sharepoint project and I have overridden the FieldRenderingControl so I can create my own table layout when the item in the list is displayed.
The problem I am having is that the ItemFieldValue in the…
I've got a wordpress theme with a set of custom fields.
One of these is named "author".
On single.php I've got a div which show the other posts with the same custom field value.
I would like to display this div only if exists other posts with the…
I have an odd issue.
I have client that wants a sharepoint list what is populated from a WCFService. That part is working quite well.
I have a bdcmodel that is mapping the WCF data and I can create an external list from the bdcmodel as well so that…
i have some pages with with custom fields, these custom fields info i will show under my menu by rollover as page description for other pages dynamically.
get_post_meta($post->ID, 'page_desc', true)
these works fine, but only for the current page.…
I have added my custom field type with custom properties. I add question with my custom field type and I check some constraints in OnSaveChange method of my FieldEditor. But I want add additional client validation before user submit "New Question"…