Scotproof » Blog Archive » Inserting a Next. Gen gallery or slideshow in a custom field. I’m working on a project where I’m using custom fields to display Next. Gen galleries and slideshows separately from Wordpress’s main page content (it’s an unusual layout – I’ll post a link here once it’s ready for viewing). Searching for help led to info on using custom fields to set parameters for the galleries, which wasn’t what I wanted, and then I found this solution, which almost worked but not quite (it displayed some unwanted text). Here’s how I eventually did it: Install and activate the Next. Gen plugin. Create a gallery, add images and configure the options. Full instructions here: http: //alexrabe. This video goes over how to insert a photo gallery in the latest version of WordPress (3.5. Then: On the page on which you want the gallery to be displayed, create a custom field called gallery and, in the value box, enter gallery=1 (enclosed in square brackets!) or slideshow=1,5. Click update. In your theme’s page.
NextGEN Gallery now provides an easy way to build shortcodes. You can apply these shortcodes to widgets, posts, and pages. Blog Page Template; Featured Image Page Template; Full Width Page Template; No Title Page Template. I’m using pages), insert the following in the place where you want the gallery to appear. I created a “picturebox” div to contain mine. Note that you can now display different galleries on different pages by changing each page’s “gallery” custom field value. Feed for this entry.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2016
Categories |