• Resolved grizzlylewis

    (@grizzlylewis)


    I’m using the [one_half][/one_half] shortcode within the content editor on the posts page.

    My problem is, on the index page, I’m using the <?php the_excerpt(); ?> call to grab the first sentence from the post. When the post is wrapped in the admin columns shortcode the text from the post isn’t called.

    Does anyone have a method to get around this? I was thinking having a filter on the index.php page which could strip out the specific shortcodes would allow the text to be shown.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘How to hide shortcode’ is closed to new replies.