alicornea
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfields<?php $result = categoryCustomFields_GetCategoryCustomField(’56’,’my_field’);
echo $result->field_value;
?>Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsHaven’t saw your posts. I will fix the issues after the week-end. Seems that I didn’t get email notifications ??
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsYou have to use the method : categoryCustomFields_GetImage and the method will return you the url to the image.
For e.g. <img src=”<?php echo categoryCustomFields_GetImage(‘category’,’car’,200,200); ?>” />
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsForum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfields@HDready Graphic I will take a look later today
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfields@rwalktheplank you have to display the content :
<?php $result = categoryCustomFields_GetCategoryCustomField($category->cat_ID,’slideshow’);
print_r($result);?>
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsHi all. Please use version 1.4 (don’t know why it says Download version 1.0). If you whant to get the custom field of a category please use the method categoryCustomFields_GetCategoryCustomField(catID,fieldName)
where catID is the category ID and fieldNAme the custom field for which you whant to retrieve the value. For any problems please address it on this topic.Cheers
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsI will try to fix all the issues today and will provide a function for @rwalktheplank
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsVery strange. Can I see the logs or something? I think it is a conflict with some other plug in you have.
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsPlease try the version 1.2
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsHi guys and thank you for your feedback. I have made the changes and please update your version of the plug in.
Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsHi.
I will try to fix the issue until tomorrow. Thank you for your feedback.Forum: Plugins
In reply to: [Category Custom Fields] Plug in support – categorycustomfieldsThank you for your reply. I will fix it later on today.
Forum: Themes and Templates
In reply to: Limit the results returned by get_the_term_listWell this is old and there is for sure a better method but since this is the 1st link on google i will post a quick solution:
function removeChildrens($var)
{
return $var->parent == 0;
}
function getValues($arr)
{
$str = ”;
foreach($arr as $item)
{
if(strlen($str)>0) $str.=’,’;
$str.=$item->name;
}
return $str;
}
$terms = wp_get_object_terms($post->ID,’turism-tara’);
$taxonomyTara = array_filter($terms,”removeChildrens”);
echo getValues($taxonomyTara);