Two questions about gallery pages

January 2013 WordPress Theme
GK User
Thu Dec 12, 2013 6:24 pm
Hi,

I have two questions about it:

1- The Social links doesn't appear at the bottom of the gallery pages (http://wp.xeraco.es/biblioteca) But it shows correctly in the regular pages.
2- It is possible to create a gallery page with thumbnails and lightbox effect when you click on one thumbnail? Or do I need a plugin?
User avatar
Senior Boarder

GK User
Fri Dec 13, 2013 8:40 am
Hi,

1. gallery pages is template page and the social link are not included. This code is responsible for the social button and author info,
Code: Select all
<?php if(is_singular()) : ?>
   <?php
      // variable for the social API HTML output
      $social_api_output = gk_social_api(get_the_title(), get_the_ID());
   ?>
   
   <?php if($social_api_output != '' || gk_author(false, true)): ?>
   <footer>
      <?php echo $social_api_output; ?>
   </footer>
   <?php endif; ?>
<?php endif; ?>
you can add it if you want.

2. Generally it's not possible, you should use a 3rd party plugin, BTW our GK News Show Pro separated widget has this feature:
https://github.com/GavickPro/GK-News-Show-Pro
but you'll have conflict if you are using alerady GK News Show Pro built-in your theme.
User avatar
Moderator

GK User
Fri Dec 13, 2013 7:03 pm
Problem with social links solved. :)

I'll use a 3rd party plugin por galleries.

Thanks
User avatar
Senior Boarder


cron