• Resolved Narek-T

    (@narek-t)


    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://ww.wp.xz.cn/plugins/category-posts-in-custom-menu/

Viewing 1 replies (of 1 total)
  • Plugin Author Diana van de Laarschot

    (@anaid)

    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.