Hi,
as per your tutorials i am able to add portfolio page with bunch of posts. Also, Portfolio page displays the posts with actual featured image attached to the each post (so far everything worked fine!). However, when you click on the featured image on portfolio page, prettyphoto/lightbox displays the featured images attached to the each post and not the image gallery attached to the each post.
What am i doing wrong.
I would like to my portfolio page exactly like the demo.
No additional plugins are added.
Following changes are made in page_portfolio.php
/**
* Adds Featured Image and links it to the Post
*
* @author Wes Straham
* @since 1.0.0
*/
/*
add_action( ‘genesis_entry_header’, ‘legacy_portfolio_do_post_image’ );
function legacy_portfolio_do_post_image() {
$img = genesis_get_image( array( ‘format’ => ‘html’, ‘size’ => ‘portfolio-thumbnail’, ‘attr’ => array( ‘class’ => ‘alignnone post-image’ ) ) ); printf( ‘%s‘, get_permalink(), the_title_attribute(‘echo=0’), $img );
}
*/
/**
* Opens Featured Images with prettyPhoto Slideshow
*
* @author Wes Straham
* @since 1.0.0
*/
add_action( ‘genesis_entry_header’, ‘legacy_prettyPhoto_image’ );
function legacy_prettyPhoto_image() {
$img = genesis_get_image( array( ‘format’ => ‘html’, ‘size’ => ‘portfolio-thumbnail’, ‘attr’ => array( ‘class’ => ‘alignnone post-image’ ) ) );
printf( ‘%s‘, genesis_get_image( array( ‘format’ => ‘url’, ‘size’ => ‘Portfolio Full’, ‘attr’ => array( ‘class’ => ‘alignnone post-image’ ) ) ), the_title_attribute(‘echo=0’), $img );
}