Support » Plugin: Reusable Content & Text Blocks by Loomisoft » How to display the passed variable

  • This is my short code
    [ls_content_block id=”352″ para=”full” varmessage=”helo there”]

    How to define the varmessage in the content block.

    
    <div class="tsc-center-message">$varmessage</div>
    <div class="tsc-center-message"><?php $varmessage ?></div>
    <div class="tsc-center-message"><?php  echo $varmessage ?></div>
    

    but none of these works..

    • This topic was modified 8 months, 3 weeks ago by  junedc.
    • This topic was modified 8 months, 3 weeks ago by  junedc.
    • This topic was modified 8 months, 3 weeks ago by  junedc.
  • The topic ‘How to display the passed variable’ is closed to new replies.