• Resolved kiranthory

    (@kiranthory)


    Hi,

    We have three prices but there is only one price option is allowed so we have tried to add the price in the content using HTML tags. But it reverts to the default content when saving the menu item. Can you please look into this?

    Thank You

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support SM Rafiz

    (@srafiz)

    Hi @kiranthory

    Yes, the shortcode will strip all tags when displaying excerpts. You need to override the template to show tags. Please refer to the below steps:

    1. When publishing food posts, switch to the text tab and paste your HTML content (https://prnt.sc/Kq_ZKogQ6JT6).
    2. Copy the layout-free.php template from the plugin and paste it under your theme/tlp-food-menu/layouts/ (sample screenshot: https://prnt.sc/Wd35MPQSZld5).
    3. Open layout-free.php in any text editor, go to line:77 and change $excerpt to get_the_content() (https://prnt.sc/Z1mzQLHLcbE_).

    That should display the content with HTML markup in the front-end. Thank you.

    Thread Starter kiranthory

    (@kiranthory)

    Hi Rafiz,

    Thanks for the solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Html is not allowed in content area’ is closed to new replies.