WordPress.org

Ready to get started?Download WordPress

Forums

WPNewCarousels
[resolved] How to insert plugin in PHP? (7 posts)

  1. firuz1844
    Member
    Posted 1 year ago #

    Hi, dear Arjun!
    Can you please share how to insert your plugin like php-code?
    I want add this plugin in Theme of my wordpress.
    Thanks!

    http://wordpress.org/extend/plugins/wpnewcarousels/

  2. alfred
    Member
    Posted 1 year ago #

    Hey Firuz

    try adding this, it should get you started.

    <?php echo do_shortcode ('[wpnewcarousel name="name_of_your_carousel" width="600" height="200" effect="fold" startslide="0" animationspeed="1000" imagepausetime="4000" shownav="Yes" hoverpause="true" ]')?>

  3. terrazzor
    Member
    Posted 1 year ago #

    Hello! I tried this, but it didn't work on my page. Is there any chance it might conflict with any other plugins installed?
    Thanks!

  4. firuz1844
    Member
    Posted 1 year ago #

    Hello friends!
    Solution is found and its pretty simple )))
    You can insert any "sqare brackets code" into the php-code with: <?php echo do_shortcode('[some shortcode]');?>

    In my case it was:
    <?php
    // Slider WPNEWCarousel
    echo do_shortcode('[wpnewcarousel name="nameOfYourCarousel"]');
    ?>

  5. terrazzor
    Member
    Posted 1 year ago #

    Hi firuz1844. thanks for the solution, however, my plugin is still not operating - it gives all the images down the page. Does anyone know what to do in this case?
    Thanks in advance.

  6. firuz1844
    Member
    Posted 1 year ago #

    Can you share your php file?

  7. CKatzman
    Member
    Posted 11 months ago #

    Could somebody explain where that php code goes in order to get the slideshow to display only on a specific page?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic