Answer the question
In order to leave comments, you need to log in
How to assign a class to an element from an additional field?
Good day, I use the Types plugin to create custom fields in posts, everything works with a bang, but I can’t assign a class to an element that is in an additional field
. For example, I display a picture in the "post_logo" field with this code:
<?php echo do_shortcode ('[types field="post_logo"][/types]'); ?>
Answer the question
In order to leave comments, you need to log in
<?php echo do_shortcode ('[types field="post_logo"][/types]'); ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question