Forums

[Plugin: Post-Ticker] Great little plugin, worked first time. (5 posts)

  1. momofoto
    Member
    Posted 1 year ago #

    Just the kind of plugin I like, does exactly what it says on the tin and worked first time. For those looking to make changes to the style of the ticker, I found a quick and dirty inline style works just fine. For my site I needed to change the title of the post in the ticker to white. I edited the plugin through wordpress and just added..

    style="color: white;

    to the ticker_content() function - fourth line from bottom in snippet below.

    Great work and thanks,

    Steve
    http://www.powershotsmag.com
    http://www.momofoto.co.uk

    function ticker_content(){
    $posts = ticker_get_posts(
    get_option('ticker_type'),
    get_option('ticker_category_filter'),
    get_option('ticker_num_posts'),
    get_option('ticker_user_specified_posts')
    );
    foreach ($posts as $post_id => $post){
    $title=$posts[$post_id]['post_title'];
    $excerpt=$posts[$post_id]['post_excerpt'];
    $link=$posts[$post_id]['url'];
    echo '<span style="color: white;"><b>'.$title.': </b></span>';
    echo '<span>'.$excerpt.'... </span>';
    }
    }

    http://wordpress.org/extend/plugins/post-ticker/

  2. bcbccouk
    Member
    Posted 1 year ago #

    Thanks for your kind comments, and suggestions to other users about how to style the ticker. I hope to add options to the admin interface to handle styling. Credit should really go to mioplanet.com for their free javascript library.

  3. bearded
    Member
    Posted 8 months ago #

    Hey momofoto, your Ticker is DEAD in Internet Explorer....
    Don't you think that we should search the solution for Post Ticker working in IE also, because this the major browser in this world.

  4. bcbccouk
    Member
    Posted 7 months ago #

    bearded, what version of IE are you claiming post-ticker doesn't work in. As far as Im aware it works with 6, 7 and 8. The one case Im aware of where it failed in IE was someone who had a third party IE plungin that messed with javascripts.

  5. jstutman
    Member
    Posted 6 months ago #

    When I followed the above directions, It only updates part of it as "white.

    See the test site here

    http://wasteofmybandwidth.com/test123/

    Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic