lcsci
Forum Replies Created
-
Forum: Plugins
In reply to: [Sidebar Login] How to hard-code this widget into the 'header.php' templateI would also like this login to appear in the header rather than in the sidebar. Is there a piece of code that calls this widget than can be placed in the header?
Ah, very good! Before I uninstalled/reinstalled, I checked the existing aioseop_class.php, and it was a completely empty file! Oh well, all good now. Thanks!!
~BarbaraWoohoo! It works!
That makes a lot of sense now that I see it. Duh! 🙂
Thanks very much! It’s a great simple slider you have here.
~B.G.Hi Micah,
I pasted the following into my theme’s functions.php:
add_filter( 'promoslider_image_size_by_id', 'change_promoslider_image_size' ); function change_promoslider_image_size( $args ) { if( isset( $args['id'] ) && $args['id'] == 'new_slider' ) { $args['image_size'] = 'thumbnail'; } }I’d like my slider with id=”new_slider” to show the thumbnail versions of the post images. It still shows the full images, which is the default setting, as I also have a large slider on the home page. Did I paste the code into the right place? Or does the filter go elsewhere?
I just found this thread:
http://ww.wp.xz.cn/support/topic/plugin-promotion-slider-use-different-images-and-layouts-for-different-slider
I’ll try to tackle the code provided.
Too bad the threads for this particular slider can’t be searched specifically. 😉Forum: Plugins
In reply to: [Promotion Slider] [Plugin: Promotion Slider] Images not sizing properlyI had the same problem, where no matter what I set the image width to or what width of image I uploaded, the images would always appear slightly narrower than the actual image size.
Per Micah’s suggestion, I did burrow through my theme CSS and found one instance of certain types of images having a max-width of 98%. If your images are always getting slightly shrunk regardless of original width, try looking for a percentage width in your theme CSS.
Forum: Plugins
In reply to: [Promotion Slider] True fade?My personal solution was this:
At the bottom of the promo_slider.js file, there is a fade in / fade out function. Change the two instances of ‘fast’ to ‘slow’. I don’t see a way to indicate actual time in milliseconds, but the slow version gives a really nice gentle fade.