Featured content gallery not working?

It’s a nice plugin allowing you to show featured post in a nice box with some effects. However most people can’t make it work in their blog. I have successfully used it in some of my own and clients blog (e.g.: www.gadget5.com) and experienced problem too and I found some solutions that work.First thing to do is download the latest version of the plugin and extract it in your plugin folder. Delete and deactivate older version. Now reactivate the plugin. If everything is fine, it should work but if it doesn’t, here are some troubleshooting tips:

Problem: No featured content gallery box at all.
Solution: 1. Check that you have placed the code <?php include (ABSPATH . ‘/wp-content/plugins/featured-content-gallery/gallery.php’); ?>In the template file like header.php, index.php, sidebar.php etc. One must not place this code in widget box from dashboard as it will not work. Get hold of a HTML editor and open up template file and place this code where the box fits and suits your blog look. You may want to alter some CSS settings but that’s a different story. Tweaking with CSS is only for fine touching the layout.
2.  In the wordpress admin dashboard, go to settings and click on “Featured Content Gallery” link. Now check that you have assigned category or post ID (any one of either) which you want to display as featured content. Also make sure that post ID or category you have assigned have some post with images in it.
3. In “Slide Transition Times” option if you are unsure of duration time, leave them blank. It works fine.
4. If you are doing all this on localhost (wamp / xampp) then try uploading your theme on some webhost and try it with latest version of wordpress. Sometimes it just not works with localhost.

Problem: Box appears but there is no image and only text or none.
Solution: 1. In the admin dashboard of wordpress, go to All post and edit the featured post. In the option below look for “Add New Custom Field:”. If you can’t find it please click on the “Screen Options” button and enable Custom Fields option. In the box below “Name” of custom fields option put “articleimg” and in value box put the path to image. You can copy and paste the image path from the post (check HTML view). The path will be something like this:  http://your-blog-domain/wp-content/uploads/year/month/image.jpg If the text is missing from featured box, again go to custom field’s option and in name put “featuredtext” and in value put the text you want to display in featured box.

Problem: It works now but box color, border color and text color is not right.
Solution: In admin dashboard of wordpress, go to settings and click on the Featured content gallery link. Now in the boxes below “Gallery Style” make sure that you have put proper hex code of color you want. Hex code is in this format: #FFFFFFF for white, #000000 for black and so on. Don’t forget to prefix hash symbol “#” before every code. To know exact hex code for your desired color you can use this useful small tool called ColorPix which can be downloaded free from: www.colorschemer.com/colorpix_info.php

 

Mohd. Hashim Khan

I work as a freelance web designer and developer and enjoys fiddling with machines and electronics stuff. I am also working as a part time computer teacher at Aligarh Muslim University. I share my knowledge on various topics here so that others can make use of it and take benefit from my experiences.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.