Title: Post custom fields with classes
Last modified: August 30, 2016

---

# Post custom fields with classes

 *  Resolved [Narek-T](https://wordpress.org/support/users/narek-t/)
 * (@narek-t)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/post-custom-fields-with-classes/)
 * Hi. First of all, thank you for great plugin.
    Is there any option to add classes
   for custom fields displayed by %post_my_field ? Or for more usability addiing
   any wrapper to that? E.g. I have custom text field and I want to show it in tag
   <div class=”my-custom-field”>%post_my_field</div>. Is that possible?
 * [https://wordpress.org/plugins/category-posts-in-custom-menu/](https://wordpress.org/plugins/category-posts-in-custom-menu/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * (@anaid)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/post-custom-fields-with-classes/#post-6182659)
 * Hi Narek,
 * You can use HTML in the Post Navigation Label if you want, so setting the label
   to “<div class=”my-custom-field”>%post_my_field</div>” should not be a problem
   at all.
 * Kind regards,
    Diana

Viewing 1 replies (of 1 total)

The topic ‘Post custom fields with classes’ is closed to new replies.

 * ![](https://ps.w.org/category-posts-in-custom-menu/assets/icon-128x128.png?rev
   =2539336)
 * [Category Posts in Custom Menu](https://wordpress.org/plugins/category-posts-in-custom-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-posts-in-custom-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-posts-in-custom-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/category-posts-in-custom-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-posts-in-custom-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-posts-in-custom-menu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/post-custom-fields-with-classes/#post-6182659)
 * Status: resolved