Title: Rethink's Replies | WordPress.org

---

# Rethink

  [  ](https://wordpress.org/support/users/rethink/)

 *   [Profile](https://wordpress.org/support/users/rethink/)
 *   [Topics Started](https://wordpress.org/support/users/rethink/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rethink/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rethink/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rethink/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rethink/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rethink/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/rethink/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/rethink/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Five Star Restaurant Menu and Food Ordering] Image link to full-size image](https://wordpress.org/support/topic/image-link-to-full-size-image/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/image-link-to-full-size-image/#post-8941923)
 * Tried all of the above and it still didn’t work. Thanks for trying!
 * The work-around for my site seems to be to regenerate thumbnails for a landscape
   image, knowing most of my images are landscape, and then replace those that aren’t
   with images that work.
 * If anyone comes up with another solution in the meantime, I’d love to hear it!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Five Star Restaurant Menu and Food Ordering] Image link to full-size image](https://wordpress.org/support/topic/image-link-to-full-size-image/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/image-link-to-full-size-image/#post-8935397)
 * That code is outputting the unique IDs, so that seems to be working. I tried 
   a couple variants of the thumb call with no difference. I’m stumped.
 * For now I need to put it back to normal so that the client can take a look, but
   I’m open to messing with it at night….
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Five Star Restaurant Menu and Food Ordering] Image link to full-size image](https://wordpress.org/support/topic/image-link-to-full-size-image/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/image-link-to-full-size-image/#post-8927181)
 * Thanks!
 * I put this code in exactly as it is here and it’s now linking to the gallery 
   page instead of the image. Ideas?
 * [http://www.gaybruntmillerdesigns.com/gallery/](http://www.gaybruntmillerdesigns.com/gallery/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Hack above header area – not allowing theme on homepage to be changed/corrected](https://wordpress.org/support/topic/hack-above-header-area-not-allowing-theme-on-homepage-to-be-changedcorrected/)
 *  [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [11 years ago](https://wordpress.org/support/topic/hack-above-header-area-not-allowing-theme-on-homepage-to-be-changedcorrected/#post-6085171)
 * We had this same issue in the last 2-3 days, affecting a total of 6 sites. A 
   scan came back as showing no infected files. On a whim, I reinstalled 4.2.1 on
   all the sites and the links disappeared! In a few cases it only disappeared in
   the browser I had run the reinstall (so I ran it in IE, FF and Chrome in order
   to get the link to disappear in all 3). Can’t give you a good answer as to what
   happened … but this fixed it!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] New code for page templates?](https://wordpress.org/support/topic/new-code-for-page-templates/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/new-code-for-page-templates/#post-3979508)
 * Found the problem–there were some extra “echo”s in there that I missed when I
   was swapping in the new code. So the appropriate code is:
 *     ```
       <?php $shortcode = "[ngg_images gallery_ids='1' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       echo do_shortcode($shortcode); ?>
       ```
   
 * Thanks for your help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] New code for page templates?](https://wordpress.org/support/topic/new-code-for-page-templates/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/new-code-for-page-templates/#post-3979501)
 * Yup, that works, with a couple small changes–I used “gallery_ids” instead of 
   container_ids. And then you add any additional filters to the shortcode, just
   like you would in the body of the page (making sure to use single quotes instead
   of double).
 * So, in my case, my code ended up looking like this:
 *     ```
       <?php echo $shortcode = "[ngg_images gallery_ids='1' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       echo do_shortcode($shortcode); ?>
       ```
   
 * Works great. But, when I added the if statements, now I’m getting both the shortcode
   and the gallery showing up in the header. It’s the correct gallery and the shortcode
   associated with the page.
 * So my code is:
 *     ```
       <?php
       	   if( is_page('About St. Johns') )  $shortcode = "[ngg_images gallery_ids='2' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       elseif( is_page('AGM') ) echo  $shortcode = "[ngg_images gallery_ids='3' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       elseif( is_page('Artist Series') )  $shortcode = "[ngg_images gallery_ids='4' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       elseif( is_page('What We Believe') ) echo  $shortcode = "[ngg_images gallery_ids='5' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       elseif( is_page('Bulletins') ) echo  $shortcode = "[ngg_images gallery_ids='6' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       elseif( is_page('Calendar') ) echo  $shortcode = "[ngg_images gallery_ids='7' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       elseif( is_page('Choirs') ) echo  $shortcode = "[ngg_images gallery_ids='8' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       elseif( is_page('Church Council') )  $shortcode = "[ngg_images gallery_ids='9' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       elseif( is_page('Confirmation') ) echo  $shortcode = "[ngg_images gallery_ids='10' display_type='photocrati-nextgen_basic_slideshow' gallery_width='400' gallery_height='156']";
       echo do_shortcode($shortcode); ?>
       ```
   
 * (And so on, for another 30 pages)
 * The website: [http://st-johns-ucc.org/](http://st-johns-ucc.org/)
 * And you’ll see the photo galleries in the headers.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] New code for page templates?](https://wordpress.org/support/topic/new-code-for-page-templates/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/new-code-for-page-templates/#post-3979402)
 * Here’s a portion–I had a whole list since I wanted a different slideshow on each
   page.
 *     ```
       <?php
       if( is_page('About St. Johns') ) echo nggShowSlideshow(2,400,156); ?>
       ```
   
 * This is no longer up live on the site, since I removed it after it threw the 
   error (the error was keeping the rest of the page from loading).
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Unresponsive Script in Mozilla](https://wordpress.org/support/topic/unresponsive-script-in-mozilla/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/unresponsive-script-in-mozilla/#post-3607220)
 * So strange. When I try that page in Firefox, it just throws the “unresponsive
   script” box over and over and won’t let me do anything else in the browser until
   I close it down. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Unresponsive Script in Mozilla](https://wordpress.org/support/topic/unresponsive-script-in-mozilla/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/unresponsive-script-in-mozilla/#post-3607212)
 * I’m sorry–that’s my mistake. Don’t click on the “add to cart,” click on the product
   so that you go to the product page. In Firefox. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fast Secure Contact Form] 3.1.7.2 error](https://wordpress.org/support/topic/3172-error/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/3172-error/#post-3390053)
 * Thanks–they recreated the folder and all is well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Fast Secure Contact Form] 3.1.7.2 error](https://wordpress.org/support/topic/3172-error/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/3172-error/#post-3389888)
 * **Above the page:**
 * Warning: session_start() [function.session-start]: open(/home/users/web/b1376/
   as.lighthouse1/cgi-bin/tmp/sess_ff9dc65fca94458cf0474c1710d9efc4, O_RDWR) failed:
   No such file or directory (2) in /hermes/waloraweb048/b1376/as.lighthouse1/wp-
   content/plugins/si-contact-form/si-contact-form.php on line 3170
 * Warning: session_start() [function.session-start]: Cannot send session cache 
   limiter – headers already sent (output started at /hermes/waloraweb048/b1376/
   as.lighthouse1/wp-content/plugins/si-contact-form/si-contact-form.php:3170) in/
   hermes/waloraweb048/b1376/as.lighthouse1/wp-content/plugins/si-contact-form/si-
   contact-form.php on line 3170
    ** Below the page:
 * Warning: Unknown: open(/home/users/web/b1376/as.lighthouse1/cgi-bin/tmp/sess_ff9dc65fca94458cf0474c1710d9efc4,
   O_RDWR) failed: No such file or directory (2) in Unknown on line 0
 * Warning: Unknown: Failed to write session data (files). Please verify that the
   current setting of session.save_path is correct (/home/users/web/b1376/as.lighthouse1/
   cgi-bin/tmp) in Unknown on line 0
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Country] [Plugin: Post Country] Post list on custom template](https://wordpress.org/support/topic/plugin-post-country-country-list-on-custom-template/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-post-country-country-list-on-custom-template/#post-2618264)
 * Ok, I figured out a work-around by creating a home.php page with the template
   I was using for these posts (this won’t work for anyone who is already using 
   the home.php, but it worked for me).
 * HOWEVER
 * Even though the formatting is correct now, when I click on the flag or choose
   a list of one specific country, it shows me all the posts from every country,
   not just the one country.
 * ?? Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Publication Archive] [Plugin: WP Publication Archive] Pagination and Search](https://wordpress.org/support/topic/plugin-wp-publication-archive-pagination-and-search/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-publication-archive-pagination-and-search/#post-2453480)
 * Perfect–thanks so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Publication Archive] [Plugin: WP Publication Archive] Pagination and Search](https://wordpress.org/support/topic/plugin-wp-publication-archive-pagination-and-search/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-publication-archive-pagination-and-search/#post-2453429)
 * Thank you! I appreciate your quick response!
 * I am now seeing the next/previous links, however it only shows two documents 
   per page :-).
 * Also, how do I implement the search function?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] Header Slideshow shifts on page load](https://wordpress.org/support/topic/plugin-nextgen-gallery-header-slideshow-shifts-on-page-load/)
 *  Thread Starter [Rethink](https://wordpress.org/support/users/rethink/)
 * (@rethink)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-header-slideshow-shifts-on-page-load/#post-2425958)
 * Figured out the issue–the header id was still directing the div to the “branding”
   class, which was causing the slideshow to do funky things with load and placement.
   Once I removed that id, all is well with the world.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/rethink/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/rethink/replies/page/2/?output_format=md)