How can I display a custom field database value?

When creating your GD templates for the GD Archive item or GD Details page you may want to add your own markup like wrapping HTML. 

For example your theme may use a specific class for adding beautiful CSS rules.

Using GD Post Meta you can output the value of any GD Custom Field and use your own HTML.

Here is an example for the Post Title

Here is the shortcode:

	[gd_post_meta key="post_title" show="value-raw" no_wrap="1" font_size="0"]

Now you can add your own markup like

<h1 class="my-custom entry-title special-markup>[gd_post_meta key="post_title" show="value-raw" no_wrap="1" font_size="0"]</h1>

If you only need to add a custom class, though, there is another way available in many GD widgets, inside the advanced settings, like this:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us