How can I output the custom fields wrapping with HTML
There are many things in your code, I don’t know why you implemented like that. In my view the corrected code should be: <?php if ( get_post_meta( $post->ID, ‘the_link’, true ) != ” ) : ?> <span class=”the_one field1″> <a href=”https://wordpress.stackexchange.com/questions/125102/<?php echo esc_attr(get_post_meta( $post->ID,”the_link’, true )); ?>”> <b data-icon=”info” class=”inner-content”><?php echo _e( ‘Content’, ‘theme-text-domain’ ); … Read more