Support » Plugin: HMS Testimonials » Metabox IDs

  • Resolved SirBlackhand


    Great plugin, but could you please add HTML IDs to the meta boxes on the testimonial editing page? I would like to remove some unused boxes such as the 5-star rating and “read more page”, but currently all the meta boxes just have one class (.stuffbox or .postbox for the sidebar) and no IDs, so I am unable to remove them. This would be great so I could reduce clutter for my clients and make it a bit less confusing.


Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff K


    This will be in the next updated. I will push it in the next couple of days.

    Here are the IDs:

    #hms-testimonials-cf-{id} or .hms-testimonials-cf

    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


    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


    No they don’t fall under any post types at all.

    I would suggest using CSS to hide them.

    #hms-testimonials-readmore {

    Okay, thanks very much!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Metabox IDs’ is closed to new replies.