Plugin Author
Jeff K
(@kreitje)
This will be in the next updated. I will push it in the next couple of days.
Here are the IDs:
#hms-testimonials-author
#hms-testimonials-date
#hms-testimonials-website
#hms-testimonials-rating
#hms-testimonials-testimonial
#hms-testimonials-cf-{id} or .hms-testimonials-cf
#hms-testimonials-readmore
#hms-testimonials-groups
Since you can have one or more custom fields the numerical id of the custom field is added on the end of the HTML id. All custom fields also get a class of “hms-testimonials-cf”.
Excellent, thank you! I will keep an eye out for the update and add the actions now so I don’t forget.
Just remembered that I need the post type to remove meta boxes – what custom post type does HMS Testimonials use? I tried “testimonial” and “hms-testimonial” but they didn’t seem to work. Also tried looking around in the plugin files but couldn’t find any mention of you registering a custom post type. Thanks!
Plugin Author
Jeff K
(@kreitje)
This plugin doesn’t use a custom post type. The updated I rolled out last night added the IDs to some boxes.
I got the update with the new IDs, but WordPress’ “remove_meta_box” function requires that you specify a post type to remove meta boxes from (the parameter isn’t optional). Do the testimonials not fall under any post types at all? And if so, how would you suggest I go about removing meta boxes? 🙂
Plugin Author
Jeff K
(@kreitje)
No they don’t fall under any post types at all.
I would suggest using CSS to hide them.
#hms-testimonials-rating,
#hms-testimonials-website,
#hms-testimonials-readmore {
display:none;
}