Promotion Slider

Description

Download

Promotion slider is a jQuery slider that makes it easy to insert a simple slideshow, or implement multiple rotating ad zones, on a webpage. Because it is highly-customizable, you are in complete control of what shows on the slider, what shows on your promotion pages and how it all works. A simple options page and straight-forward shortcodes provide great flexibility to the average user, while power users can take advantage of special actions and filters built into the plugin to add their own customizations.

You can easily create promotions in the WordPress admin area; complete with a title, content and image. The image displays in the slider, and when a user clicks on the image, they are taken to the full promotion page. Designed with SEO in mind, this slider can be integrated anywhere on your blog or website.

This plugin features:

  • Easy creation and management of promotions within the WordPress admin.
  • Automatic inclusion of featured images attached to promotions.
  • Creation of unique pages with a unique URL for each promotion.
  • SEO friendly jQuery animation that can be viewed on most mobile devices.
  • Slider navigation that makes it easy for users to find and click on the promotion of their choice.
  • Supports the option to link to external URLs instead of promotion pages from the slider.
  • Optionally display third party ad code in a slider panel.
  • Ability to display only a certain post type or limit to posts from a certain category.
  • Customizable time delay and the ability to disable automatic slide advancement.
  • Built-in support for displaying a title and/or excerpt for each post or promotion.
  • The ability to display multiple sliders on a single page without conflicts.
  • Works with any custom post type.
  • Plenty of hooks available to advanced WordPress users.

This plugin is provided as-is, but paid support for this plugin is available.

If you have feature requests for this plugin, please let us know!

To see the promotion slider in action, please visit the homepage of the buy wine online website – a proud user of the Promotion Slider plugin!

Installation

  1. Upload the promotion-slider folder to the /wp-content/plugins/ directory.
  2. Go to the ‘Plugins’ page of your WordPress administration area and activate the plugin.
  3. Use the shortcode [promoslider] in the content area of a page or post where you want the image slider to appear.
  4. Create your promotions by clicking on ‘Promotions’ in your administration menu and selecting ‘Add New’. The slider uses ONLY the featured image attached to any given promotion.
  5. Visit the ‘Permalinks’ page under ‘Settings’ in your administration menu. No need to do anything, just visit the page. This will ensure that you can visit the promotion pages when you click on an image in the slider. If you skip this step, your promotion pages will return a ‘Page not found’ error!

Frequently Asked Questions

How do I insert the Promotion Slider?

You can insert the Promotion Slider by pasting the shortcode [promoslider] into the content area of a page or post. Be sure to use the HTML editor when inserting shortcodes! Also, be aware that if you don’t have any published promotions, the slider will not appear. To customize your slider, there are optional attributes that can be used with the shortcode.

What are the optional attributes that can be used with the shortcode?

There are several attributes that are supported by the [promoslider]shortcode:

  1. id – You can assign a promotion slider its own HTML id attribute so you can easily customize the CSS for a particular instance of the slider. Example:[promoslider id="my_id"]
  2. post_type – You can display any post type in the slider, including custom post types. Most users will probably just use the built-in ‘promotion’ post type and the default WordPress ‘post’ post type. The ‘promotion’ post type is default, so you would only need to specify this if you want to display your standard WordPress blog posts. Example: [promoslider post_type="post"]
  3. category – You can choose to display only posts from a particular category, regardless of which post type you are pulling from. Please note that if a category doesn’t exist, all posts will show in the slider. If there are no posts in an existing category, the slider will not show at all when using this attribute. Example: [promoslider category="my_category"]
  4. width – Set the width of the carousel to fit your needs. By default, the width of the slider will automatically fit the space it is given. You can define the width using pixels or a percentage. Example: [promoslider width="600px"] OR [promoslider width="90%"]
  5. height – Set the height of the carousel to fit your needs. By default the height of the slider is 235px. It is best to define the height of the slider using pixels. Example: [promoslider height="300px"]
  6. time_delay – You can set the time delay from the options page, but this shortcode attribute allows you to override any site-wide settings and set the time delay for an individual slider. If the time delay is less than 3 seconds or more than 15 seconds, the time delay will default to 6 seconds. Be sure that you only use an integer when setting this value. Example:[promoslider time_delay="10"]
  7. auto_advance – The auto advance attribute allows you to override the site-wide settings and either allow or disallow the automatic advancement of slides. This attribute uses a true / false value. All sliders will auto advance by default. Example: [promoslider auto_advance="false"]
  8. numberposts – The numberposts attribute allows you to set the number of posts to display in the slider. The default is -1 and will show all available posts. Example: [promoslider numberposts="3"]

You can combine all of these attributes together as needed. Example:[promoslider id="my_id" post_type="post" category="my_catagory" width="600px" height="300px" time_delay="8" auto_advance="true" numberposts="3"]

How do I create promotions?

Promotions can be created in the WordPress administration area by clicking on ‘Promotions’ in the navigation and then selecting ‘Add New’.

You will be able to provide a title, content, category, and optonal URL, as well as a featured image. The featured image will be used in the slider, and the title and content that you create will display ONLY on the promotion page when a user clicks through from the slider image. You can enable the display of other content on the slider if desired. For detailed instructions, see ‘How can I enable the display of additional content in the slider?’.

Images can be placed within the content area of the promotion without affecting the slider, and featured images will not display on the promotion pages. If you set the optional URL, the slider will link to that URL rather than the promotion page.

You can optionally create categories for your promotions by clicking on ‘Promotions’ in the navigation area and then selecting ‘Categories’. You can create sliders that will only display certain categories using the shortcode attributes.

You can enable the title and/or excerpt display from the slider options page. The ‘Slider Options’ page is under ‘Promotions’ in the left hand navigation in the WordPress admin area.

Enabling the excerpt while the default slider navigation is active will result in some overlap of the two elements. I would recommend switching to the navigation links instead. You can also disable the slider navigation altogether from here if you wish.

Note: By using the ‘id’ attribute in the shortcode, you can assign all instances of the promotion slider a unique id. This will allow you to customize the look and feel of individual sliders by editing the css in your theme’s stylesheet.

More advanced users might want to display extra content on one slider, but not on another. This can be done by using the id attribute available in the shortcode and using the action hooks to add custom functions. Here is an example:

function my_slider_content($values){ extract($values); if( $id == 'my_unique_id' ){ add_action('promoslider_content', 'promoslider_display_title', 9); add_action('promoslider_content', 'promoslider_extra_content'); } } add_action('promoslider_content', 'my_slider_content'); function promoslider_extra_content(){ echo '<< INSERT CUSTOM CONTENT HERE >>'; }

How can I change the time delay between slides?

Just click on ‘Promotions’ in the WordPress admin area and select the ‘Slider Options’ page. You can change the default time delay for all your sliders from here. To change the time delay for just one instance of a slider, just use the shortcode attributes described previously.

What if I don’t want the slides to automatically advance?

If you would rather not have the slides advance automatically, users can still browse through the promotions in the slider with the slider navigation. To disable the automatic advancement of slides, just click on ‘Promotions’ in the WordPress admin area and select the ‘Slider Options’ page. You can disable automatic slide advancement from here. To change the automatic advancement for just one instance of a slider, just use the shortcode attributes described previously.

What if I want to show the slider in my sidebar?

All you need to do is add a text widget to your sidebar and include the shortcode as described earlier. Most likely, you will need to adust the height of the slider in your sidebar by using the shortcode attribute.

What if I don’t want to use the shortcode? Can I hardcode the slider into my theme?

Hardcoding the slider into your theme is just as simple as using the shortcode. All you do is insert the following line into your theme where you want the slider to appear:

<?php echo do_shortcode('[promoslider]') ?>

If you want to use any of the shortcode attributes when hardcoding your theme, you may do so like this:

<?php echo do_shortcode('[promoslider id="my_id" post_type="post" category="my_category"]'); ?>

Can I control the order in which the slides appear?

We provide a filter which allows you to customize the get_posts() query. You can use any of the documented parameters in your query. Here is an example of how you could control the order:

function change_promotion_order($query){ $query['orderby'] = 'title'; $query['order'] = 'ASC'; return $query; } add_filter('promoslider_query', 'change_promotion_order');

How can I change the default linking behaviour for a slider panel?

When creating or editing a promotion, you can easily change the linking behaviour for that particular promotion from the meta box displayed below the content editing area. You can have the links open in a new window, define a custom destination URL and disable the links altogether.

How can I insert third party ad code into the slider?

You can easily insert ad code into the slider by using the meta box below the content editing area when creating or editing a promotion in the WordPress admin. There is a box where you can insert your third party code and a checkbox which will make it actively display for that particular promotion.

What hooks do you provide in this plugin?

Here is a list of all the hooks available to advanced users:

  1. before_promoslider – This action hook is called just before each instance of the Promotion Slider. The id of the slider is passed as an argument. The id will be null if it is not set for a particular slider.
  2. after_promoslider – This action hook is called just after each instance of the Promotion Slider. The id of the slider is passed as an argument. The id will be null if it is not set for a particular slider.
  3. promoslider_content – This action hook is called within each panel in the Promotion Slider. We use this hook to populate the content in the slider, including the title, excerpt and image. The $values argument is available when using this hook and is an array containing the following variables: $title (the post title), $excerpt (the post excerpt), $thumb (the HTML image element for the current post’s featured image), $dest_url (the destination URL for the post), $target (the HTML anchor target attribute to be used with the destination URL), $id (the HTML id attribute for the current slider), $disable_links (a boolean variable that is true when a user wishes to disable all links for a particular post).
  4. promoslider_nav – This action hook is called after all the panels and before the closing div tag for the slider, but only if there is more than one panel. We use this hook to insert the slider navigation. The id of the slider is passed as an argument. The id will be null if it is not set for a particular slider.
  5. promoslider_query – This filter is applied to the get_posts() query for each slider before it is run. This hook can only be used to make changes to all the sliders on the site because the $query variable is all that is passed as an argument.
  6. promoslider_query_by_id – This filter is applied to the get_posts() query before it is run and after the promoslider_query filter. The argument passed to this filter is an associative array containg the query and id. You can use the PHP extract() function to easily gain access to the $query and $id variables. Be sure to only return the $query at the end of your filter. The purpose of this filter is to allow you to change the query for a slider with a particular id.
  7. promoslider_add_meta_to_save – This filter is applied to the data array prior to processing and saving the promotion meta data. It is designed for developers who need to save additional meta data to the promotion custom post type after having created a custom meta box. The $data variable is available when using this filter and contains an array of all the meta keys to be saved when a promotion is created or updated.
Download

Related Posts:

  • No Related Posts

400 Responses to: Promotion Slider

Is there a demo of the plugin available online?


Sure… the site hasn’t launched yet, but you can see the promo slider in action here.


hi. i just installed the plug in and love it (though i had some integration issues at first with the “associated post” plug in for the static page of my site).

anyway, here’s my question (and possible need for paid support)… in the slider there is a gray area to the right of the image just above the <>. i would like to have the title of the promotion appear in that area. is this possible?

thanks a bunch. love this tool…


    Hi guys, This is a super plugin. I am using it not as a “promotion” per se, but really a way to give new users an overview of major content areas. I override the promo page link with the url of each main page on my site. Cool!!!!

    BUT I do have a problem, also with the associated posts – I am using Post Page Associator, and when I use the short code to the promotions in the page (like an intro section at the top of my posts associated with that page), nothing shows up. It is like the promotions plugin cuts off the other plugin??? Is there a work around, as I need that functionality. Thanks!


sorry to bug you again. one more thing would be cool. when you mouse over the image the arrow doesn’t change… so how will people know to click the image as a link (like wines.com for example)?

it would be really cool for my site to have title of promotion in the gray box and if the image in the slider “seemed” clickable to people.

thanks…


    There are a couple of ways you could encourage people to click through to the promotion page: 1) Include a picture of a button on top of your image, or 2) if you add the title, make it a link. I am open to any other ideas that I could incorporate into the plugin to improve click-through. I am not sure what you mean when you say “the arrow doesn’t change” when you mouse over the image… if I am missing something, please let me know! I see what you mean now… I will update have updated the CSS for the slider so that the pointer changes to a hand like it does over the nav links.


Could this replace the slideshow in the Arras theme? And is it possible to make the whole picture an external link, not just a link to a post within the site?


    Yes indeed… you would have to alter one of your theme files in the Arras theme to replace it with the promo slider, but it wouldn’t be too difficult. You could make the whole picture an external link, but it would involve some minor alterations to the plugin. Perhaps I could make this a feature in a future release.

    I have updated the plugin to allow for external URL’s. You can now set these from within the ‘Add New Promotion’ screen!


      Hey Micah,

      I installed this plugin while utilzing the Arras theme. How can I get this to work? It seems to work fine out of the box with Twenty Ten but not Arras. You’re help would be greatly appreciated!


        I installed Arras and tried it out… worked fine for me. I may be a conflict with a plugin you have installed? Or perhaps another customization is causing a glitch? If you have a link to the slider, I can take a quick look.


hi micah, just a quick note to thank you for all your help to customize the slider for the site.

so the feedback has been great. and though it’s early, it seems like the bounce rate on my site is down. i’ve been able to track the click-thrus over the past few days and can tell you that people are definitely visiting the promo pages.

thanks again for all your help. you’re the best…

michael


hi micah, i have 2 more quickies regarding your super-cool plugin.

1. is there a way to change the time delay between slides? i plan on having 8 promos up and even a second or two would help.

2. is there a way for the promo to link to an already existing page on the site vs. the promo page?

thanks a bunch. u r the best…


    Michael, to change the time delay just click on ‘Promotions’ in the admin area and select the ‘Slider Options’ page. You can change the time delay here. I have also included support for custom links from the promo slider. Just go to the editing screen for a promotion and fill our the destination URL meta box that appears below the content editing area.


hi micah, great. thanks for the help with time delay. i have one more item that just came up.

some website visitors land on an article for my site, rather than the homepage. these people never see the slider. so i was hoping to code the slider directly onto the single-post template so that these people can also see the promos.

any ideas how to do that?

thanks a bunch…


    You can use the following code in your theme file: <?php do_shortcode('[promoslider]'); ?>

    There are more detailed instructions and options available in the readme.txt file and on the WordPress plugin page.


hey micah, thanks again. i’ll add the code this weekend to check out. changed the time delay between promo slides – works awesome! for my site i’m selling “ad space” on either a promo slide, or spots on an existing slide. and since i plan on having up to 8 promos max moving through them quickly helps.

hey, here’s something i was interested in from another site and thought i’d run it by you. one website has 3 image ads on their site (not google adsense ads) and they slide through, meaning 3 ads are visible, then another 3, and so on. each ad is uniquely clickable to the site paying for the ad.

i’d love to have something like this on my blog, maybe just above the footer. is there a plug in for this? would you want to create a plugin for this that would allow someone to either have adsense ads rotating thru, or their own ads?

thanks again for your quick response.

michael


    Michael,

    The promo slider can be setup to do this. You can run three instances of the promo slider side by side and disable the nav. It will require some css changes, but shouldn’t be too complicated.


Hi there -
Your plug in seems like the perfect thing for me, but I can’t make it work. I’m on WP: Version 3.0.1 ..

My experience isn’t ‘deep’ but I can usually follow directions and have made some minor changes to the underlying code of my theme — on rare occasion and with great care and anxiety.

I’ve ‘auto installed’ via WP dashboard the plug-in. Version 1.0

I created a promotion post. Before I publish the promotion post — it looks okay in preview. In this mode – before it’s published – on my test WP Post that includes [promoslider] I see nothing.

Once I’ve published the promotion post I can’t link to it. I get “Sorry, but you are looking for something that isn’t here.”. I have permalinks turned on and the given URL for the promotion is unique: http://www.longtailnet.com/promotion/arsenalv1

I’ve place: [promoslider] on a test ‘WP Post” and after publishing I a grey box.

And, I’m sorry to carry on … but — when creating or editing a “promotion” there is no way to ‘select’ an image or a category. So, I’ve place an entire string of HTML into the single edit box. … But, having the ability to make additional promotions based on categories will ultimately be very useful.

I’ve modified the cut/pasted HTML a number of times trying to make it simpler … to no avail.

Can you help me???


    David,

    Unfortunately, WordPress.org isn’t showing the latest release of my plugin properly. Version 2.0.0 is the latest version and includes better support for image uploads and allows display based on categories. Currently, you have to visit the permalinks page in the admin area once the plugin is installed, but I will be eliminating the need for this with the next version. You can click on the download link on my site or select the ‘Other Versions’ link from the WordPress.org plugin page (on the sidebar to the right) and select the latest version.

    Without an image, only the gray background will appear. The content and title will not appear in the slider unless you change the css, as per the readme.txt file. Get the latest version, read the readme.txt file that comes with the plugin, and let me know if you have any more issues.


      Hi Micah, Unfortunately I am having the same problem and to no avail am resorting to pasting lots of html in both boxes to see something appear. But there is nothing.
      Yet I have set a featured image and after using the shortcode on my test page – all I get is the grey flashing box with just the two promotions.
      What could i possibly look for to make this work?


        Juliana,
        Anything you paste in the main content area will only show on the promotion page, not in the slider itself. The promotion page is what appears (by default) when you click on a particular promotion in the slider. Anything you paste in the ‘Ad Code’ box below the main content will not show up in the slider unless you check the box to display the ad code. You will have to set the featured image to have an image appear in the slider.

        Most people misunderstand how to properly set a featured image. From the promotion editing screen, first locate the ‘Featured Image’ box on the bottom right. Next, click the ‘Set featured image’ link that appears within that box. Either upload an image or select an image from the Media Library and make sure to click the ‘Use as featured image’ link next to the ‘Insert into Post’ button. DO NOT click the ‘Insert into Post’ button as this will only insert the image into the Promotion Page and not into the slider. If you have properly set the featured image, you will see the image appear within the ‘Featured Image’ box. Be sure to click on the blue ‘Publish’ or ‘Update’ button to save your changes.

        If you have followed all of the steps above and still have trouble, please let me know. Thanks!


          Thanks Micah, it really is a great plugin, it’s a shame I could not get it to work. Must be something to do with a missing hook in my theme. I’ve set the images to featured, they appear in the bottom right admin sidebar. but alas it doesn’t work with my theme :/
          here is is: at the bottom of the page running as a test,
          http://bit.ly/ijObcf


Micah,

I get the following error when trying to activate the plug-in: “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /var/www/html/website_here/wp-content/plugins/promotion-slider/index.php on line 15″

Any thoughts?? This plug-in looks like the perfect solution for my needs, but I cannot seem to get it to activate. BTW, I am running WordPress version 3.0.1 and using version 2.1.0 of your plugin.

Regards


    Sounds like you are using an older version of PHP. This plugin uses features that are only present in PHP 5. The error you are receiving is due to PHP 4.x not recognizing these newer features. PHP 4 is obsolete, so if your web host can’t or won’t upgrade you to PHP 5, you may want to consider switching hosts.


Thanks for the help, I just updated to PHP version 5.2.2 and the plugin activated without issue. I will check out the functionality later today and let you know that I think. Thanks again!


Micah,

Fantastic work on the easy to use seamlessly integrated plug-in. I dropped you a few dollars to show my appreciation for all the work you put into this.

Here are a couple suggestions for future updates:
1. Make the number of the active promotion change color to provide a visual to the user. It is currently impossible to tell what promotion is showing. I realize this could be accomplished with a number added to the promotion graphic, but the highlighted number would be really nice to have as a visual cue.
2. Make the delay start over when a user clicks one of the numbers. Currently, if the image is about to switch and a user clicks one of the numbers, the delay does not reset creating an abrupt quick switch for the next image depending on how far into the delay the script is before the number is clicked.
3. Allow ordering of the promotions. Perhaps I missed this function, but it would be great to be able to start the promotion slider on a specific one or switch the order from time to time.

Lastly, I realize that I can may be able to accomplish this with the “id” function, but it would be really nice to be able to have different promotion slider sizes so the home page could have a larger size than one placed in the sidebar for instance. I know the size can be adjusted, but I am not sure how to make two different size options.

I hope these suggestions are helpful. Keep me posted of any future updates to the plug-in.

Regards


    Thanks for the recommendations! I have just released the latest version today.

    I have changed the slider nav so that it provides a visual indicator to the user as to which slide they are on. The colors can easily be changed using css. I have also changed the javascript so that the time delay gets reset when the user clicks a link in the navigation.

    I have implemented a solution for ordering the promotions, but it does involve adding some lines to your functions.php file. You can see the updated instructions for more details.

    To have more than one slider with multiple sizes, just create two sliders using the shortcode:

    [promoslider id="promoslider_sidebar"]
    [promoslider id="promoslider_content"]

    and use css to change the dimensions for each, like this:

    #promoslider_sidebar { height:150px; width:150px; }
    #promoslider_content { height:480px; width:640px; }

    all other sliders will default to a height of 235px and the width will adapt based on where it is placed.

    I am not so sure that most people have caught on, but this plugin makes it possible to show ads of various sizes in multiple locations on a page. For example, you could create a header banner ad location and create a category called ‘Header Banner’. By using the shortcode to assign a custom id and category, you could change the dimensions of that slider to match a traditional banner ad and show only ads that you assign to the ‘Header Banner’ category.


      hello , and thank you for your plugin,
      i can’t find the way to have 2 different sliders in one page. PLEEEEEASE axplain where do i have to put the “id”; i mean …i do a category and in this category i put 3 promotions.. How can i give to this slider of 3 promotion an “id”

      thank you for your time


        No problem. So let’s say you have two categories: (1) Homepage and (2) Sidebar. You want to have two sliders, one on the homepage that will pull from the homepage category and one in the sidebar that will pull from the sidebar category. Of course, each of these will need to be different sizes and will likely have their own css styles.

        Here is how you would create two unique sliders that would run on the same page:
        Use this shortcode on your homepage: [promoslider id="homepage_slider" category="homepage"]
        Use this shortcode in a text widget in your sidebar: [promoslider id="sidebar_slider" category="sidebar" height="100px"]

        The width of the slider is automatically set to 100% width and 235px tall. This is great for the homepage slider, but makes for a tall sidebar slider. For this reason, I arbitrarily adjusted the height of the slider in the sidebar to 100px. You can also set the width to an exact percentage or number of pixels if you wish.


          Micah,
          thank you for your quick answer. i make some progress. i managed to have 2 promotion sliders. One as a text widget and one as a hardcored header code. The problem is, that the second one, when i choose the category i want, does not shows anything. If i don’t use “category” option with shortcode it shows all my promos from all categories… Any idea;

          thank you in advanced


          The first issue could be that the category doesn’t contain any promotions. I am assuming that you have checked this already and that this may not be the issue. The second issue is that you may have mis-spelled or mis-applied the category in the shortcode. Since you got the first one pulling from the category properly, I assume that you applied the attribute in the shortcode properly. So my recommendation would be to double-check your spelling of the category name or slug in the shortcode. I would recommend using the category slug in the shortcode rather than the name, although either one should work.

          Do be sure you are using the latest version of the plugin as well. If you are still running into trouble and don’t mind letting me look at how you have things setup in WordPress, you can use the contact form to get in touch.


Hi,
How can i get the view just like the demo site one?

Image on the left and the slider title and click on the image link on the right?

Thank you


    For starters, you will have to upload images that are of exact dimensions. The height of the slider defaults to 235px, so unless you have changed it, you will want your image to be the same height. The slider width varies to match your theme, unless you have given it an exact width. The demo slider you saw has an image width of about 400px. Assuming that width will work for you, just upload an image that is 400px wide and 235px high.

    Next, you will want to enable the display of the slider title and add some custom text to the slider. All you have to do is drop this code into your theme’s functions.php file:

    add_action('promoslider_content', 'promoslider_display_title', 10, 5);
    add_action('promoslider_content', 'promoslider_extra_content', 10, 5);
    function promoslider_extra_content(){
    echo '<div class="promo_slider_extra_content"><< Click image for details...</div>';
    }

    Finally, you will want to customize the way that the title and custom text appear in the slider. You can drop these lines into your theme’s style.css file:

    div.promo_slider_title{background:none; position:absolute; top:15px; right:30px; width:auto; height:auto; padding:0; padding-left:400px; text-align:right; font-size:20px; line-height:20px;}
    div.promo_slider_title a{color:#fff;}
    div.promo_slider_extra_content{position:absolute; top:100px; right:30px; color:#fff; font-size:12px;}

    If you decide to change the width of your images, just change the 400 in padding-left:400px; to the number of pixels wide you want the images to be.


Hi i am new to wordpress and i downloaded your promotion slider to put a promtion banner on our hompage where we currently have a static image. I have created featured images put the images in the content are and tried everything i believe should work but i am still getting a blank box but you can see the ripped paper tab showing you which image you are on and it does move and show the correct amount of promotion i have done but just does not display the images.
is there anywhere i could get set by step or video on how to create the promotions and make the work. Thanks Dan


    Just to be clear, the slider only uses featured images on the slider. If you put an image in the content area, it will not show in the slider.

    If you have successfully added a featured image, everything should work just fine. I am guessing that you may have an issue with WordPress not knowing the proper location of the image. If the link in the promotion editing page says ‘Remove featured image’ and you don’t see the image directly above this text, this is most likely the issue. If the image shows in the featured image box, but not in the slider, it is probably something going awry with the plugin.

    If the issue seems to be with the plugin, the best thing to do is put the promotion slider on a private page where I can visit it and see what is going on.


      Hiya, oh dear, looks like I’m having the same problem. I’ve popped the image in using “featured image” but it’s just displaing a black/empty box. Here’s the page. http://www.hellohove.co.uk/promotions/ Any ideas? Thanks


        Hi Abi! Can you double check something for me? Go to one or your promotion pages in the WordPress Admin (where you edit them) and look at the box on the bottom right titled ‘Featured Image’. Is there an image displaying in this box, or just text? If there is an image, then this means the featured image is set properly and there is an issue with the plugin. Thanks!


hi micah, me again. first, i’m glad you kept the comments from earlier b/c i think i have to tweak everything again. i just upgraded the plugin (big mistake) and now i just have a black box in the area where the slider images used to be.

do the changes we made above in the comments sections still apply to the new version of the plugin? man, i hope so…


i see what happened. you added some cool features for the plugin. unfortunately for me, after those modifications i just can’t get this to work at all. should i delete and reinstall the plugin removing the changes i made with your help?

thanks…


Great plugin! I’m using WordPress 3.0.1 and have installed your plugin. I’m using it in 4 different text widgets with the shortcode. When I only have one promoslider on a page, it functions properly, as soon as I put a second one in (whether it be in a widget or a page/post) only the first one will automatically slide. You can go to each add in any of the others by clicking on the number associated, but it’s not happening automatically. Any thoughts?


    Hmm… thanks for letting me know! It was running multiple sliders before. I didn’t recall making any changes to the jQuery, so I will have to look into it!


What a fantastic plugin – saves having lots of advertisements stuck all over the shop and allows you to promote more than one product. Is great Micah you must of put a lot of hard work into this.. tc and thanks.
regards
Micheal


Hi, may I add the featured images with ‘Add media file from URL’ but no upload a new picture file?


    You can show an image from a URL on the promotion page, but you cannot set a featured image using the URL. You will have to upload any images you want to use for your slider.


Hi, Micah, after I placed the shortcode, on the page, and after creating the promotion, when I open the page, I can see the only the gray rectangle, but the images don’t show up.You can see it on the website I http://www.vb.valentinobrothers.com Can you help me with that?

Thank you very much


    It looks like you figured it out. You have to set a featured image in order for the image to show in the slider. If you just insert an image into the post, it will not show in the slider.


How can I modify or remove the image that appears below the text or title of the promotion and under the page counter or slider navigation display? I hope that will be possible….


    The background images for the title and slider navigation are added with CSS. All you need to do is to overwrite the CSS rules. Just add the following line to your style.css file to remove the background images:

    div.promo_slider_title, div.promo_slider_nav{background:none;}


      Ok! thanks so much for giving me the solution… i going to modify the CSS… even if I’m not used to deal with the code, anyway I will try… thanks!


Hi Micah,

Amazing plugin, but I cant find ‘featured image’?
Ive uninstalled other plugins to see if there is a conflict, but no luck

any ideas?

Thanks


Greetings!

Thanks for the amazing tool! I’ve read the FAQ and some comments but I’m still having some problems.

I would like to either move the title (along with the spiffy default background image for the title) to the left of the slider or else align the image to the right.

I’d also like to add some room after the excerpt so that the navigation doesn’t cover the excerpt. I’ve tried increasing the size of the slider, but apparently I’ve only been able to figure out how to alter the size of the main part of the slider, ie, where the image is.

My knowledge of PHP and CSS are very limited so any help would be greatly appreciated.

If you’d like to visit my new site’s homepage where I’m using the slider, it’s ptc.myclickspay.com.


    Currently, there is no way to move the title or the slider nav outside of the slider. It is possible to align the title to the right, but the background image for the title won’t look right if you do. You would have to create an inverted copy of the image and redo some of the CSS to get the look you want. To just get the title to align to the right, you will want to add something like this to your style.css file:

    div.promo_slider_title{right:0px; text-align-right;}

    You can easily adjust the width of the excerpt area by adding a line to your style.css file similar to this:

    div.promo_slider_excerpt{width:100px;}

    You can change the width to anything you want, but keep in mind that the height of the excerpt area will automatically adjust.


Hi Micah,

First off, thanks very much for creating this plugin. I have just installed it and am doing some testing with it to see its capabilities.

Is it possible to disable linking for certain promos? Basically, I’d like to use this on the home page to rotate through a number of nice images and just have a couple of the images actually be clickable to another part of the site. The rest of the images would simply be used to add some fresh pictures to the site.

Thanks!
Mike


Hey Micah,

Excellent plugin. Just what I’m looking for. A way to display multiple promos with ease :)

I’ve created a new sidebar promo (different size to main). But I’d like to change the size/ or background buttons / title layout in just the sidebar.

Effectivly, 2 different style sheets for 1) sidebar and 2) main.

Just a prod in the right direction and I’ll be fine with the rest :D


    Lee,

    Use the shortcode to assign a unique id to each slider (e.g. [promoslider id="sidebarslider"]). You can then use that id to assign different characteristics to each slider using CSS (e.g. #sidebarslider{width:150px;} ).

    If you are using the title and slider navigation for both sliders, you can just change the look and feel using the custom id’s that you assigned using the shortcode. If you want the title to appear in one slider and not the other, just make sure you have activated the title in the slider options page and then use the custom id to hide the title for any slider you don’t want to display the title (e.g. #sidebarslider div.promo_slider_title{display:none;} ). If you want to remove the default background image behind the title: #sidebarslider div.promo_slider_title{background:none;}. You can do the same for the slider navigation. Once removed, you can add any styling you want.


Hi there iam using wp 3.0.1 hosted on a server
I had a problem inserting the featured image button into the add new Promotion the button does not appear at all

i don’t find easy alternative way to insert the image as featured

i verified with normal wp-post the insert featured image button appears normal


    The plugin should be adding the ‘Featured Image’ button for you if you are using the latest version. Otherwise, it sounds like the theme you are using may be limiting this feature just to your posts. Perhaps try switching to the default WordPress theme to see if the ‘Featured Image’ option is available on the Promotion editing page then?


Hi Micah
I’m having trouble positioning the slider. No matter where I put the shorcode it always displays the slider at the top of the page. I am currently just using this once on the home page but would like to have multiple sliders in different locatrions on the same page.


Hello, I’m trying to control the order of the posts, and using your sample code in my functions.php. All I seem to get is invalid argument or missing argument, I have tried to use $id=”4″ but this does not change the order, but removes missing argument, please can you help?

Thanks
Nathaniel


    Thanks for letting me know! I will be fixing this little bug in the next update. For now, just omit the $id argument from your function, like this:

    function change_promotion_order($query){
    $query['orderby'] = 'title';
    $query['order'] = 'ASC';
    return $query;
    }
    add_filter('promoslider_query', 'change_promotion_order');

    You may not be seeing a change in the order simply because the ascending order by title is the same as the ascending order by post date. To test this, just change the ASC to DESC to reverse the order. If you don’t see a change, let me know exactly what code you are using.


      That has worked perfectly! thank you

      Now, unfortunately with the update, the slider is only taking slides re only displaying from the default wp post categories and not the promotions categories.

      Nathaniel


        I have the same problem here. Worked great before the last update, but now ignores he promotions posts and takes posts from the rest of the site.

        Any ideas?


          Sorry about this, I changed a query filter in the latest version and an invalid argument made the query default to displaying posts rather than promotions. Because I had an active filter in place during testing, I didn’t notice this glaring issue. Thanks to everyone who let me know about it!

          I have made my best effort to get this issue resolved quickly… you can download the latest version (3.1.0) and I have fixed this issue that was present in version 3.0.1.


        Sorry about this… this issues with version 3.0.1 have been fixed with version 3.1.0.


Hi Micah

It appears that the do_shortcode(‘[promoslider']) functionality died with the last upgrade.

My theme and templates are broken (still on a staging site, so not a train smash).

Otherwise, great work. Thanks a stack.

Jason


    Sorry about that. I changed the way the shortcode returns the slider to fix another issue. All you need to do is add the word ‘echo’ in front of the do_shortcode() function like this:
    echo do_shortcode('[promoslider]');


Great plugin :) Looking forward to using it for many projects. Have a great Thanksgiving!

Thanks for advising of the echo – totally did not catch that.

The 2nd update today caused it to stop working again. Only see the left and right arrows and no images.

Snerdey


Like everyone else, I’m really enjoying this plugin; unfortunately, the latest update caused it to start pulling posts from every category except the one I actually defined. The site can be seen at http://stage.beggscreative.com/whi.

I’ve tried specifying the category in the code, uninstalling/reinstalling, etc., and it’s still not working. Any insights would be appreciated.


I having the same problems too.
No any images show up. Currently I’m using wordpress v3.01, is it because of this?

By the way, this is a really great and awesome plugin, love it so much. Thanks for such a great work and your helpful/detailed FAQ :D


Hi Micah,

My slider seems to be referencing posts, not promotions, for some reason. IE, I can add content to the slider by changing posts, but the promotions do nothing. Any insight?


Micah-

Awesome plugin, and thanks for such great support!


Hello there

I have the promo working with 1 theme but the featured image will not show up in another 2 themes and wondering if there will be any fixes for this in the future? Thanks very much!


    I have included automatic support for post thumbnails in the plugin, but some themes seem to have issues with it anyways. You can just drop this line into your theme’s functions.php and it should work:

    add_theme_support('post-thumbnails');


It worked, thanks very much!


Hi Micah,

Thanks for the great plug-in. I’m giving it a try and have put a promo in the header.

Everything works great when reading pages but when blog reading posts it doesn’t seem to be able to access the promotions any longer.

The slider only shows the featured image for the blog post I’m reading, not any of the promotion featured images.

Do you have any ideas as to what is happening?

Many thanks!


Hi Micah, great plug in!

I think that with some small changes it can be even better.

To help designers styling properly I would suggest to add some additional html on the navigation elements.

For example, the “separator” between navigation numbers should be included in a span or something like that (|).

Another issue is the validation for HTML5 sites, the attribute “value” it’s not allowed to be in a div (you use it in panels). You can use something else, for example the “accesskey” attribute instead of the “value”.

Another great upgrade can be adding the possibility to use thumbnails instead of numbers for navigation… and inserting the “promotion title” on the “title” attribute of the navigation element, so that on navigation rollover tooltips you can see the promotion title, and not just numbers…

said that… great plugin!!!


hi Micah,
I just found out a little bug.
the autoadvance is activated even if there is just one panel.

I just added “if (panelCount > 1){” to fix it.


sorry if i use the comments to speak with you but it’s quicker than writing you an email…

I just want to tell you that I made some changes to your promo_slider.js file,
if you are curious you can see it here:
http://www.angolodivano.net/autohotel/wp-content/themes/twentyten/js/promo_slider.js?ver=3.0.1

here you can see the result:
http://www.angolodivano.net/autohotel/


Micah,

I’m currently having issues getting the Promotion to change to a second or third banner.

I have tried changing templates to the WordPress TwentyTen template and it works fine, so it’s something to do with my template.

What critical parts are required in a template to make it change?


Hello Micah,

I have installed the slider on WP 3.01. The problem is that the slider is not advancing. it only shows the latest promotion/post that I’ve added. I have 3 promotions, but clicking on the navigation arrows don’t make the slider advanced. I’ve also tried the category=”slider” in the shortcode while setting all of my 3 promotions to the slider category. Still no luck. Any ideas? Thanks


I posted a link about the slider not sliding/advancing and the solution was to add ‘wp_footer();’ before the closing in the footer.

Another question is how to change the animation to actually slide. Will check the code for this.


    Currently, the plugin only support a fade out / fade in transition. Adding additional transitions is next on my list. Any contributions in this area are welcome!


Hi,

I absolutely love the organization and ease of use with this slider…it’s fantastic. I do, however, seem to be having an issue – I’m getting a grey border all the way around my images which really takes away from the effect.

You can check this link to see what I mean.

http://rhinomarketinggroup.com/ecommerce/

Would you happen to know off-hand why this is happening? Thanks.


Hi I have the latest version 3.1.0 and I am also just getting grey box.

I have tried jpeg, gif and png and all the same :(

Please help…

John


    Are you getting a ‘Featured Image’ box on the right-hand side when you are on the ‘Add New’ promotion screen? Look at the bottom right of this image for an example of what you should see.

    Keep in mind that only images that are uploaded using the featured image box will appear in the slider.

    You may want to upgrade to the latest version, which is now 3.2.0, and see how that works for you.


      Hi Micah,

      Downloaded and installed new update Featured Image now shows but how/where do I add additional images?

      John


        You add a new promotion for each image you want to show in the slider. Only the featured image shows in the slider. Any images or content that you put in the promotion content area will only show on the promotion page.

        If you have created more than one promotion and uploaded featured images, but are still only seeing one image appear, it is because your theme needs the wp_footer() hook installed. All WordPress themes should have the wp_head() and wp_footer() hooks, and my plugin uses both.


Hi Micah,

I found a great plug in that allows one to make a custom header and footer above and below posts however I added the code [promoslider] but it’s not showing my promotion. The plugin works just fine but it won’t work with the short code. Thank for the help in advance!


    If you are placing the [promoslider] shortcode within a box on an options page for another plugin, it is most likely that the plugin doesn’t process that content for shortcodes at all. Try placing the shortcode in a regular post to see if that works. If it does, it isn’t the shortcode that’s the issue.


just getting this error when trying to activate:
Fatal error: Class ‘ps_legacy_options’ not found in /home/nellison/public_html/socialize-media.co.uk/wp-content/plugins/promotion-slider/index.php on line 87


Hi Micah!

I really want to use your plugin and I’ve set the images to be “featured image” in the promotion and I’m still only getting a gray screen. I’m using the Headway Theme. Any help would be appreciated!


Hi Micah,

I’m fairly new to this whole wordpress and jquery slider thing. I am currently using the standard twenty ten theme and I would like to put the jquery slider as the header image(s) of my webpage. How would I do this? Is there somewhere specific I need to put the shortcode to do this?


    Great idea! I actually have done this with one site already.

    There are two ways you can go about this. 1) You can install the promotion slider shortcode so that it shows the slider on every page, or 2) you can install the slider just on the homepage. When I did this, I installed it just on the homepage. If you do it this way, when you click on the promotion, you are taken to the promotion page which has the image you clicked as the header image.

    To implement this, you will have to alter the header.php file and add some lines to the css file. I created a child theme that has my modifications in it so that I can still upgrade the TwentyTen theme without having to hack the theme each time. If you are interested, let me know which of the two slider implementations you are interested in and I can shoot you a copy of the child theme for your own use.


Hello Micah,

Thanks for an awsome plugin so easy to use and flexible.

Issue, I have created 2 categories and 2 promosliders however I can’t get each to show only the corresponding category.

I’m using the following shortcodes:

1. [promoslider width="616px" height="265px" category="dogids"]

2. [promoslider height="60px" width="460px" category="tsc"]

You can see the display at: http://myblogmate.com/slider-test/

I added links to images showing the settings for each to make it a little easier.

Thank you!!


    Luis,

    There is actually a bug in the slider code that is preventing this from working. Someone else pointed this out to me earlier and I pushed out another update to fix this issue (version 3.2.2).

    Download that and everything should work just fine. Thanks!


Hiiii,
Great plugin! But is it somehow possible to ad some fancier transition effects?
For such an otherwise complex plugin, the used transition is well … very, very basic and not so nice actually.
Would be great if you would have a hack for that :-)
Thanks a bunch!


    I hear you on that. I have been thinking the same thing myself. This is my goal for the next big release… I just have to figure out the best way to go about it.


Great plugin. It worked awesome until I updated today, now nothing. I’ll probably roll back to the last version. Just thought I’d let you know. Thanks again, you’ve been a huge help.


I updated the plugin and had to re-enter everyone of my promotions. Now, you have a new update available, is there anyway I can update it without losing everything? Thanks


    Linda,
    All of your promotions still exist in the database, old and new. What happened it that some update code failed to run when you upgraded the Promotion Slider. Because of this, your old promotions are just not accessible or used by WordPress. If you have re-entered all the promotions, upgrading will not cause you to loose anything. I promise.

    None of my code has, or will, delete information in your database. If anything, you may notice that a future upgrade may cause your old promotions to re-appear… at that time you can feel free to delete them yourself.

    For anyone whose promotions have ‘disappeared’, feel free to drop this code in your functions.php file to manually run the upgrade code:

    function change_legacy_post_type(){ global $wpdb; $wpdb->query("UPDATE ".$wpdb->posts." SET post_type = '"ps_promotion"' WHERE post_type = 'promotion'"); } add_action('init', 'change_legacy_post_type');

    Once your promotions ‘reappear’, you can remove this code from your functions.php file. You need only to visit your website after adding the code.


I download your plugin, now I put the shortcut to the page I want. I got to the promotionsite and ad into the text field html code, it’s a banner. It’s not showing nothing when i look at the site where i put the shortcode, can you give me please instruction how to add banner-images with conten. And I want 5 different like this
Looking forward to hear from you asap
Cheers, Gil


    You can use the ad code box at the bottom of the promotion editing page to enter HTML or third party ad code. Ideally, if you just want an image that links to a specific page, you only need to upload a featured image and customize the link options to your liking. If you do use the ad code box, you will have to check the checkbox just above it to activate the display of the code.


Hi Micah,

Sorry about this, I only seem to contact you when I have a problem. When I installed the last update (3.2.2) it seemed to delete my promotions (although they were still showing as post values for each of my promotions cats). I therefore rewrote one of the promotions and re-published – everything looked fine on promotion ad – but on click through it referred me back to the homepage, rather than the promotion page, like a 301 redirect.

Any idea how to remedy this? Many thanks in advance.


    Al,
    The 3.2+ updates are supposed to run some code on activation that update your old promotions to the new post type. I had named the custom post type for the Promotion Slider ‘promotion’, which is a bad practice. I properly namespaced them in the 3.2+ versions, but had to run some code to change the old post type to the new one. The old promotions are actually still in your database, but the code that was supposed to convert them to the new post type must have failed to run.

    As far as the redirect, it would seem that the proper rewrite rules for the post type may not have been added either. Perhaps you could try deleting the promotion slider completely and installing the latest version? I will be looking into these issues more, but it may take some time… I am swamped with projects. You can always revert back to an older version, like 3.1.0, if you need to.


I installed promo slider, but it isn’t cycling through the promotions. I it just shows one and never changes.


    The first thing to do is to check your theme to see if the wp_footer() hook is in the footer. The javascript file is included via this hook and without it, only one static image will display.


Hello Micah, I contacted you before I have problems having the image on the slider, but I did it in some way :-)
Now I change the theme and I can not manage to make it work. I will tell you what I did:
I installed the latest version, then I placed the shortcode in the Home page with HTML option, then I created the promotions and uploaded the promo with featured Image,then went to Permalinks and opened it, just they you said it.After I saw in one of your responses that we have to place some code in the theme functions, and the stylesheet too.
Did I missed something?
So when I go to my Home page I see everything except the image. Can you help me with that? here is the website link.
http://vb.valentinobrothers.com

Thank you again for the great Plug In. :-)


Hello I believe I need to put the code in the “header container”. I tried:
#header-container {
div.promo_slider_title,
div.promo_slider_nav
}

I can get it to work in posts but note as the header background.
Could you make a suggestion?
Thank you
Thank you


    If you want to insert the shortcode into the header container, you will have to edit your theme’s header.php file. You will need to add this into that div:

    <php? echo do_shortcode('[promoslider]'); ?>


      Hi Micah,

      Thanks for this excellent plugin.

      I have got this to work on posts / pages but have not been able to get it to work in the header using the line of code you have mentioned here.

      I am using the Freshy 2 theme. Is there a certain place in the header that I need to put this line of code?

      Kashyap


        To place the slider in the header, you will most likely need to add some code to your theme’s header.php file. This is the code you would use to insert the slider in the header:
        <?php echo do_shortcode('[promoslider]'); ?>

        If your theme has a settings page where you can paste PHP code, you can use this there as well. Using a straight shortcode in such a box typically doesn’t work because the theme doesn’t check for and process them.


Micah
I too updated to 3.2.2 only to lose all of my promotions. Following your advice to Al i reverted to 3.2.1 but still no joy. What version do I need to be able to see my promotions again?


    Not sure why, but the upgrade code that handles the promotions has messed up for certain users. On all the sites I have upgraded, it has worked fine. Let me know if you ran across any errors during the upgrade.

    You can actually use the latest version and plop some code in your functions.php file to make your promotions re-appear:

    function change_legacy_post_type(){ global $wpdb; $wpdb->query("UPDATE ".$wpdb->posts." SET post_type = 'ps_promotion' WHERE post_type = 'promotion'"); } add_action('init', 'change_legacy_post_type');

    Just add the code, visit a page on your site, check your promotions to be sure they are there, and then you can remove the code from your functions.php file. Version 3.2.0 was when I updated the post_type for promotions. If you want to revert back, you will have to go back to 3.1.0.


Hi there,

First, congratulations for the plugin.
I’m writting down this email to let you know about an issue on the promotion pages regarding the Next / previous links to another promotion pages.

I created a set of promotions and assigned them to “category 1″ and another set assigned to “category 2″.

Though, from all promotion pages assigned to category 1, i can access to promotion assigned to category 2 using Next/previous links. The category parameter is not taken into account apparently… Any idea ?

Thanks in advance


hi Micah,
here i’m again… i saw nice changements in the new version! many compliments, now it’s quite possible to style the promotions slide in any way.

I was just wandering one thing, is it possibile to show the promotions content (i think it’s an excerpt?) with his own html?

i have html editor in promotions content, so it’s a pity not to be able to use it…


I just found out myself how to use formatted text in promotions content.

I just redefined a new function in my function.php template file (you could add it in directly in your plugin functions file) to get the content with formatting:

————————–
function get_the_content_with_formatting ($more_link_text = ‘(more…)’, $stripteaser = 0, $more_file = ”) {
$content = get_the_content($more_link_text, $stripteaser, $more_file);
$content = apply_filters(‘the_content’, $content);
$content = str_replace(‘]]>’, ‘]]>’, $content);
return $content;
}
—————–
credits for this functions:
http://www.web-templates.nu/2008/08/31/get_the_content-with-formatting/
—————–

then changed a little line in your index.php file in the plugin directory:

line 282
$excerpt = get_the_excerpt();

change it using the new function:
$excerpt = get_the_content_with_formatting();

now i have formatting =)

why not put a new option to make people choose if use formatting or not?


    This is why I created the ‘promoslider_content’ action hook. You can remove the excerpt from the slider with remove_action() and then add your own excerpt (or content) by adding your own action. No changing the plugin, no worries about overwriting your changes when upgrading! :)


Hi Micah,
I added your plugin, and I set the images to featured images but I’m still getting a gray box, but when I preview the promotion I see only one picture sliding. I was playing with it, so the images aren’t to scale but this is what I keep getting: http://i52.photobucket.com/albums/g10/lp_fm_fan/previewpromotion.png

and as you can see it also shows TweetShare from another plugin I have. Any clue what’s going on and how I can get the images to show on the front page without preview?

Any help would be appreciated, thanks!

Ana


    Ana,

    It sounds like you might not have the wp_footer() hook in your theme’s footer.php file. If that is not there, you will only see the first featured image in the slider and there will be no navigation available. If this isn’t the issue, a link to the actual slider itself would be helpful.


Hi Micah, tks a lot for this great plugin :)

I created a couple of promotions and categorized them. It’s working well for the slider. For eg : http://www.loiclemerrer.com/promotion-categories/infographie : only “infographie” promotions are displayed while in http://www.loiclemerrer.com/promotion-categories/maitrise-doeuvre only “maitrise d’oeuvre promotions are displayed.

However, on the promotion pages the pagination (next/previous posts) are not categorized. => from a post categorized in Infographie, i can linked to a post categorized in Maitrise d’oeuvre… How to fix that ? Any idea ?

Thanks in advance


    Sorry, I am not entirely clear on what you are asking here. If you added a slider on the category pages, you would still have to specify which category to pull from in the shortcode. Typically the category page would just list out the promotions (title, excerpt) that are in a given category.


      Ok, i gonna try to be clearer. I don’t have any issue with the slider itself. My issue is related to the pagination between each promotion post.
      For instance, the post “hotel scrib” is well categorized in “Maitrise d’oeuvre”. The next/previous post links (projet précédent/suivant in french) should linked to post categorized in “Maitrise d’oeuvre” ONLY but it’s not the case :(
      test it in http://www.loiclemerrer.com/promotion/hotel-scribe and click on “Projet suivant”


Hi,

I’m testing out the new version of the plugin – some very nice improvements. The one thing I can’t seem to get working is a lightbox effect. I’m trying to link some of the promotions to .jpg and I’m using the shadowbox JS plugin in hopes that once someone clicks on a specific promotion that will trigger a shadow boxed .jpg to appear. Do you know if this is possible? Seems like some of the Javascript is clashing with that plugin – but I’m not a coder so I could be totally off.

Example:

http://rhinomarketinggroup.com/web-design/


    Most of the lightbox plugins only work when you link directly to the image itself. You will probably have to change the links in the slider using the built-in hooks to get it working the way you want.


I hope you don’t mind if I keep suggesting improvements… why don’t you add a filter for categories in admin panel?


Just a word of thank you for this fantastic plug-in.


hi Micah,
as usual I found out a solution for adding the filter categories.

I’ve added this functions in my template and it works, I don’t know if this can be useful for your develop, but I paste it anyway.

I repeat, adding this functions in my function.php template file actually ads a category dropdown filter in promotions page


add_action('restrict_manage_posts','my_restrict_manage_posts');

function my_restrict_manage_posts() {
global $typenow;

if ($typenow=='promotion'){
$args = array(
'show_option_all' => "Show All Categories",
'taxonomy' => 'promotion-categories',
'name' => 'promotion-categories'

);
wp_dropdown_categories($args);
}
}
add_action( 'request', 'my_request' );

function my_request($request) {
$current_url = substr( $GLOBALS['PHP_SELF'], -18);
print_r ( $current_url );
if (is_admin() && $current_url == '/wp-admin/edit.php' && isset($request['post_type']) && $request['post_type']=='promotion') {
$request['term'] = get_term($request['promotions-categories'],'promotions-categories')->name;
// echo 'entré';
}
return $request;
}

This is where I found this code:
http://wordpress.org/support/topic/show-categories-filter-on-custom-post-type-list

=)


A little amend on the code I pasted above, it was dirty. Just cleaned up the last function (my_request) and now it works properly:


function my_request($request) {
if (is_admin() && isset($request['post_type']) && $request['post_type']=='promotion') {
$request['term'] = get_term($request['promotion-categories'],'promotion-categories')->name;
}
return $request;
}


Another addon: with this code (always placed in my template function.php file) I’ve added the Category Column in the Promotions admin page:

function create_columns($defaults) {
$defaults['promotions-categories'] = __('Categorie');
return $defaults;
}

add_filter('manage_edit-promotion_columns', 'create_columns');

function create_custom_column($column_name, $post_id) {
global $post;
if( $column_name == 'promotions-categories' ) {
$dest = get_the_term_list( $post->ID, 'promotion-categories', '', ', ', '' );
if ( empty( $dest ) ) {
$dest = 'No category';
}
echo $dest;
}
}

add_action('manage_posts_custom_column', 'create_custom_column', 10, 2);

I just don’t know how to position the column before the author column… but it works solid rock!


Micah,

Very nice plugin. I really like that it is essentially manual & so we’re not at the mercy of the Loop to wrangle what is displayed and what isn’t.

Next up: a video version! Yes?

Many thanks,
Joe


I’ve just realized another possibile enhancement.

the slideshow should pause on panel hover.. i’ll try to do it..


    Thanks for all the suggestions! The category filter and column for the promotions is a great idea. I am sure you will see this in a later version. :)

    With Christmas around the corner I probably won’t have much time, but I hope to update the slider soon.


      i’m just suggesting things when i face them… but you’ve already made a great plugin!

      i’m already trying to use this carousel jquery plugin into your promotions (http://bxslider.com/). I’ve used it already and it’s really nice, especially for all the init settings.. i’ll let you know ;)

      merry xmas for now :)


Hi Micah, great plugin!
How do I change the background of the slider to white.
if some images are 1 px smaller I get this grey color from the background.


    The grey background image is assigned to the panels. You can remove the background by adding this line to your theme’s css file:

    .promo_slider div.panel {background:none;}

    To make the background white, you can add this line to your css file:

    .promo_slider {background:white;}


    you can even copy all styles present in the plugin css and put it in your theme style.css

    then in your functions.php theme file just add this lines:


    add_action( 'wp_print_styles', 'my_deregister_styles_promotions', 100 );

    function my_deregister_styles_promotions() {
    wp_deregister_style( 'promoslider_main' );
    }

    Theese lines just de-register the plugin css and you can customize the css you’ve copied in your theme style.

    like that you can upgrade the plugin to further versions without having to rewrite again your css rules.
    :)


HI Micah,

Great Plugin! Thanks! Just a couple of thoughts for the future. A Video version would be great as mentioned earlier. Also being able to locate the thumbnail navigation to either side would be great (unless i have missed a trick on how to do this?)

Matt


    I like the idea of the video slider, but am curious as to how you would like that to work. What is your preferred method for attaching videos? How do you want the slider to operate with video? Would the video auto play? Would the slider stop once a video plays or should the slider continue once the video ends? Any input would be nice. I can’t guarantee I will get around to this soon, but would like to get some ideas.

    As far as moving the thumbnail navigation, you can locate it to either side. You will need to be somewhat knowledgeable of CSS, but this shouldn’t be too difficult.


hey
can I somehow add a different transition effect to the slider? I like the pics to slide from left to right instead of the fading effect… (would be cool to have some effect settings in the backend, though)
thx & happy new year!


    Currently, you would have to alter the plugin to include your own transition effects. I intend to add some more transition effects in the next major release. This is the most important improvement I can make at this point. So, if you can wait… I definitely will be working on this.


Hi, My slider just stopped working after updating wordpress to 3.0.4


Hello,
Great plugin! I’ve made one modification: renamed the whole thing to Events instead of Promotions. Now I am wondering, how can I change the page template it uses for the posts? The theme I use has many page layout options, and right now it is using one with a sidebar, but I would like to change it to the one that is fullwidth, no sidebar.

the link to a test post is: http://djcholito.com/en/events/test/

Please let me know if you can help or if you need more information. Thank you!


    The way WordPress’s template hierarchy works, you can create a custom template file for a specific post type. For example, the promotion slider uses the custom post type ps_promotion by default. You can copy your theme’s full width page (if it exists) and save it with the name single-ps_promotion.php. You would just need to do this with whatever you changed to post type to.


      Yes, I have a fullwidth template (fullwidth.php). You say copy it and rename, so I would rename fullwidth.php to single-es_promotion.php (changed it to es in the files) . Would I need to edit any files or move the copy to a specific place, like in the plugin’s folder?


Ignore this, i got it to work, thanks! But now I’m wondering one thing, why does the plugin create this blank page http://djcholito.com/en/events/ (it says events and not promotions because I modified the plugin as I said before)? How can I change this, because I would like to use this page to display all the posts created by the promtions/events?


I am wondering if the gray background can be removed and the images in the posts be centered so that i can have the same hight but different widths of advert?


    You can remove the gray background from the panels by adding this to your css:

    div.panel {background:none;}

    You can center the images in the slider by adding this to your css:

    div.promo_slider div.promo_slider_background_image img {margin-left:auto; margin-right:auto;}


Hey there thanks for all the updates.

Wondering, will there be a new release soon that when the plug-in updates it does not erase all the promos? I had this problem on two sites and had to manually redo them all because the shortcode for the functions.php didn’t work. I am waiting to update a their one that has more work involved and don’t want to loose it but need to switch it to the new ordered slide list that doesn’t appear on the previous version soon. Any timeline on this fix? Thanks


    I just pushed out release version 3.2.3 for you. This version fixes the issue with the ‘disappearing’ promos. Anyone who has had the promotions disappear because of the changeover of the custom post type will see their old promotions reappear. Some people will need to remove the older ones if you have recreated them.


      I just tried upgrading automatically to 3.2.3 from 3.2.2 but it failed as it could not remove the old version. I went to your website to download the plugin but that is showing 3.2.1 as the download! Luckily I tried this on a trest site before going to the live site to update. Where is 3.2.3?


Well done on a great plugin, will be eagerly following your upgrades


Thanks for the great plug, it is the best slider I have come across so far. I was wondering… currently I have the slider in my header and would like to have the first image change based upon what page is selected, ie. home page the first image is a home graphic and then goes to the list of promotions, about page the first image is an about graphic and then goes to a list of promotions.

Is this possible with this plugin? I tried plugging a PHP custom field query code into the ad code box with no luck.. Any suggestions… ?

Many Thanks,


    Currently, the plugin only allows starting the slider on a random slide or the first slide. What you want is doable, but would require custom alterations.

    You can use the built-in hooks to customize the query for the slider. You may want to check out the ‘promoslider_query’ and ‘promoslider_query_by_id’ hooks. You can read more about these in the documentation.


this is a great plug in!

it seems to be working pretty well on my test page, but after running through the promotions, after a while, one of the slides will turn semi white and then the buttons, arrows and promotions all act a little funny. like the 2 titles will appear on a slide, or it will skip over a slide. trying to figure out if it is an image i am using, or what. any ideas?


Awesome plugin Micah.. I have been looking for something like this for weeks. Thanks alot!

I do have a few questions..

In the screenshots provided, It shows that you can have a slider that has half image and half solid background with text on it.

I have read around the FAQ and still can’t quite figure out how to do this.. How would I do this?

Also, would it be possible to make the half solid background part transparent?

Any help would be much appreciated.

Again, thanks for the great plugin.. I will be sure to leave a donation.

Steve


Nice job on this plugin, works great!

It took me a while to discover (by reading every comment!) that a new promotion and featured image must be made for each image that is to appear in the slider.


Hello!

Is there any way to slow down the slide moment, when the images swap?
Not the delay-time between.
Do you know what i mean?

/Magnus


    There is. Unfortunately I haven’t really built in an option for that into the settings. You would have to make the change the jQuery file in the plugin. I am using the default .fadeIn() and .fadeOut() options. You would simply need to specify a time setting as a parameter.


Micah,

This plugin has been fantastic. I was wondering how I could lengthen the duration of the transition between promo slides…

Thanks!


    There is an options panel in the WordPress admin. When you click on ‘Promotions’, the settings page is in the sub-menu.


      I’m aware of the slider options and the ‘set slider time delay’ dropdown… But I don’t need to adjust the duration of each slide. I’d like to be able to make the fade effect last a little longer than the default quick transition.


        Unfortunately I haven’t really built in an option for that into the settings. You would have to make the change the jQuery file in the plugin. I am using the default .fadeIn() and .fadeOut() options. You would simply need to specify a time setting as a parameter.


great plugin, thanks.

which version works with wp 2.8?


Hi.
In WordPress 3.0.4
When I try to activate this plugin I get this error:

Fatal error: Call to undefined function post_type_exists() in /home/agotntpw/public_html/wp-content/plugins/promotion-slider/includes/post_type.php on line 17

What could be the reason?


Just one question and it has been stumping me for 2 days now: I have installed and uninstalled 4 jQuery-based multi-leveled pulldown menus immediately above the Promotion Slider and all of the pull down (second level) menus are blocked by the Promotion Slider or the Promotion Slider is rendered invisible! Has anyone had this problem and/or a solution? This sucks! I love the Promotion Slider but if it doesn’t work with a jQuery pulldown menu I can’t use it! I have tried z-indexing both the menu and the Promo Slider. Any suggestions? Thanks in advance for any help! -c-


    Every time this has happened to me, z-index has fixed the problem. Without taking a look at the site, I couldn’t really offer much help.


      Thanks for your response Micah. I found a solution. I used the css-only pulldown menu function from TwentyTen and all my problems went away. When I tried using javascript menus there was always some unusable outcome. I think that this may have been from using multiple libraries of jQuery and confusing the browser. Thanks anyway though! -c-


Hey! I love this plugin. I was wondering if you knew a way that I could remove the padding between the menu bar and the top of the promotion slider. I want the slider to be flush against the menu bar and margins (which was my second question).

Thanks!

Ryan


    The only space added around the slider by the default css is 10px of margin on the top and bottom. You can remove it by adding this to your theme’s style.css file:
    div.promo_slider_wrapper {margin:0;}


HI Micah,
I wanted to find out if I could use a custom post template for the promotions instead of my single post template


    You can. WordPress allows you to create a template for any post type by adding a file to your theme folder named single-posttype.php. So, to add a custom post template for promotions, just create a file named single-ps_promotion.php.


Sir what is id attribute and where should i define when i add new promotion.

regards
navneet


    The ‘id’ attribute is the id for the HTML element which contains the slider. You don’t have to set the id, but you can use it to specifically target a slider instance for custom styling if you wish. You can set the id using the shortcode, like this: [promoslider id="homepage_slider"]


hi,

I’ve been looking for help on the slider – I can’t get the slider to slide?

can you provide any ideas?

thanks
Steve


    Most likely, your WordPress theme doesn’t have the wp_head() hook in the footer like it should or you haven’t added more than one promotion. If you check both of these and they are not the issue, let me know and we will figure it out.


Is there a way to make it display the full post on the slider instead of the excerpt. I have changed the css so it displays besides the image but would like it to display the whole post.

Great plugin though, I have shared it with a few others as well and they plan to use it as well if we can get it to do this.

Thanks,

oso


    You can most definitely get the full content to display.

    Just disable the display of the excerpt in the settings and add the following code to your active theme’s functions.php file:

    add_action('promoslider_content', 'promoslider_display_content');
    function promoslider_display_content( $values ) {
    global $post; extract($values); ?>

    <?php the_content(); ?>

    >?php
    }

    Be aware also that you are now styling the .promo_slider_content class rather than the .promo_slider_excerpt class.

    Let me know if you run into any troubles!


Hey Micah,

First off, great plugin, makes life so much easier, really appreciate your work. There is one problem I am having though: whenever I promotion is inserted into one of my pages, users and I, can no longer comment. The comment box is there, but when one does try to comment, we are faced with an error page that states the following: “Sorry, comments are closed for this item.” You can observe that on this page: http://djcholito.com/en/comment-test-with-promo-slider/ . Now if we take the promoslider out, everything works as you can see on this page: http://djcholito.com/en/comment-test/ . Please let me know what I should do and if you need access to my site I can give it to you too, just let me know. Thank you so much!


    Hmm… very interesting. There seems to be a conflict between the promotion slider jquery file and comment-reply.js. I can’t put my finger on exactly what the issue is, but if you or anyone else out there has any ideas, please let me know! Meanwhile, I will be trying to figure it out…


Hi Michah,
Is it possible to put use this slider as a header image? I’d like to recreate my site on wordpress and need to find a suitable replacement for our present roating image feature. Great plugin!


Hi Micah!

This slider seems to be the perfect thing for my wordpress blog/magazine. I am quite a novice when it comes to coding and I have tried to follow each one of your steps but I have had not had quite the success I am looking for.

Per your instructions, I downloaded the widget, and added the code into HTML text sidebar widget: [promoslider id="sidebar_slider" category="sidebar" height="300px" width="226"]

(The primary image that i want to use is 300px x 226px)

Then I added a promotion, per your instructions (with a title, a primary image and a small amount of text)

Then, I went to the permalink page as you stated. I didn’t do anything I just visited, as you stated.

So know that I have followed your instructions, all I get is a big grey box. HELP!

Thank you a thousand times for your help!


    When you added the image to your promotion did you use the ‘Set as Featured Image’ link or the ‘Insert into Post’ link? If you didn’t use the ‘Set as Featured Image’ link, the image won’t appear in the slider.


Hi Micah,

Thanks for a great plugin.
Do you have idea what might be a reason for slow and clunky transition between slides in Internet Explorer on this website:
http://www.bes.com.au/

Thank you.


Hi,

I like your plugin a lot, but I came up with a problem. I would like the featured image to be forced as the thumbnail version of an uploaded image. There’s a big chance my customer will mess up the slider otherwise. Any suggestions on what to do?

Regards // Lina


    I am not exactly clear on what you are wanting to do. Are you trying to have all the images used in the slider set to a specific size?


      Yes.
      When you’re uploading a picture in wordpress, the system creates four new versions of the image with sizes you’ve chosen in the media settings.
      I have a specific size for the thumbnails-version that I would like to use as the feautred image in the slider.
      When I upload a new picture to set my feautred image, it dosen’t matter which version I choose, it still uses the orginal (http://i105.photobucket.com/albums/m201/Linosa/slider_print.jpg).
      How can I change that?


        Currently, there is no way to change that without hacking the plugin. I will incorporate a filter in the next release so you can control which image size is used.


          Hi Micah,

          I wanted to ask you about this same thing – I put two images in, but they keep using the original image size and are not using them small enough to be appropriate.

          See here – http://youandimprovedcoaching.com/learn/why-work-with-us/ui-raves-case-studies/

          If I resize the images in Photoshop to fit your slider appropriately to fix that, what size/orientation do they need to be so they will show up in the slider properly?

          Also, I see some people in this thread doing some amazing things with your plug in. Any resources where I can read more on how to maximize it’s capabilities maybe better?

          I’m not a developer, but I have some former design experience & can get around if I have instructions to read.

          Thanks for making a great plug in!


          On your site, you will need the images to be 520px wide and 235px high. 235 px high is the default and the width should auto adjust to fit the space by default.

          I plan to make some improvements to the plugin and release several tutorials / advanced guides for users who want to get more out of the plugin.


          Same problem I am having, I am using 600x200px wide images, but the thumbs need to be the “thumb” version, it’s just putting the large image as the thumb source. Would be nice to choose which image is used for thumbnail navigation.


          I have already fixed this in the upcoming release. I should have the next minor release of the plugin available in a few days.


Great plugin and I can’t wait to implement it into my website, but I’m having a problem.

I want the slider to function with categories, so I can use multiple promos. I got the featured image to work so it appears in the preview and appears on my website, but I can’t get the slider to automatically or manually advance. When I click on the arrows nothing happens and it doesn’t advance after the time is up.

Please help…www.mattschramer.com. Thanks.


    Apparently prototype.js is throwing an error on line 709. This error is preventing the other javascript from running on the page, and thus the slider doesn’t do anything. There is no reason for prototype.js to be loading as it is a javascript library and WordPress uses jquery by default. If there is a plugin that is causing this to load, I would disable it. The first place to start would be to deactivate all your plugins except the promotion slider and see if the issue persists. If it doesn’t, reactivate your plugins one at a time until the slider stops working. This is the easiest way to find the culprit.


Hi

My name is Fede. I’m trying to use your great plugin in the homepage of my blog but I have sono problems ….. I cannot see the images.
I’m using In WordPress 3.0.5
1- I downloaded your plugin from wordpress.org and then from your site
2- I use “Set as Featured Image link” on the right side of the panel
3- I use in the index.php page
4-In the preview I see images (http://www.fedegrafia.com/gigs/?ps_promotion=concerto-rumatera) in the homepage no (http://www.fedegrafia.com/gigs/) … I see only the grey box.

Thanks in advance if you can help me

Fede


    It looks like you added the image into the content area. Even if you use the ‘Set as Featured Image’ link, you still have to click on the ‘Use as Featured Image’ link instead of the ‘Insert into Post’ button when adding the image.

    If you see an image in the ‘Set as Featured Image’ box, you have done it correctly. If you see the image in the content area, it will not show in the slider.


Thank you so much!! now it works perfectly!


Hi Micah,
nice improvements on new version.
especially how you organized all files, now it’s really easier to work on the code.

Last time i’ve posted here i was suggesting a stop-and-go on animation on mouseover.

I’ve made my way to achieve this, so i put here my simple code.

Just add the following lines after the “begin auto avancement of slides” line in the promo_slider.js:

// stop auto advancement on mousehover
jQuery('.promo_slider').hover(function(){
clearInterval(sliderInterval);
},
// re-start auto advancement on mouseout
function(){
if(autoAdvance) sliderInterval = setInterval(function(){progress('forward', currentSlider, panelCount);}, (timeDelay * 1000));
}
);


    Thanks for sharing! I can see a few things that would need updating, but it always great to have a starting point!


      You’re right,
      i’ve made it too quickly.
      this is a revisited version that works much better.

      Now:
      - on mouseover the slide remains still
      - on mouseout 1) progress on the next slide and re-set interval as was on settings.

      // stop auto advancement on mousehover
      jQuery(‘.promo_slider’).hover(function(){
      clearInterval(sliderInterval);
      }).mouseout(function(){ // re-start auto advancement on mouseout
      progress(‘forward’, currentSlider, panelCount);
      if(autoAdvance) sliderInterval = setInterval(function(){progress(‘forward’, currentSlider, panelCount);}, (timeDelay * 1000));
      });


I’m confused as to what the point of the categories are…


    The categories allow you to organize your promotions. Since you can the shortcode to display only promotions from a specific category, you can use your imagination there.

    For example, if you want to have seasonal specials, you can setup a category for each month of the year. Then, you can simply change the category that is pulled each month to display the appropriate deals. If you wanted to automate the monthly rotation, you could use one of the built-in filters to change the category automatically.


Hello Micah,
Love the possible features and excited to get this working. I have followed all directions, tried numerous times/ways and still can’t seem to get the slider to activate.
Could there be a conflict with my theme?
any information would be appreciated.


    Are you inserting the slider shortcode inside of a content box that is specific to your theme? If so, the slider isn’t pulling because your theme isn’t checking for shortcodes in that content. In such a case, you would 1) have to code the slider directly into your theme, 2) check that content area for shortcode by editing your theme’s functions, 3) place the slider on a page that doesn’t use the theme’s content boxes, or 4) use another theme.


Hi Micah,

Congratulations on creating an excellent plugin! It integrates seamlessly with the themes I’ve tried it on.

One quick question: is there any way to include HTML in the excerpt displayed for the promotions? I’ve tried to include it using the WYSIWYG editor on the ‘Add Promotion’ screen, but it seems to get stripped out when the promo is displayed.

Thanks again


    By default, WordPress strips out any HTML from the excerpt. You would actually have to alter how WordPress handles the excerpt to change this. If you want everything that you put in the content area to show in the slider, HTML and all, just use the_content() instead. If you want to limit how much appears, you could either alter the WordPress handling of the excerpt or write your own function for shortening the content.


it’s not you, it’s me.

i figured it out.

i think it is good luck for me to ask for help..i solve the problem shortly thereafter.

:)


Hi,

Does this plugin require PHP5?

I am having trouble activating it under a PHP4 environment.

This is the error messages:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /localhost/a/wp-content/plugins/promotion-slider/includes/post_type.php on line 7


Greetings Micah, congratulations on a fantastic plugin and thanks in advance for all of your exceptional work.

I have one problem, the promotions wont auto advance. I have hard coded into the template using PHP and tried both the shortcode options “auto-advance=true” and tried enabling auto advance in the slider options panel. Still no luck.

http://www.greencityforce.org

Any ideas ?

Thanks !
James


    Chances are that your theme doesn’t have wp_footer() in the footer.php file. Without this, the javascript that makes the slider progress isn’t being loaded.


Wonderfull job Micah,
maybe you answered earlier.. I didn’t find..
Is it possible to “call” existing categories and not the ones made as “promotions”?
I have just blank slides if I call non-promotions categories.


    The default action is to use slides from the promotions post type if you specify a category. Example: [promoslider category="cat-1"]

    If you want to show categories from your regular posts, you will also have to specify the post type. Example: [promoslider post_type="post" category="cat-1"]

    While the slider does support pulling other post types as well, it does not support pulling of categories from post types other than posts or promotions. If a category does not exist (e.g. you type it incorrectly in the shortcode), the slider will simply ignore your category request and pull all the published posts. If a post type does not exist, the slider will ignore your post type request and show the promotions by default.

    Chances are, you may be correctly calling the non-promotion category, but have forgotten to upload featured images for the posts in that category.


I am having issues with the categories working as I expected. Everything works fine with the [promoslider] tag. If I use the [promoslider category="Home"] I see all the promotions not just the ones associated to that categories. Any ideas? I have the WordPress 3.0.1 and Version 3.2.3 of the promo slider. Thanks in advance.


    If a category doesn’t exist, the default action is to display all the promotions instead. Given the results that you are getting, I would say that you have either misspelled the category name (or slug) or the category really doesn’t exist. Do be careful that you are looking at the correct list of categories as well. Posts have categories and promotions have categories, which some people have occasionally confused.


I LOVE this plug-in…BUT, my featured images are way too big for the slider box. How do I get my pictures small enough to fit into the slider?


    Currently, you will have to upload images that fit the size of the slider that you are using. The next release, which should be out in the next week, will allow you to filter the image sizes.


Nice plugin but I just updated to WP3.1 and for some reason the pic just shows up as a grey area. Are you planning an update soon?


I’m having the same problem with 3.1 and promoslider. triple checked all settings but still no images.


    Send me a link to where your slider is and I will take a look. Did you upgrade from an older version of the Promotion Slider? Have you made sure your promotions still exist?


Can I change transition effect for images? I would like something more smooth, or fade.


    Right now the promotion slider only uses the fade in fade out transition. I will be releasing a new version of the slider shortly that makes some smaller improvements, then the next version I plan to incorporate more transition effects.


I have used the slider on my home page and it is working great. I have a couple questions: On your example page (the wine page) you have a photo on the left side and the default gray box on the left side. Then, you have a ripped piece of paper with a bright blue headline. How did you get that on there? What I have had to do is created an image in Powerpoint for each promo that I want to show. My image is the full width of the slide so that no gray box shows. Its just one giant picture. But I’m wondering if there is an easier way to get the “headline” in the slider box next to the picture as well as the darker gray bar across the bottom that says “click for more details…”?


    If you go to the ‘Slider Options’ page, under ‘Promotions’ in the admin menu, you can check to enable the ‘Promotion Title Display’ and ‘Display Fancy Title’. The title will then automatically appear using the ripped paper background. Any styling of the title beyond that will have to be done via CSS on your own.

    You can automatically enable the box on the bottom (like you included on your actual image) by checking the ‘Promotion Excerpt Display’ checkbox on the slider options page. To change the excerpt text, just put ‘Click for more details…’ in the content area of your promotion. If your promotions were linking to the default promotion page, this wouldn’t be ideal, but since you aren’t using the promotion page, putting the ‘Click for more details…’ text in there won’t hurt anything. The next version of the promotion slider will allow you to control the text that appears in the excerpt box, even if you are using the promotion page.

    In the sample that you were looking at, an image half the width of the slider was uploaded and the default background is the grey gradient that you see on the right.


Hi Micah,

Thanks for your excellent work on this plugin, it truly is one of the best out there.

I have an issue with the latest version of your plugin when using the shortcode php code:

The code it produces is as follows:

as opposed to

It’s okay for my sight at the moment as I’ve removed the dependence on using the id promoslider and used the class to style instead. However I was alarmed when the background (white) disappeared when I upgraded lol!

Just thought you should know!

Thanks once again for a fantastic plugin.

Seb


    Seb, sorry but your code was stripped from your comment. The best way to let me know about plugin issues is here.

    I am pretty sure I know what you are referring to though. The issue with the assignment of the id should be fixed with a bug release in a few hours.


Having same issues as Nathaniel mentioned w/ 3.3.0.

No auto/manual advance. Caused layout issues as well (sidebar dropping). Have made no other changes before the update.

I upgraded from the previous version and immediately noticed the differences.

I manually downloaded 3.2.3 from this page and replaced 3.3.0. Everything works like it was supposed to now (3.2.3).

Any ideas? (PS: I’m using Thematic with the Street child theme.)


    Shawn, I am working on fixing some of the issues that users have noticed as we speak. Are you using the id attribute in your shortcode (e.g. [promoslider id="sidebar"]) ? If so, there was a small issue with the way the id was being assigned in the new release. I will be uploading version 3.3.1 which will fix this and some other small bugs.

    Not sure why the auto/manual advance wouldn’t be working… it might be that a JavaScript error on the site could be hanging it up.


      Thanks for the info and the plugin. The sliders are using the id attribute. I’ll be looking for the update.

      I don’t know about the javascript/auto advance issues. I have not tested again yet, but hopefully the update will fix everything.


weird thing when i enter the short code in the html part of the post for some reason it duplicates the post. For example i have a video after I enter the short code the banner works but the video/post is duplicated

Also if I want the banner to be in the footer of all my post is there a way to do this with out having to enter the short code one by one in the post?

Ruben


    Strange thing about the post duplicating… I haven’t heard of anyone with that problem before. I would have to take a closer look at that one…

    You can easily add the banner in the footer.php file of your theme to display it on all the pages. Wherever you want the slider to appear in your theme, you just drop in this code (wrapped in php tags where appropriate):

    echo do_shortcode('[promoslider]');

    On a sidenote, because of the way the elements are laid out on your site, the promo_slider_wrapper div is invisibly covering everything on your homepage and causing all the elements to be unclickable. This is due to the promo_slider_wrapper’s relative positioning and all the floats you have assigned to the elements on the page. You will probably want to make some adjustments to your CSS.


      Ya it was weird even installed the plug and reinstalled but same duplication issue. So I just dropped this code in my footer.php

      and it works GREAT love this plugin. Micah you know what would be great possible in a update :) if it was able to track the number of clicks each ad gets ( fingers crossed )

      Thanks Again
      Ruben


Hola Miqueas. No soy experta en Word Press, de hecho el sitio lo diseñó un webmaster, medio me explicó y yo me encargo de subir la información. Por error desde el wp editor de thema seleccioné otro tema Twenti, no lo guardé, pero cuando regresé a la wp tienda, me perdío parte de la información,entre ella el slide promotion y no sé cómo activarlo nuevamente, aparentemente está instalado, pero no se visualiza. agradecería mucho sus comentarios. Por cierto me encanta su plugin.


Hello:

I am not expert in Word Express. of fact my site a webmaster designed it and way explained to me in order that I should raise all the information. For mistake I selected another thema in the publishing wp ” Thenty have1.1. I did not guard it, but when I returned to the Wp shop, it had deactivated the slide promotion. Seemingly, there it is, but I do not manage to do that is visualized again. I will be grateful very much for his comments. Thank you


    Claudia, you can put the shortcode [promoslider] anywhere in a post or page. If the slider dissappeared when you switched themes, it should reappear when you switch back. Outside of this, I may need some more detail in order to help.


      Hola Miqueas.

      Envié su recomendación al creador de la página y no hizo nada. lo que usted me recomendaba era insertar el código corto. Sin embargo, no se a dónde se hace.

      En esta página que es el editor tengo esto, no se si hay que borrarlo y copiar el código corto?
      La verdad no sé a donde pegarlo para que se visualice el slide
      Agradezco mucho su ayuda.

      Editando promotion-slider/index.php (Activo)
      Seleccione el plugin para editar:

      Archivos de plugin
      promotion-slider/index.php
      promotion-slider/includes/options_page.php
      promotion-slider/includes/help.promotions.php
      promotion-slider/includes/meta_box.php
      promotion-slider/includes/functions.php
      promotion-slider/includes/help.slider_options.php
      promotion-slider/includes/help.categories.php
      promotion-slider/includes/help.add_new_promotion.php
      promotion-slider/js/promo_slider.js
      promotion-slider/classes/post_type.php
      promotion-slider/classes/register_tax.php
      promotion-slider/classes/legacy.php
      promotion-slider/readme.txt
      promotion-slider/css/admin.css
      promotion-slider/css/slide.css
      promotion-slider/license.txt


        Claudia, you want to edit your theme’s index.php file, not the plugin index.php file.


          El problema que yo tengo es que no se visualiza el promoslide. En el editor me aparece activo con todos los archivos, pero no se logra visualizar el slide de imágenes.

          Anteriormente, usted me recomendó que insertara en código corto, pero no sé a dónde se hace, no tengo conocimientos sólo soy una aprendiz traviesa.

          Lo que me pasó fue que por probar otro thema cuando regresé el slide de imágenes ya no se visualizaba y no se cómo hacerlo funcionar.
          El archivo que le envíe son los códigos que me aparecen en el editor del plugin, pero no se qué le falta o lo tengo que borrar para insertar en código corto.
          Agradezco mucho su ayuda y paciencia.
          Gracias


I definitely like this plugin!

But how do you get it to work so it shows certain promos at one page and other promos at another page?

I made a promo-category called “books” with id=394 and added 3 books to this category.I adjusted the number of posts to 3.The page id=406

I made another promo-category called “videos” with id=387 and added 7 videos.The page id=399

Still they are mixed together. The promoslider shows post from video and from books?

I really don’t know much about WP or scripting, so I any of you could explain it would be well appreciated.

Thanks in advance


    Just use categories to group your promotions. You can create a ‘books’ category and a ‘videos’ category, then use the following shortcodes on each respective page:

    [promoslider category="books"]
    [promoslider category="videos"]


      Oke thanks a lot.

      I knew it had to be simple :) .
      Instead of using the id just use category name.

      It is indeed a great plugin.

      Another question I would like to ask.
      Is it possible to see if people click on one of the promotions It gets listed? So you can keep statistics?

      Thanks for helping me out!


        I don’t intend to add the ability to track statistics, but you may want to look into OpenX. You can drop their ad zone code into the slider and it will track impressions, clicks and click through rate for you.


Awesome plugin! What code do I have to change for a wipe effect or horizontal slide effect instead of the default effect? Thanks for any help.


Hi Micah,
great plugin!!!
I’m using the posts and their featured images in the slideshows. I would like to disable the linking for certain posts like it is possible for individual promotions. can this be achieved using custom fields in the posts?
best regards, Joe


Thanks for the plugin!

I’m attempting to use the promotions slider to graphically ‘promote:)’ community events.

I’ve placed the promoslider category= code on the event calendar page.(above the calendar short-code btw)

Beautiful! All works well, for the reader, promotions show, slider works, looks great.

However, I no longer have access to the original events-calendar page. The promotions take it over and seem to bury the page. I can’t change or edit that page anymore. The only way to access it again is to trash the promotions.

What am I doing wrong? Am I misusing the slider? Am I attempting something the plugin wasn’t meant to do?

See Community/Community events

Respectfully,
Barb


Im using vers. 3.3.1.
It shows a gray box and no image at all?
What’s wrong?


    The gray box is the default background that is applied to panels. If you don’t properly assign an image to a promotion, you will often get a gray box. Please be aware that you must add an image as a featured image and NOT to the content area of a promotion. You will know that the featured image is set when you see the image appear in the featured image box. Version 3.3.1 has contextual help, so anytime you are on a page related to my plugin, you can click on the ‘Help’ link in the top right to get more details on how to properly setup / use the plugin.


Hey Micah,
Thanks for an awesome plugin. I had a quick question of centering the images in the slider. I tried using the tip you gave on Jan 6th, but it didn’t work for me. I am pasting this code at the bottom of my currently active CSS sheet. div.promo_slider div.promo_slider_background_image img {margin-left:auto; margin-right:auto;}

Thanks for the help!


    CSS can be a bit tricky sometimes. You could have some rules that conflict and if your images aren’t being assigned a specific width, that rule won’t work. It seems that images are centering on your site now, so I am assuming you have figured out the issue.


This is a great plug-in and looks like you put a fair amount of work into certain details, however a slider should slide also it does not slide or have any transition options. Am I doing something wrong? The images just switch abruptly.


    You aren’t doing anything wrong. Currently, we just have a fade in/fade out transition. I will be creating a new version with different transitions soon.


Have 3 questions:

I would like to add a border kind of like in the samples on the wordpress.org Promotions plugin page. How do I do this exaclty. Where do I go and what should I do. for example, want to insert a red solid border.

how do you align the slider to the center of the post.

I am seeing a gray bar on the right and bottom of the picture, how do I remove them.


    You add a border to the slider by adding this line to your theme’s css file: div.promo_slider { border:2px solid red; }
    You can center the slider by adding this line to your theme’s css file: div.promo_slider { width:980px; margin:inherit auto; }
    You are seeing the default grey background on the right and bottom because your image is too small or your slider is too big. Either upload a larger image (or ensure you are using the correct image size in the slider options) or decrease the size of the slider by using the shortcode attributes from our documentation.


thanks micah for the quick response, for question 3. if the size of my pictures are 600px (width) 398px (height). I did this in the html section of the wordpress post:

[promoslider height="398px" width="600px"]

Do I need to do anything else because I still see the gray bar on right side and bottom. Does this need to be added to the theme .css spreadsheet:

div.panel {background:none;}


can you please clarify regarding the shortcode atrributes pertaining to the problem that I am having.


Hi.

I have a problem.
Im adding the images from URL but it doesn´t show the option “use as featured images” it just shows “insert in to post”, so it doesn´t work

Why is this happening?
Please help me


    The Promotion Slider activates ‘Featured Images’ for all post types, but some plugins only activate it only for their post type… which messes up other plugins that use that functionality. You should disable all of your plugins (except the Promotion Slider) and check to see if the ‘Featured Image’ box appears on the promotions pages. Then, activate each plugin one at a time until you find the plugin that is causing the issue. It could potentially be your theme as well, so if it appears that it isn’t a plugin, just activate the default theme ‘TwentyTen’.


hi micah, i think you need to update the link for promotion slider to your site. i followed the link from inside my plug in panel and ended up here with a 404 error.

all best,

michael


Is there possibility to have one single static background picture, and just to change excperts and titles over it?
I took the same picture for all “featured” posts, but the picture blinks white with every change. Can I keep it static?


I love this plugin. Thanks so much for creating it.

Is there a way to display the excerpt only on hover just like the nav links?


Can I run multiple sliders on the same template page? I’d like to display several sliders which show different promotions based on the promotion category.

Thanks,

Max


    Absolutely! I designed this plugin specifically to allow multiple sliders on the same page.


      Hello, I can only get one slider working on the body of the page. The others do not appear at all. I want multiple sliders on the body – not in the sidebar. They should each display posts from a different category. Is this possible? Could you kindly post a demo of it, together with the use of shortcodes to achieve it? I’d really appreciate it.
      Many thanks
      Nick


Hi Mica,

great plugin! I have a question…
I’m using this plugin to show photo’s ans I am using the thumbnail navigation. I have a promotion with 22 photo’s. Now I only see the first 9 in the thumbnails and the other 13 I can’t see. Am I missing something or is it not possible to make them move from left to right and vice versa?

Kind Regards,
Jeroen Backx


    Sorry, right now the thumbnail navigation is stationary and limited to 9. I will be adding the scrolling feature later.


      Hello Micah!

      I like the plugin! It was hard to find a plugin that would function that good.
      Though I think I have the same problem with scrolling in the thumbnail navigation.
      Is there any date known that this feature wil be added?

      Thanks alot!

      Bart


        Sorry Bart, at this point I don’t have a date. I have been quite busy lately. I do intend to release a new version of the plugin soon and that feature is at the top of my list.


Very nice plugin!

I do have a question, do you have any plans on adding sliding to the thumbnail navigation as well?

I.E:
If you have the thumbnail navigation on, and have many thumbnails so that some thumbnails go into the overflow, then everything still slides in the main area, but the the thumbnails don’t slide to become visible once their selected.

Thanks,

- Steve


    Steve, I do intend on adding sliding to the thumbnail navigation. I hope to be adding this before long.


      Hi, any update on this? As a workaround I sized the thumbs down to 15x15px but if I have more and more images, this workaround does not help any more.
      thanks & regards, Katharina


        Katharina,

        I am actually rebuilding the Promotion Slider from the ground up in order to build in more flexibility and extensibility. My refactoring will fix the issue you have with thumbnails, but for now, I am afraid we will have to make do. Sorry!

        You can always show a second row of images, but I realize that this isn’t ideal.


Hey Micah!

Love the plugin! I’m having troubles with an install not working when pointing to external links. I know that this is possible as I have it on other sites working… could you please advise me? All of my links are being pointed to the promotions page instead of the external website that we’re promoting.

Thanks!
Matt


I just used your promoslider pugin in the following page http://www.arachnowebagency.it/siti-web/ but the tumbnails does not move using the arrows (there are 6 thumbnails in that navigation but the sliding effect does not work)
We just changed the thumbnail img width and height in the css… any idea of what could be the problem?
thanks in advance,
Franco


I love this slider best so far…Everything is working fine..But on my main page the slider shows fine, but the featured images show up above my blog…everyhing looks fine when i navigate to other pages..

How do i keep the featured images from showing up like a blog post?

thank u so much..if i can get this fix I will donate..it’s worth it, thanks again


Hi Micah, great plugin! My question is does this slider have the ability to pull in a promotion and a post within the same slider? I’d like to have the promotions plus the latest blog post. Thanks!


    Gina, it is possible to display blog posts and promotions or any other custom combination of content. However, it will require a little bit of programming knowledge to write the code to do it. The ‘promoslider_custom_query_results’ hook would be the way you would customize this.


Hi Micah-

Adore this plugin! good work.

Is there a way I can make the fancy title display be a link? Throughout this site I would like to link the logo to the home page.

Standing by and again, thank you.


    By default, the fancy title display is a link. You can, however, easily add and edit the content that appears on the slides using the handy filters that I created. The ‘promoslider_content’ filter will allow you to insert your logo and link on every slide, which you can then style using css. Just click on ‘Read our Documentation’ from the promotion slider options page for more information.


Fantastic plugin – I love being able to use images and/or code in the same slideshow.

One question – will you be offering other transitions anytime soon? I’d really like side-to-side sliding.

Thanks!

Kermit Woodall


    I will be adding other transitions when I get a chance. I am pretty busy right now, but perhaps will be able to squeeze it in sometime soon.


Hi Micah,

When I try installing this plugin on the latest version of WordPress I get the following error and the plugin will not install.

Any ideas? Thanks. Richard

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /nfs/c07/h03/mnt/114590/domains/test2.adgc.com.au/html/wp-content/plugins/promotion-slider/index.php on line 41


    Which version of my plugin are you using? It appears that you are using an older version of PHP, which my plugin doesn’t support. I would highly recommend you speak with your hosting provider about upgrading PHP. My latest version of the plugin should be performing a check to see which version of PHP you are using and returning a friendly error message, which is why I ask which version of my plugin you are using.


I have been using the slider on my front page, but since I updated to the latest version of WP a few days ago it’s not been working properly. The slider shows up along with all of the navigation thumbnails but the slides don’t change, even when you click on different thumbs. :(


Hi I am having trouble with my promo slider and hoping you could please help me out. I have embed my slider in my post with this code [promoslider category="laura_Satana_Tattoo's" width="600px" height="400px"] as I only want the images from Laura Satana Tattoo’s Category (a category I created with in promoslider) to show up in this slider but all the imges I have uploaded into the promo slider are showing not just the one asigned to this category. Please help

Regards,
Renee


    Renee, if the category you provide in the shortcode doesn’t exist, then the slider will display all the promotions. What is probably happening is that you have misspelled the category name. You will probably want to copy and paste the category slug into the shortcode to make sure you haven’t made a mistake.


When I use Promotion Slider locally everything works well. When I upload the files to my hosting site the featured images do not load.
This is what outputs locally for a promotion:

Fusion

This is the same promotion on the hosting server:

Fusion

As you can see is not loading.

Any ideas?

Thanks,

Phil


    Phil, I think your code was removed automatically. Perhaps you could provide a link to where the slider isn’t working? Typically, I have found that if the images aren’t appearing and you are seeing a grey box, the issue is that the featured images aren’t set at all. Perhaps this data was lost in the transfer?


      Thank you for the quick reply Micah. Unfortunately I unable provide you with link to the site.
      I considered that maybe data was lost during the transfer. I removed the promotions server side and recreated them server side. I was able to upload the images and attach them to a promotion (the images would show in the Featured Image panel when completed).
      I have a blue box and not gray, because of my styling I assume. The panel navigation would cycle (1,2,3..) but the panel would remain blank. In looking at that code output and comparing it to what outputs locally I see that the class promo_slider_background_image does not load. I also noticed that I have two jQuery Library versions loaded (1.4.4 and 1.3.2) because of another plugin. Would this cause the problem?

      Thanks in advance,
      Phil


        Have you made any modifications to the plugin or used any of the hooks? The images are loaded using the hook ‘promoslider_content’, so if you have done anything with this hook it could cause the issue. Multiple instances of jQuery is not a good thing, so you will want to fix that to ensure proper functionality of the this plugin as well as others.


Ok I worked it out I was using the category name rather than the slug :) thanks


Hello Micah, How are you? All good I hope :)

A while back, I wanted to add 2 even 3 categories to the same slider and apparently I couldn’t get it to work.So I was wondering is it possible to add multiple categories to one slider?

I tried something like this category1=”books” category2=”videos” category3=”important-posts”, didn’t work, it only showed the first category.I fixed it though, by making a new category, where I added those I wanted to show. Is it possible to add multiple categories in one slider? If so can you tell me how?

Thanks a lot and I really love your plugin. Great job!

Grtz


    Right now you can’t assign multiple categories to a slider. However, you can assign multiple categories to a slider item. The way you did things is the best way to do it right now.


hi Micah,
I can’t activate the plugin, there is a parse error on line 46 , I find on forum a solution (change private to var) so there is another parse error on line 89 , so impossible to activate it
thank you for your help ! I ask my hosting provider for the php version to


Hi Micah! Great plugin! Works like a charm. One question tho, can i change the link behaviour different then the option i have? We use the plugin within an iframe, so when you click on a link it opens the page within the iframe. Can i change that? If possible i don’t want to use the _blank option;)

Thanks for a great plugin! Hope to hear from you!

Grtz!


    I will have to add the ability to use the other target attributes on the links. Thanks for the feedback!


      But there is no workaround for that at this moment?


        There is a workaround Mike. You will have to know PHP though. You would simply remove the action from the promoslider_content hook that displays the images or whatever you need to change. Then, just alter the code for the original function (found in the functions.php file in the plugin) to include the correct target attribute.


Hey,

I would like to have 2 categories side to side not 1 on top of the other… is it possible? I just can not accomplish it.

Thanks!

By the way… Great plugin!


Is it possible to have the image before the text – without using the except?


hi, i love you plugin is great, but there is something that’s not working…. i want to click the image and see the post, and it keeps taking me to page not found….. is there something else i need to do?…. i inserted in my theme…. but that’s the reason i stall this plugin, because you can click on the image and see the post…. can you help me?…


    Have you tried saving your permalinks on the ‘Permalinks’ page under ‘Settings’ in the WordPress admin menu? Sometimes doing this once or twice will fix the problem.


Hey, this plug-in looks like it could be really good and i want to use it but i can’t get my images to display in the slider.

http://www.doylestownfitnesscenter.com/cms/sample-2/

I added new promo pages and set the featured image to the ads I want and the images displays on their own promo page…

http://www.doylestownfitnesscenter.com/cms/promotion/1-free-workout/

but not in the slider. any ideas? thanks.


    Kevin, it would appear that you have inserted the image into the promotion page, but haven’t actually set the featured image. Here is a step-by-step:

    • First, click on the ‘Set Featured Image’ link in the Featured Image box.
    • You can either upload an image from your computer or use an image from your media library.
    • After uploading or selecting an image, click on the ‘Use as featured image’ link (not ‘Insert into Post’).
    • Once you have set the featured image, you should see the image appear within the Featured Image box.

      Hey Micah, great catch. I forgot you had to load images into media gallery to “set as featured image”. Anywho, did that and the slider is working perfectly!

      http://www.doylestownfitnesscenter.com

      It’s a great plugin. It never dawned on me to have a “Specials” or Promotion page for the site but is a great addition. Keep up the good work. Thanks!


Hi I have coded the promoslider in through homepage.php file as per bellow:

However the size will not change to what I have specified in the code please advise.

Thank you,
Renee


I cant paste the code here it disappears?


How can I change the permalink? It now says http://www.site.com/promotion/blah, how can I change that to e.g. a translation of promotion?


it’s ok I fixed it I was leaving out px ie. “300px” :)


Hi I managed to set up the promotions slider on my website and get the images to fit properly and all, but it’s come up with this grey line on the top… just wondering how it got there and how I should go about getting rid of it?


    Line 127 of style.css in your Sliding Door theme is adding top margin to all the images inside of posts. You will have to add a more specific rule to override this for the Promotion Slider. Add this line to the bottom of your style.css file:
    #content .post .promo_slider img { margin:0; }


It worked, thanks!


Hello Micah,

Thanks for a great plugin, I recently moved a friend’s wordpress site from one hosting company to another and in the process encountered some problems I seem to have fixed the issues. Except, the ability to edit or remove prior promotions. I removed the plug in and old promotions from the database through phpmyadmin then re installed the plugin. I read through all the comments above and see where you recommend adding code to the functions.php file to rename the post type from “promotion” to “ps_promotion”. The post type is currently set to “ps_promotion”. I pasted images of the admin and database preview here: ‘http://www.firsttimehomebuyersnetwork.com/promotion-slider’
Should I still try adding the code to the functions.php file?

Thanks in advance for your help.


    The most recent version of the plugin automatically runs the upgrade process to fix any promotions that may seem to have disappeared. Due to an error in previous versions, the promotions post type was changed to null instead of being set to ‘ps_promotion’. You may want to check and see if this is the issue and whether upgrading to the latest version fixes it.


Hello Micah,

thanks for the great plugin! I am currently creating a website for a client and using this plug in But i think after the recent upgrade of the Plug IN it no longer transitions to any promotions. there is only one promotion currently that shows and it does not change. Is there anything that I did wrong?

I have placed the slider in the template with the php do_shortcode snippet.


    You didn’t do anything wrong. The slider is setup so that it will only transition if there is more than one promotion.


      Micah,

      I actually have 4 slides under the category “featured-slider” there is no transitioning still. Is there something I need to do/change?

      Thanks for any help.


        You may want to try setting the option on the options page to load javascript in the header. There are one too many themes out there that don’t include the wp_footer() call, which prevents the loading of the script responsible for the transitions. Outside of this, I would probably have to take a look to see what is going on.


Hi!

I just want to have a slider with the ability to also have som text (like this one) and not be clickable, is it possible? I know there’re lots of other sliders that would fit but they’re messing up my theme so just wondering if this would work, since I don’t want to link to a specific page/post..

Thanks in advance


    Linda, you can manage the link settings for a particular slide from the promotion editing page. If you are looking to add some additional text to all of your slides, you will want to check out the ‘How can I enable the display of additional content in the slider?’ topic on the Promotion Slider FAQ page. If you want to have different text for each slider, perhaps enabling the display of the excerpt would do the trick?


Hi all, hi Micah!

i´m actually wondering, if it´s possible to show promotions from a specific (promotions) category as list, like an archive of promotions?

kind regards!
(and yes, english is not my native language, xD)


    It is possible, but not something that is built into the plugin. It sounds like you will want to take a look at the get_posts() function. Just pass ‘ps_promotions’ as the post type and it will give you a collection of promotions. Then you can go through a loop and display the permalinks for each promotion in a list.


I’d like to have a slider that displays the image with a list of thumbnails (as nav) on the right along with the excerpt for each. I’ve done the first part but have got in a bit of a pickle trying to get the excerpt asociated with each thumbnail.
Can you guide me on the change I need to make?


    A weekend in the sun has cleared the cobwebs and the solution has appeared:-) Apologies if you have been looking at this.


I’m pretty sure Promotion Slider is the ONLY wordpress slider in existence that is simple to install/use, is cross-browser compatible and isn’t full of bugs (like Nivo slider). I’d just like to say thanks for making this plug-in. You’ve made a lot of people happy!


Loving the plug-in.

You wrote above: “Currently, the plugin only allows starting the slider on a random slide or the first slide.”

How exactly does one set a slider to display slides in -random- order?

TIA,

—JC


    There is a setting in the options panel. Look for ‘Start on:’ and change from ‘First Slide’ (default) to ‘Random Slide’. You can also use the shortcode to define this, like so: [promoslider start_on="random"]


OK, so next (hopefully final) noob question…
What is the easiest way to specify a different order for the DIVs. For my design, I would prefer that the markup be organised as follows:
Title
Excerpt

Doable?

Thanks again,

—JC


Crap. The comments interprets pseudo-code as -code-.

I want the divs to be organised”
Title, followed by Excerpt followed by Featured Image. Doable?

—JC


OK. One -final- thing. :D For some reason, in the excerpt, there is usually a tag after the excerpt and before the ‘Continue Reading’ link. I would like to remove this.

This behaviour does not occur with regular posts or pages.

Is there something in Promo Slider that adds a . I realise that WP often puts various tags such as in places whether you want them or not, but I was hoping to keep the ‘Continue Reading’ on the same line as the except.

Thanks again!

—JC


    The promotion slider doesn’t do anything with the excerpt except print it out. WordPress uses the ‘excerpt_more’ filter to allow you to change the link that follows the excerpt, so I would try using this filter for the ‘ps_promotion’ post type.


Hi Micah,

I’ve used your plugin for many sites that I’ve built and it works perfectly… except (sorry), I recently upgraded to the latest version of WP and the images appear to stack one ontop of the other as supposed to within a container. Any ideas?

Thanks.


Hi, It’s a very cool plugin!!

I’m just having a hard time to find out why is no looping… I have 6 pics, it shows 5 and it does not loop to get the last one… Please, could you take a look?

http://www.icsaopaulo.com.br/?page_id=569

Thank you!!

Dennis


    It actually does loop through all six pictures, but the last thumbnail image is not shown because there isn’t enough width. If you click on the right arrow, it will loop through everything. I realize that this is an issue and am working on an overhaul of the thumbnail nav that will work with the new jQuery version in WordPress 3.2+


This slider is very helpful and easy to use! Great work.

A couple quick questions/requests regarding functionality:
Is there any way to change the sub-directory where promotions are published to? The word “promotions” doesn’t really work for our non-marketing oriented site; Would love to be able to change it to “info”.


    Dawn,
    There is a way to change the directory, but it will require changing the code in the plugin itself. The downside to such a change is that future upgrades to the plugin will overwrite your custom changes. However, this is a pretty simple change and could easily be made after upgrading later on. First, you will need to open up the index.php file found in the plugin directory. Next, find lines 76 and 84 in the code (in version 3.3.1). Both of these lines will read ‘slug’ => ‘promotion’, but one of these will be plural and the other singular. Change the words to whatever you want, just make sure you don’t change both slugs to match, since one is for individual promotions and the other is for promotion categories. Finally, just make sure to re-save your permalink settings in WordPress and you should see all your promotions displayed under the new URLs.


      Thank you so much for your reply! Will mull over the issues with upgrades, but it’s good to know how to do this!

      Thank you again for such an awesome plugin!


Hi Micah! This slider is very helpful and easy to use! Great work.

A couple quick questions/requests regarding functionality:

1. Is there any way to change the sub-directory where promotions are published to? The word “promotions” doesn’t really work for our non-sales oriented site; Would love to be able to change it to a more neutral phrase, such as “info”.

2. If I minimize my browser (firefox 5.0) for a while, when I return to the slider it seems to get stuck, flickering back and forth between whichever two slides happen to transition after I minimize the screen(i have a total of 5 in my slider). The issue happens intermittently, and I can’t seem to replicate it purposefully. Just wondering if this is a bug you were already aware of…

But again, a great plugin! Thank you!


    Dawn,

    Thanks for alerting me to the strange behavior in Firefox. I will take a look into it. You will see the answer to your first question in my previous comment.


Hi,
I am willing to pay $50. if you can set this up with nicer jQuery fades. Something like jQuery cycle (http://jquery.malsup.com/cycle/) or use the easing plugin? (http://gsgd.co.uk/sandbox/jquery/easing/)

Nicer transitions would make this amazing plugin nearly perfect.

Thanks for the good work on this.


    Chris,

    I appreciate the offer, but I am actually working on this right now and would hate to take your money for something I am going to do anyway (not that I don’t want or need it). I am rebuilding the promotion slider from the ground up and need some people willing to give it a test drive. Perhaps you would be interested? I am probably going to release a much more powerful paid version as well and any beta testers will get a free copy.


      Count me in Micah. This is, after much painful trial and error, the only slider I trust!
      Just returned from WordcampUK where I was happy to be singing your praises. It seems quite a few people were also frustrated by the lack of sliders that work and importantly supported.


      Just to jump in on this thread, I’d also be more than happy to be a beta tester for your new slider if you need more sets of eyes!



«