Heroes & Heartbreakers Forum Index Heroes & Heartbreakers
Heroes & Heartbreakers hosts crossovers between: Buffy the Vampire Slayer, Angel and other television shows, movies, anime, books and comics. Stories that feature characters from both: Buffy the Vampire Slayer, Angel or any fandom your heart desires.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 




Add A Back To Page Link For NextGEN Gallery Created Pages

 
Post new topic   Reply to topic    Heroes & Heartbreakers Forum Index -> Welcome to ForumsLand.com - Free forum hosting service
View previous topic :: View next topic  
Author Message
Emerson1



Joined: 28 Feb 2013
Posts: 10

PostPosted: Thu Feb 28, 2013 8:06 am    Post subject: Add A Back To Page Link For NextGEN Gallery Created Pages Reply with quote

If you like using the NextGEN gallery plugin on your WordPress site, you may have discovered that it can be used to build new gallery pages for you. Here’s how to link back to a main gallery page.

After you create a new gallery and upload your images, if you hop over to the Manage Gallery page, you can let the plugin help you to create a new page. The Add page button is at the top of of the thumbnail list, on the gallery settings panel.

I like to have a main Gallery page with thumbnails that link through to the individual gallery pages, but it’s nice to have a link back on each page to the main Gallery. I found that by using a little bit of jQuery, it is easy to do this. Just make sure you have included the jQuery library link in your header.php file, then create your own .js file and add that to the header.php too. Add the script below, modifying the link to suit your needs, to your .js file and voila!

jQuery(document).ready(function(){

// add link back to galleries page
jQuery(‘<p><a href=”http://yourwebsiteurl.com/page-directory/photo-galleries/”>Back to Galleries</a></p>).insertBefore(‘div.slideshowlink’Wink;

});

This technique can be used to insert content to your pages, either before or after targeted elements. You can also add or remove content using jQuery. That’s the subject for another post though…
_________________
bad credit auto loan
Back to top
View user's profile Send private message
Free Forum






PostPosted:      Post subject: ForumsLand.com

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Heroes & Heartbreakers Forum Index -> Welcome to ForumsLand.com - Free forum hosting service All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosted by ForumsLand.com - 100% free forum. Powered by phpBB 2.