Gallery Portfolio Templates
Hi! I am having a very difficult time with my galleries on this new theme I am using (saveforweb, built by Beaches). The theme allows you to build different “portfolios” and when you make a portfolio you get an option to choose between five different “portfolio templates”. There is “horizontal scroll”, “vertical scroll”, “next/back buttons”, “thumbnail grid”, and “gallery-default”. I chose this theme because I wanted to showcase each image, 1 at a time, with next/back buttons. When I originally looked at an example of this theme, it had that. By the time I installed it on my WordPress, this template seems to not be operating properly for me. When I choose this “portfolio template”, it has all the photos in one vertical column. There are next and back buttons at the top but they don’t seem to be active because you can’t click on them. On my test site here, you can see what I am talking about. Now, if you choose the “thumbnail grid” template for the portfolio, you get a thumbnail grid as you would expect. If you click on one of the photos, it opens up one photo at a time with next and back buttons like I want. This is exactly how I want my “next/back buttons” template to look. I just don’t want to have to use a thumbnail grid. You can see an example here.
Now I am not sure if the problem I speak of is with one of the php files or what. I have searched and searched to try and figure out how to get this going. Unfortunately, there is no support for this theme and unfortunately it is otherwise completely perfect for my needs. I have never found that before. I have a hunch it has something to do with unique post types but I really don’t know. I don’t know much about code but I am pretty well familiar with where every single thing is in my theme. If anyone could help, I would be so much appreciated. If you need some more info on the subject please just ask. I don’t know what to include in this posting and I barely know how to even ask my question. Below I am going to include the code from the php file for “portfolio-next-button” just in case anyone needs to see what is going on. Thanks again!
<?php /** * Portfolio Template: Next/Back Buttons * * Save for Web's next/back button gallery * * Upload images into the WordPress gallery. DO NOT use the * [gallery] shortcode, the images will display automatically. * * @package Save for Web * @subpackage Template */ get_header(); // Loads the header.php template. ?> <?php do_atomic( 'before_content' ); // saveforweb_before_content ?> <div id="content"> <?php do_atomic( 'open_content' ); // saveforweb_open_content ?> <div class="hfeed"> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <?php do_atomic( 'before_entry' ); // saveforweb_before_entry ?> <div class="slide-control"> <span class="prev">Prev</span>|<span class="next">Next</span><span class="info"></span> </div> <?php get_template_part( 'gallery', 'default' ); // Loads the gallery-default.php template. ?> <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>"> <?php do_atomic( 'open_entry' ); // saveforweb_open_entry ?> <?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?> <div class="entry-content"> <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', hybrid_get_textdomain() ) ); ?> </div><!-- .entry-content --> <?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">[entry-edit-link]</div>' ); ?> <?php do_atomic( 'close_entry' ); // saveforweb_close_entry ?> </div><!-- .hentry --> <?php do_atomic( 'after_entry' ); // saveforweb_after_entry ?> <?php do_atomic( 'after_singular' ); // saveforweb_after_singular ?> <?php endwhile; ?> <?php endif; ?> </div><!-- .hfeed --> <?php do_atomic( 'close_content' ); // saveforweb_close_content ?> </div><!-- #content --> <?php do_atomic( 'after_content' ); // saveforweb_after_content ?> <?php get_footer(); // Loads the footer.php template. ?>
- The topic ‘Gallery Portfolio Templates’ is closed to new replies.