Pretty Photo Plug In for Portfolio

Homepage Community Forums Legacy Theme Support Pretty Photo Plug In for Portfolio

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #11520
    futurewebboss
    Customer

      The link to the Pretty Photo plug in on the portfolio tutorial is a dead link and there appears to be more than 1 pretty photo plug in. Can you post a link to the plug in on wordpress.org for the correct plug in?

      #11521
      futurewebboss
      Customer

        In fact it looks like the entire site is off line, which is a bit disconcerting, indicating that the plugin is likely no longer supported. What is recommended if this plugin is no longer available?

        #11529
        futurewebboss
        Customer

          Looks like their site came back up but it won’t install with this error,
          The package could not be installed. No valid plugins were found.

          Anyone else have this issue?

          #11530
          futurewebboss
          Customer

            Ok, well guess it isn’t a plug in and after reading the tutorial I see where it’s already installed. However, I’m not getting the light box effect on my portfolio at http://mappaquerque.com/mobile-app-portfolio/
            Sorry for any confusion.

            Thanks
            Dan

            #11532
            Wes
            Moderator

              Yes prettyPhoto is deactivated by default. You can easily activate it by “uncommenting” the code, and then “commenting out” the code right above it.

              Here is the code you’ll need to “uncomment” –

              /**
               * Opens Featured Images with prettyPhoto Slideshow
               *
               * @author Wes Straham
               * @since 1.0.0
               */
              /*add_action( 'genesis_before_post_content', 'epik_prettyPhoto_image' );
              function epik_prettyPhoto_image() {
                  $img = genesis_get_image( array( 'format' => 'html', 'size' => 'portfolio-thumbnail', 'attr' => array( 'class' => 'alignnone post-image' ) ) );
              	printf( '<a href="%s" rel="prettyPhoto[gallery1]" title="%s">%s</a>', genesis_get_image( array( 'format' => 'url', 'size' => 'Portfolio Full', 'attr' => array( 'class' => 'alignnone post-image' ) ) ), the_title_attribute('echo=0'), $img );
              }
              */

              The code right above that looks like this –

              /**
               * Adds Featured Image and links it to the Post
               *
               * @author Wes Straham
               * @since 1.0.0
               */
              add_action( 'genesis_entry_header', 'optimal_portfolio_do_post_image' ); 
              function optimal_portfolio_do_post_image() { 
              	$img = genesis_get_image( array( 'format' => 'html', 'size' => 'portfolio-thumbnail', 'attr' => array( 'class' => 'alignnone post-image' ) ) ); printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute('echo=0'), $img ); 
              }
              #11543
              futurewebboss
              Customer

                Worked perfectly.

                Thanks Wes.

                #11548
                Wes
                Moderator

                  You’re Welcome!

                Viewing 7 posts - 1 through 7 (of 7 total)
                • The topic ‘Pretty Photo Plug In for Portfolio’ is closed to new replies.