WordPress.org

Support

Support » Plugins and Hacks » Insert PHP » [Resolved] Able to use in Widget?

[Resolved] Able to use in Widget?

  • Hey

    Very interested in using this for a website but as a widget rather than in a post/page.

    Ran the following in a page and works perfectly but in a widget just echoes the text.

    <div class="homepage-widget-blog">
    <h3 class="aligncenter home-widget">Testimonials</h3>
    <div class="woothemes_testimonials">
    [insert_php] do_action( 'woothemes_testimonials', array( 'limit' => 4, 'before' => '<div class="type-testimonial animated fadeInUp">', 'display_author' => true ) ); [/insert_php]
    </div>
    </div>

    Any ideas?

    Thanks,

    Dan

    https://wordpress.org/plugins/insert-php/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Able to use in Widget?’ is closed to new replies.
Skip to toolbar