How to output/show the shortcode generated by other plugin as is in cp loop

Support Meta Box AIO How to output/show the shortcode generated by other plugin as is in cp loop

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37495
    raju.yarida@gmail.com[email protected]
    Participant

    Hi

    I have a flipbook generator plugin that will give me a shortcode for each flipbook generated.

    I have a custom post type where user/admin will enter this shortcode and I will loop through to show them the same as regular posts. I need this shortcode to be read from the custom post type and output the same shortcode on a link href="". So in the front end if the user clicks it should open that flipbook without breaking.

    Please help me with how to achieve this. Let me know if you need any more details.

    #37501
    Long NguyenLong Nguyen
    Moderator

    Hi,

    If the flipbook shortcode has already included the link to the book URL, you can just add the shortcode to the post content to render the link on the frontend.

    #37516
    raju.yarida@gmail.com[email protected]
    Participant

    I want to read this shortcode from a custom field like input/textbox and output that on the front end with a repeater of that custom posts (entering in the content is not required). Should be read from a custom field and work on a repeater in the front end. is it possible?

    #37524
    Long NguyenLong Nguyen
    Moderator

    Hi,

    You can try to use the field WYSIWYG to render the shortcode and the field value on the frontend like the post content. Please read more on this documentation https://docs.metabox.io/fields/wysiwyg/#template-usage

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.