Month: September 2010
-
WordPress: How to get role name of a user by id
This code will print the role name of the user whose id is store in $user_id variable. Tweet This Post
-
Magento: How to get value of custom created category attribute at front side?
According to magento characteristics, we can get the custom created product attributes at front side in easy way by $_product->getCustomCreateAttribute() But when we create an attribute for an category then magento does not show by $_main_category->getCustomCreateAttribute() Magento only show the attribute value at front side which created by system or Magento. So for this we…