Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Not work in widget
    дедЕгор
    Participant

    Hi!

    I solved this problem myself.

    In the widget code, the place where the shortcode does not work is called like this: <div class="slider-content"><?php the_excerpt(); ?></div>

    that’s why I added the line add_filter( 'the_excerpt', 'do_shortcode'); to functions.php and it worked!

Viewing 1 post (of 1 total)

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter