Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter brandongiuffre

    (@brandongiuffre)

    Any body?

    Plugin Contributor slidervilla

    (@slidervilla)

    Nest version of Smooth Slider will have option to display publish date as well as post category. The update is expected to release in a week. Thanks for your patience.

    Thread Starter brandongiuffre

    (@brandongiuffre)

    Any idea when this will be released, haven’t seen any update. Thanks

    Thread Starter brandongiuffre

    (@brandongiuffre)

    I am wondering if this is gonna be released soon, If not could someone send me the code to alter current slider? Thank you.

    Thread Starter brandongiuffre

    (@brandongiuffre)

    I hate to be a pest, because I really like how this slider works, unfortunately I need to show the post date in the slides. As you can see its been more than a week, and I really need this to work. Thank you.

    Thread Starter brandongiuffre

    (@brandongiuffre)

    Take it no ther is not gonna be am update?

    Thread Starter brandongiuffre

    (@brandongiuffre)

    Why won’t anyone help on this subject? It’s been over a month since the post about an update to add this function.

    Thread Starter brandongiuffre

    (@brandongiuffre)

    I wish this person wouldn’t had lied to me about an update, and that they had some sort of support for this plugin, because it is a nice plugin, but without support or even corispondence it makes it worthless. I would even pay for the two minutes it would take for someone to help me add the date to the slides, using the widget. But I guess I should have spent the last 2 months looking for a different slider from a different company. Was even thinking of spending the $8 to get the roster slider, but don’t think I like the fact that there is no support. It’s a shame, looked like they could have had a good thing going here.

    Thread Starter brandongiuffre

    (@brandongiuffre)

    any body!?

    Thread Starter brandongiuffre

    (@brandongiuffre)

    nothing?!

    To add a date, you’ll need to edit this file:

    /wp-content/plugins/smooth-slider/slider_versions/smooth_1.php

    Find this section:

    foreach($posts as $post) {
    $post_id = $post->ID;

    Directly below it, add:

    $post_date = $post->post_date;

    Find this section:

    if($permalink!='') {
    $html .= '<h2 '.$smooth_slider_css['smooth_slider_h2'].'><a '.$smooth_slider_css['smooth_slider_h2_a'].' href="'.$permalink.'">'.$post_title.'</a></h2><span '.$smooth_slider_css['smooth_slider_span'].'> '.$slider_excerpt.'</span>

    Using HTML and the $post_date variable, add the date somewhere within that code. I added mine after the </h2> tag and before the <span> tag.

    There’s some similar code in the following ‘else’ statement. Consider adding your date there too.

    If you want to add the author, do a similar thing using $post->post_author.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Add date to smooth slider’ is closed to new replies.