• Resolved Calvin M.T.

    (@knightofthepinkmoon)


    Hi!

    I’ve got a problem where a plugin (wp-appbox) shows in preview but not when the post gets published.
    I’ve been trying to figure out why and I think its something to do with the shortcode of the plugin that’s embeded in a textarea.

    I found this line of code, but I’m not very good with PHP so I don’t know where to put it to test it and see if it could solve the problem. Still posting it here in case it could help you help me.
    <?php echo do_shortcode( $textarea );?>

    By the way, if you add ?preview=true at the end of the link to my page once loaded, you can see how the page should look like with that plugin.

    Hope you can help!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author candidthemes

    (@candidthemes)

    Hi @knightofthepinkmoon,

    Thank you so much for using our theme Blog Belt.
    If you have to add the shortcode on text area, the format of shortcode will be [appbox storename app-id style] as the plugin author mention on the description.

    Moreover, the code you share below should be add in the php file. So, for now, you can use the above shortcode and customize it based on your information.

    Please give a try and let us know. If the problem remain as it is, contact here for alternative help. https://www.candidthemes.com/supports

    Thank you
    Candid Themes

    Thread Starter Calvin M.T.

    (@knightofthepinkmoon)

    Thanks, it worked!

    I didn’t think to actually put the shortcode by itself as it was showing in the plugin’s Gutenberg block.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin works in preview but not in published (shortcode textarea not supported?)’ is closed to new replies.