Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Baden

    (@baden03)

    Things to try:
    1. remove the extra parentheses:

    <?php echo do_shortcode( '[expand title="Read More" class="bio-spoiler"]' . get_sub_field('staff_bio_cont') . '[/expand]' ); ?>

    2. set your do_shortcode content to a variable:

    <?php
    $my_content = '[expand title="Read More" class="bio-spoiler"]' . get_sub_field('staff_bio_cont') . '[/expand]';
    echo do_shortcode($my_content);
    ?>

    3. Include a link to your page so we can be of further assistance.

    Thread Starter jeffreyd000

    (@jeffreyd000)

    Thank you, I had some erroneous content stuck in there that was causing a problem (sigh). I am however taking your suggestion and using the variable option! Great idea!!!

    Plugin Author Baden

    (@baden03)

    Huzzah! Glad it all worked out for you. We see you went ahead and marked the issue resolved. If you are happy and you know it, please consider leaving a little review of the plugin or it’s support.

    Thread Starter jeffreyd000

    (@jeffreyd000)

    Cha-ching! You have feedback ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Closing shortcode showing onscreen’ is closed to new replies.