WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How to insert plugin in PHP?

[Resolved] How to insert plugin in PHP?

Viewing 6 replies - 1 through 6 (of 6 total)
  • alfred
    Member

    @alfredwtonggmailcom

    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” ]’)?>

    terrazzor
    Member

    @terrazzor

    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!

    firuz1844
    Member

    @firuz1844

    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”]’);
    ?>

    terrazzor
    Member

    @terrazzor

    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.

    firuz1844
    Member

    @firuz1844

    Can you share your php file?

    CKatzman
    Member

    @ckatzman

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] How to insert plugin in PHP?’ is closed to new replies.