wordpress - how to setup a featured content gallery

10
WordPress – How to setup a featured content gallery For many a featured gallery is perfect for their self-hosted WordPress website front page. It enables the visitors to see ‘featured’ content being cycled through.

Upload: matt-foley

Post on 22-Jan-2015

3.028 views

Category:

Self Improvement


0 download

DESCRIPTION

How to install a featured content gallery into a self-hosted WordPress website. If you require website development or design support, please hire Neogain.

TRANSCRIPT

Page 1: WordPress - How to setup a featured content gallery

WordPress – How to setup a

featured content gallery

For many a featured gallery is perfect for their self-hosted WordPress website front page.

It enables the visitors to see ‘featured’ content being cycled through.

Page 2: WordPress - How to setup a featured content gallery

A featured gallery can add a much needed splash of colour to a website – however also a featured gallery might be a distraction that isn’t required. It all depends on your website theme, content and your objectives.

If you want to hire a website designer, please contact Neogain.

Page 3: WordPress - How to setup a featured content gallery

If you do decide you want to install a featured content gallery, then ‘featured content gallery’, aka FCG is suitable for most.

Once setup it will rotate through pages, posts or a chosen category.

It is high configurable, but luckily doesn’t require much skill to setup.

Page 4: WordPress - How to setup a featured content gallery

How to upload and activate the ‘Featured Content Gallery’ plugin:

1. Download the zip file from: http://wordpress.org/extend/plugins/featured-content-gallery/

2. Uncompress the zip file and upload the folder, sub-folders and files to the /wp-content/plugins/ directory.

3. Active the plugin via the WordPress dashboard as an administrator.

Page 5: WordPress - How to setup a featured content gallery

How to insert the ‘Featured Content Gallery’ code:

1. Log into the WordPress dashboard as administrator.

2. From the ‘Appearance’ section please select ‘Editor’.

3. The file probably best to place the code is the (Main Index Template) index.php, file.

The code to insert is: <?php include (ABSPATH . ‘/wp-content/plugins/featured-content-gallery/gallery.php’); ?>

Page 6: WordPress - How to setup a featured content gallery

Example of code inserted into the index.php file:

<?php get_header(); ?>

<div id=”content” class=”narrowcolumn”>

<?php include (ABSPATH . ‘/wp-content/plugins/featured-content-gallery/gallery.php’); ?>

<BR>

Page 7: WordPress - How to setup a featured content gallery

Configuring the gallery.

Configuring the gallery is straightforward and the configuration is selectable from the ‘Settings’ menu. Most the ‘default’ settings are fine.

Page 8: WordPress - How to setup a featured content gallery

Make sure the height and width of the gallery is suitable for your website, before creating your images. Otherwise it will eat up your time later on. i.e. recreating images to new sizes.

How to select a page or post and assign an image:

If are specifying specific pages or posts, you need to know their id number.

All you have to do is go to the ‘pages’ or ‘posts’, place the mouse over a title and at the bottom of your browse the id number should be displayed as part of a path.

Page 9: WordPress - How to setup a featured content gallery

Then in the individual page or post you assign a custom field called articleimg with the path to the image as the value.

Page 10: WordPress - How to setup a featured content gallery

Conclusion

We hope you have found this article useful and please don’t forget to subscribe to our blog.

Each week we publish more great website CMS, design and SEO articles, so be sure to check back often.

If you require a website designer, please contact Neogain.