Custom Press and Shortcodes

Does anyone have some examples of how the Shortcodes section of Custompress can be used?

I don't really have any idea how it can be used. Knowing of some examples would be really helpful.

Thanks.

  • PC

    Hiya,

    Greetings and thanks for posting on the forums.

    Did you have a look at the CustomPress usage section ?

    https://premium.wpmudev.org/project/custompress/#usage

    Unfortunately I do not have any examples handy, but this is how they should be used.

    Embedding Custom Fields

    Embed codes are used in templates to return the value of the custom fields of the current post. Codes may be for individual fields using the Embed code links below for each field
    or you can display the entire block of custom fields for a listing using the embed code:
    <?php echo do_shortcode('[custom_fields_block]'); ?>

    Shortcodes are used in post, pages and widgets to return the value of the custom fields of the current post. Use inside the loop in Posts and Widgets
    [custom_fields_block]

    I hope that helps. Please feel free to ask if you have more questions on the same.

    Cheers
    PC

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.