I find this documentation extremely confusing:
http://south.aeracode.org/docs/customfields.html
If someone could walk me through this or at least give a full example, I would be very grateful.
...
So how does one obtain the previous value of a custom field in a Jira IsseEventListener? I am writing a custom handler for the issueUpdated(IssueEvent) event and I would like to alter the handler's behavior if a certain custom field has changed. To detect the type of change I would like to compare the previous and current values.
(I'm a...
i'm trying to create a portfolio website using wordpress,
each post has view costum fields, one of which is called type - with the value of "featured" or "not-featured"
now when user clicks on the post title - they go the the single.php to see the entire post, here i would love to display all featured thumbnails
i tried this
...
I have to add two custom fields (first name, last name) into my registration form, but I don't know how. I went through this question but values (first name, last name) are not getting stored after registration.
Also some one tell me how to add check box to registration form using "RegistrationFormTermsOfService".
Thanks,
manu
...
Does anyone know of a way to add an input field (or any type of html for the matter) directly above (or below) the title input field on the post edit page ?
I'm looking of a way to do this without modifying core files (I'm doing this as part of a plug-in which creates a custom post-type).
I'm not aware of any available wp hooks in th...
Okay, so I have a custom date field set up as 'm/d/Y H:i:s' and I'd like to echo that as 'M j'. How do I do this?
...
Hi
I'm trying to display code snippets entered into my custom field. An example code snippet entered into custom field - snippet-1
<?php
if (($wp_query->current_post + 1) < ($wp_query->post_count)) {
echo '<div class="post-item-divider">Post Divider</div>';
}
?>
If I try to display this code wrapped in <pre></pre> tags in my page ...
I'm trying to get this link to look like this:
Comment on this show >> | Listen to this show >>
Where "Comment on this show >>" gets populated properly with its permalink.
"Listen to this show >>" link should be populated with that posts 'Listen Now' custom field value.
function holylandmoments_comment_link() {
return ' <a class="rea...
Hi,
I'm having a site which has option to add hotels and restaurants. Both for them has different custom fields which i have added meta boxes with a plugin. But the custom fields of hotel are not needed for restuarant and vice versa.
So what I want to achieve is create extra menu on admin panel saying Add Restaurant & Add Hotel. When c...
I want to create a custom field that behaves exactly like the Lookup field type, allowing multiple selection, except that I want to modify the rendering of the items in the lists.
Each item in the list will have a button that displays the lookup options to enable / disable the desired boxes.
We have created a custom field in Visual Stu...
I have a field that sometimes contains integers, sometimes contains decimals and sometimes contains a list of integers. I have been using CommaSeparatedIntegerField and multiplying the decimals by 1000 to get to reasonable integers. Is there a better way?
...
Hi there,
currently I've got Jreviews installed and I'd like to replace it by K2 to list specialized shops with addresses, phones, maps, opening hours ...
With K2 I guess I'll need to define extra custom fields to hold those specific information. No problem.
But, how may I configure things to have those fields displayed in the detaile...
Hello guys,
Alright here is the problem... we have posts that are missing a custom field. We just recently received the values for that field.
Is there a way via phpmyadmin to insert in to the table post_meta a custom field named "translation" and then the value for each post already published?
I am trying to avoid having to go back t...
Hi all,
I'm using wordpress custom field called company_name at the end of the post to display company name. I'm able to display the value of custom field but the output coming is not hyperlinked like wordpress categories.
What I want is when visitor click on the company name wordpress should show all posts related to that company.
...
I've got this query so far:
if(!empty($_SESSION['s_property_region'])) {
$sqlWHERE .= " AND $wpdb->postmeta.meta_key = 'property_region' AND $wpdb->postmeta.meta_value = '".$_SESSION['s_property_region']."'";
}
if(!empty($_SESSION['s_property_bedrooms'])) {
$sqlWHERE .= " AND $wpdb->postmeta.meta_key = 'property_bedrooms' AND $...