The Stallion Featured Post Slideshow was introduced in Stallion 6.1 and allows Stallion theme users to feature posts on the Home and Archive pages (Categories, Tags etc…) via an image slideshow with an associated excerpt of the post with fancy javascript features like zooming and fading of the images (you can generate some cool effects).
How to use the Stallion Featured Post Slideshow
If the Timthumb.php thumbnail feature (caches thumbnails) is working skip number one below.
1. Change the /wp-content/themes/stallion-seo-theme/cache folder permissions so the Timthumb.php feature works. This makes smaller thumbnail images, on some servers you might have to change the cache folder permissions to 777 (writable).
2. Under the Stallion Colour Options page turn on the “Featured Posts Slideshow”. To start with leave the settings as they are, the Effects and Extra Effects settings gives you some interesting results, best way to find out what they are is try them after you’ve added a few Featured Posts since there are way too many combinations to describe here.
3. Edit a post you want to use as a Featured Slideshow Post.
4. Under the “Stallion Featured Thumbnail Options” box upload or select an image you want to use. The image will be resized by Timthumb.php (which is built into Stallion) so the image should either be bigger than the image size that will be shown on the slideshow or the exact size. If it’s bigger it will be cropped/zoomed using the center of the image as the starting point (so it crops the top/bottom and sides of the image leaving the center). For the best results I suggest uploading an image of the exact size. The image size depends on the Stallion Layout you are using:
Stallion Slideshow Image Sizes
You will have selected a Stallion Sidebar Layout under the Stallion Layout Options page. The default is a 200px wide sidebar layout.
310px sidebar layouts – Slideshow image size 660px by 300px
255px and 165px layouts – Slideshow image size 560px by 300px
200px wide sidebars – Slideshow image size 550px by 300px
No Sidebars layout – Slideshow image size 970px by 300px.
BTW made a typo on the above information on the Stallion Colour Options page in Stallion 6.1, the 310px should be 660px not 560px. Will fix the typo in Stallion 6.1.1.
Images 660px by 300px will work with all the Stallion layouts except the No sidebars layout. If you have no intentions of ever changing the layout try to use the slideshow image sizes above, if you might change the layout and don’t want the images to be increased in size which can degrade an image use one of the larger image sizes.
5. Tick the “Use in Featured Slideshow” box and “Update” the post.
This post will now be used in the Featured Slideshow using the image you uploaded on the home page and archive pages if you set all archives. A cropped version of this image will also be used by the Stallion thumbnail feature (option under Stallion SEO Advanced).
Repeat the above with other posts you wish to use as features slideshow posts until you’ve added the number of posts you want in the slideshow.
If you find the slideshow image isn’t working the most likely issue will be the permissions of the cache folder within the /stallion-seo-theme/ folder. Some servers it will work with permissions 755, others 775 and others you’ll need 777 (full write access).
Timthumb.php Security Breach
Little information about Timthumb.php for those who keep on top of WordPress security issues.
The week I decided to add Timthumb.php to Stallion there was a security alert on WordPress themes using Timthumb.php, basically there was a security hole in the script and many WordPress sites were hacked. A new version (was wrote from scratch apparently) of Timthumb.php (version 2) was quickly released which fixed the security flaw, Stallion 6.1 is using the new version (first version released with Stallion was Timthumb 2.8 in Stallion 6.1), so Stallion users never used the security flawed version of Timthumb.php.
I also turned OFF the Timthumb feature that had been compromised (it was fixed, but we don’t need it to generate thumbnails), the security flaw was in the ability to access external sites like Flickr and Youtube for acquiring external thumbnails. This means Timthumb.php that’s packaged with Stallion 6.1+ will only generate thumbnails from images on your domain, this removes any serious security threats (if there was another security issue with Timthumb in the same feature, you never know what some smart hacker will come up with next!): if someone has managed to upload something to your site they don’t need Timthumb.php to compromise your site!


20 responses to WordPress Featured Slideshow
theme resize
Hello every one , wood you show how to resize maine template biger then size 970px by 300px
Stallion Featured Slideshow Height and Width
Not that long ago I worked on the Stallion Featured Slideshow code and already forgot what all the parts are, had to look them up
The file
/stallion-seo-theme/layout/featured-slideshow.php
Has the main image sizes for the Stallion Featured Slideshow.
For example this code sets the sizes for the no sidebar layout:
if (st_sidebar_lo() == '1000'){
$st_feature_thumb_width = 970;
};
$st_feature_thumb_height = 300;
You could change the height ($st_feature_thumb_height) to 400 for example.
You also have to edit the CSS file for the layout used, if using the no sidebar layout (100px wide) edit the file
/stallion-seo-theme/style-1000.css
Find (near the bottom)-
#st_feature-wrap{height:302px;
width:972px;
margin:10px auto 60px auto;
}
#st_feature {
border: 1px solid;
}
#st_feature #st_feature_content{
height:300px;
}
You’ll need to set the height and width to take into account your new sizes added to the other file.
If you want a height of 400px for example you’d change the first height to 402px and the second one to 400px.
Changing the width would be harder because the width set is based on the width of the layout used, maximised to fit basically (using as much space as possbile for the layout). You could make the widths smaller than those currently set, making them wider would ruin what the theme looks like.
If you use another Stallion layout edit the CSS file that’s used for that layout. style-200l200l.css is the double left 200px wide sidebars for example.
I think that’s it.
David
Stallion Theme Featured Slideshow
Slideshow excerpt
The featured slideshow is one of the best aesthetic features in Stallion. I like the shuffle for the transition for example.
Is there a way to turn off the link/excerpt in the lower left hand cornor? Just have the pure image. If you can not, that’s fine the feature is great.
Stallion Featured Slideshow Images Only
That should be easy to achieve.
Edit
/stallion-seo-theme/layout/featured-slideshow.php
And delete the lines
<div class="st_feature_main"><span class="feature-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s', 'stallion' ), the_title_attribute( 'echo=0' ) ); ?>"><?php the_title(); ?></a></span>
<?php echo '<p>' . st_feature_excerpt(get_the_excerpt(),25,'...') . '</p>';?>
</div>
That should leave the image and the clickable previous and next buttons area.
Will add an option next update to turn that part of the slider off. Nice idea.
David
Stallion Theme Featured Slideshow
WordPress SlideShow Not Working
Hi,
I already changes the permission for “cache” folder but still not work . FYI I’m using Hawk Host Hosting , please advice , thanks
Stallion SEO Theme Featured Slideshow Setup
That’s not enough information to determine the problem.
URL of the site, what are you seeing, error messages, have you set Stallion Thumbnails for the posts you want to be part of the slideshow and ticked the use in the slideshow under those posts edit pages, have your turned slideshow on under the Stallion options????
The cache permissions is only part of the setup, that’s so specific sized images are generated to save bandwidth. Did you try 755, 775 and 777? Are other thumbnails working (if thumbnails features are turned on), if so it’s not a cache issue. You can also use FTP to look inside the cache folder, are there files present, if you are using a Stallion feature that generates thumbnails there will be files in the cache folder, which would mean you had to have set the permissions correctly.
David
Stallion Theme Featured Slideshow
Slideshow not working
David ,
I already turn on featured slideshow option on stallion and also thick on the post , already change all the permission 755,775,777 and still not working , and there are no files on cache dir , my url : www.bestslrcamerabuy.com , please advice thanks
Stallion Slideshow Jquery Conflict
Viewing source of your home page shows this
http://www.bestslrcamerabuy.com/wp-includes/js/jquery/jquery.js?ver=1.7.2
That’s Jquery 1.7.2 which is clashing with Jquery min 1.7.1 that the Stallion slideshow uses.
Jquery 1.7.2 will be loaded by one of your plugins, don’t know which. You have two choices find and deactivate the plugin that clashes with the Stallion slideshow feature or deactivate the slideshow.
David
WordPress SEO Featured Slideshow
Slideshow not working
David,
I already found the plugins and deactivated it but still not work , please advice , thanks
Stallion Featured Thumbnail Options
Have you edited at least one post, added a Stallion Featured Thumbnail and ticked the Use In Featured Slideshow tick box? I ask because viewing source of your home page doesn’t show any featured posts in the code. Even if a plugin was interacting with Jquery the code should still load, which suggests you haven’t set any posts to be featured.
If you have set featured posts link to the post so I can confirm a Stallion Featured Thumbnail is associated with that post and Stallion thumbnail support is working correctly. You can check yourself, go to a category the post is in and check if it’s got the Stallion Featured Thumbnail as the thumbnail on the category page, if the thumbnail is set correctly you’ll see it.
David
WordPress Theme Featured Slideshow
Slideshow working Now
David ,
its working now
thanks a lot , please review
check your plugins for slideshow
When I have problems with anything in WP, and want to troubleshoot, I unplug all my plugins and add-ons. I think WP-Polls might conflict with the slide show for example. There is no way anyone can anticipate all the endless interactions of interactions between code and plugins. So this is one idea.
Slideshow not working
Mark ,
thanks for your advice , will do that right now
Slideshow not working
Mark Still not working . I already deactivate all the plugins but still not show
Featured Slideshow not working in main static page
Hi David,
I Have edited at two posts, added a Stallion Featured Thumbnail and ticked the Use In Featured Slideshow tick box, but still slideshow is not working. I am able to see only recent post featured image rather than both.
Below are my 2 requirements.
My requirement 1:
1. Multiple posts.
2. Each post has multiple images,one main image and multiple secondary images.
3. Slideshow needed only for main image.
My requirement 2:
Current layout:
One image covered whole featured image slide show bar & description displays at the bottom.
Expected layout:
Image at the right hand side and description at left hand side of the featured image slide show.
Kindly visit my site and provide me your suggestions and steps for rectification.
Thanks
WordPress Featured Slideshow
Stallion Featured Slideshow Conflict with Slider Plugin
When I view source of your home page the code is there for two slideshow images etc… so the problem is the javascript that rotates the slider an allows clicking to the second image isn’t working.
For only the 1st slideshow image loading on the home page see this comment about Slideshow Jquery Conflicts
http://www.stallion-theme.com/stallion-theme-featured-slideshow-options/comment-page-1?replytocom=38083#comment-30533
You also have javascript loaded for a slider plugin, my guess is you’ve installed a slide show plugin (Front Slider plugin?) that uses similar javascript to Stallion and they are clashing with the Stallion built in slider (I bet the plugin uses Jquery so it’s loading twice). Either disable the plugin or disable the Stallion slideshow.
David
Stallion Theme Featured Slideshow
Featured Slideshow.
Hi David,
Thanks for reply.
I already disabled the front slider plugin and deleted.Still featured image is not loading in main page.
and also help in improving my slider with different as I explained in above comment. :
My requirement 2:
Current layout:
One image covered whole featured image slide show bar & description displays at the bottom.
Expected layout:
Image at the right hand side and description at left hand side of the featured image slide show.
Kindly visit my site and provide me your suggestions and steps for rectification.
Thanks
Stallion Featured Slideshow
WordPress Plugin Jquery and Jquery-min Conflict
View source of your home page you will find this code on line 14:
.../wp-includes/js/jquery/jquery.js?ver=1.8.3As long as that code is there the Stallion Featured Slideshow won’t work correctly, the Stallion slider uses Jquery-min and you must have a plugin that’s loading Jquery and it’s causing a conflict.
Either disable the plugin or disable the Stallion slider, they won’t be compatible. As long as that code loads the Stallion Slideshow won’t work correctly.
The slider layout you want isn’t built into the Stallion slideshow code, you’d have to make major code modifications (I’ve not tried to code that layout, so have no code examples). Because of all the main Stallion layouts the Stallion Featured Slideshow PHP code is quite complicated, I had to take into account 10+ different sizes for the slideshow box (if under Stallion Layout you switch to a different Layout like double sidebars the slideshow gets smaller to fit), so you’d need to be proficient in PHP and CSS to achieve what you want, would be easier to find a slider plugin that does what you want and disable the Stallion slider.
David
WordPress SEO Featured Slideshow
Page is not stable
Hi David,
whenever I launch my site through any browser,its refreshing page many times..it looks like page is not stable I need to wait more than 2-3 min to view content.
So please let me know what is the issue and how to solve it.
Web Page Loading Slowly, How To Fix It
I loaded your site and it loaded in seconds. It’s probably not refreshing, but loading what the site uses slowly.
Assuming you haven’t turned off “Queries ON” on the Stallion Layout Options page, log in to your sites Dashboard, then go to the sites home page, scroll to the bottom and you’ll see something like this:
77 queries in 0.662 seconds (Memory Usage 3.91MB)the above is what I see for my site (this one). Those are ‘very good’ numbers, though it’s not the actual loading time for everything since doesn’t take into account images.
This gives you an idea what WordPress and Stallion are doing, basically what’s happening on your site. If you see a LOT of queries (300+) you are probably using a plugin that’s poorly written and it’s causing a lot of database queries this will slow a site down. If you see loading time is taking 3+ seconds you’ve probably set something your host can’t handle or there’s another issue like a cheap host that’s over sold resources (not easy to figure out the cause).
This is a very basic check, doesn’t take into account images or other resources your page is using like ‘linking’ to Facebook, Twitter, Google+ (all those social media buttons are loaded from external sources, you have 30 loaded on your home page), Google AdSense, external images etc… Everything on a page has to load and if you have a lot to load or one or more external sources are slow it can cause a site to load slowly. If you had 10 images loaded on the home page and they are all 2MBs each, that’s a lot of data to load, looks like your images are around 30KB each, not that big, but there’s 10 of them so that’s 3MB of data to load in images. You might find for example in the bottom status bar of Firefox it takes a while for Facebook/Twitter scripts to load slowly. More things you use on a page more things that can go wrong.
If you find your site can’t handle everything you want to achieve you either have to remove features or pay for a better host, that’s assuming you haven’t made a poor choice with a plugin for example: there’s some plugins out there that are awful on database usage, I used one that added 300+ queries on most pages and 1,000+ on some, brought the site loading time to a crawl!!!
David
Stallion Theme Featured Slideshow
Leave a reply to WordPress SEO Featured Slideshow