[Plugin: Easy Custom Content Types] Custom html around specific field in meta? (2 posts)

  1. jamieb7210
    Posted 3 years ago #

    Hi, I'm currently using the
    `<?php echo ecpt_display_meta('xtitle'); ?>
    tag in my template to call the xtitle meta box, but some of those fields in there need to have some custom html around them. for instance one is a button that needs to have an a tag around it so the client can simply paste in a url for it to work, and another field needs to have a blockquote tag around it. Anyone know how to add custom html around individual fields?

  2. jamieb7210
    Posted 3 years ago #

    I figured it out. I called the fields individually then put in a conditional to check if the field is filled in. Here is the code below in case anybody needs it.


Topic Closed

This topic has been closed to new replies.

About this Topic