WordPress.org

Ready to get started?Download WordPress

Forums

WordPress NextGen GalleryView
Php call galleryview (3 posts)

  1. whoopicg
    Member
    Posted 2 years ago #

    Hi!
    Can anyone help me calling galleryview through PHP?

    I've tried this:

    <?php echo do_shortcode("[nggallery id=2 template=galleryview images=0]"); ?>

    but it didn't work.

    THanks in advance.

    http://wordpress.org/extend/plugins/wordpress-nextgen-galleryview/

  2. whoopicg
    Member
    Posted 2 years ago #

    ups sorry, forgot to put the code between backsticks

    <?php echo do_shortcode("[nggallery id=2 template=galleryview images=0]"); ?>

  3. sammond7
    Member
    Posted 2 years ago #

    Hi whoopicg,

    In the options generator there is code available to copy and paste to any php page. Example:

    <?php
      echo  do_shortcode("[galleryview id=yyy showPanels=true showCaptions=false showFilmstrip=true panelWidth=400 panelHeight=300 panelScale=crop transitionSpeed=0 transitionInterval=0 fadePanels=true frameWidth=60 frameHeight=40 filmstripPosition=left pointerSize=8 frameScale=crop frameGap=5 frameOpacity=0.3 easingValue=easeOutQuad navTheme=light startFrame=1 pauseOnHover=false]");
    ?>

    However, I am find this also doesn't display correctly. Has anyone worked out how to make this function properly?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic