1. Home
  2. Custom Field Manager
  3. FAQ
  4. Can I embed the custom field display into my template file?

Can I embed the custom field display into my template file?

Yes, you can embed the custom field display into your template file.

You can either enable automatic display in the settings or use do_shortcode() function like this:

<?php echo do_shortcode( ‘[xyz_cfl_shortcode id=”{POST_ID}”]‘ ); ?>

Here {POST_ID} must be replaced by actual id of post/page/custom post.

Was this article helpful to you? Yes 1 No