WordPress.org

Ready to get started?Download WordPress

Forums

Nextend Smart Slider Lite
Insert in the PHP code? (10 posts)

  1. Tuliocpa
    Member
    Posted 1 year ago #

    Somebody can help me? How can I insert the plugin in my PHP code?

    http://wordpress.org/extend/plugins/nextend-smart-slider-lite/

  2. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Just use Smart Slider shortcode with this: http://codex.wordpress.org/Function_Reference/do_shortcode

  3. manninmedia
    Member
    Posted 1 year ago #

    Hi, i'm also having the same problem I have tried using the do_shortcode php tag.

    However it gives me an error??

    Warning: array_shift() expects parameter 1 to be array, null given in /home/manninte/public_html/wp-content/plugins/nextend-smart-slider-lite/smartslider.php on line 205

    Any clue how to fix??

  4. hitkiller
    Member
    Posted 1 year ago #

    i got the same error when trying to put the slider in the header via do_shortcode. but it's possible to overcome this issue by using a widget. you put the slider in the widget and insert it in the template anywhere you like.

  5. Thoughtlife
    Member
    Posted 1 year ago #

    How do you even find the shortcode for the slider you've created? I have the lite version plugin but there doesn't seem to be any instruction on the dashboard or elsewhere that lets you know how to take the slider you've created and put it on your website.

  6. Thoughtlife
    Member
    Posted 1 year ago #

    Is it possible to use the slider as a banner on the main homepage of a website rather than in posts or other pages. If so, how is it done?

  7. nextendweb
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Thoughtlife!

    First of all sorry for my late response, if you would like to get a fast help please write us a support ticket on our site.

    So if you would like to insert the Slider, you have to go to a Page or a Post site, where you can find the Smart Slider icon in the 'visual' view. Click on it and just choose from your existing sliders. (Of course you can add this shortcode everywhere.) Insert a Slider picture.

  8. Thoughtlife
    Member
    Posted 1 year ago #

    Hi thanks, for the reply. The problem I'm having is with getting the slider into my site's homepage. I can include it in pages and posts and widgets, pretty much everywhere except for where I really want to put it. I'd like to replace the default slider which came with my theme, with the one I've made using the plugin (which is great by the way, simplest design layout I've been able to find, and really lovely looking result).

  9. Thoughtlife
    Member
    Posted 1 year ago #

    I take it there's no way to do this then?

  10. arashmobileboy
    Member
    Posted 9 months ago #

    You Can Solve It By This Code :
    <?php echo do_shortcode('[smartslider2 slider="1"]');?>`

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic