Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Peter Booker

    (@peterbooker)

    Hi InspiredGraphics,

    Currently there is no way to prevent it being output by the Widget/Shortcode. However there are still options.

    Using CSS
    You could hide it using CSS, as both the handle and date are part of the same div with the class .kmeta, so you could use something similar to this:

    .kebo-tweets .ktweet .kmeta {
        display: none;
    }

    Using PHP
    Alternatively, you could manually control the output, by collecting the Tweet data yourself and outputting it in the format/style you want, using something similar to this:

    // Fetch the Tweet data
    if ( false !== ( $tweets = kebo_twitter_get_tweets() ) ) {
    
        // Loop through each Tweet
        foreach ( $tweets as $tweet ) {
    
            echo $tweet->text;
    
            // Count a certain number of Tweets
            if ( ++$i == 5 ) break;
    
        }
    
    }

    I will also add this to the list of things we should add hooks to allow control over, so then you would be able to easily disable that particular part of the Tweet using a small piece of PHP. This will probably arrive in the next couple of weeks.

    If any of this did not make sense, or you have any more questions just let me know.

    Thread Starter InspiredGraphics

    (@inspiredgraphics)

    Hello,
    That worked well. thanks.
    However, I have one other question. It still shows my twitter name and how many minutes ago it was tweeted for each tweet. Is there a way to stop the “@myname and 7mins” from displaying for each tweet?

    Plugin Author Peter Booker

    (@peterbooker)

    Hi InspiredGraphics,

    Only by making the above CSS more specific, so that it successfully overwrites the current styles. You can try this:

    .kebo_twitter_feed_widget .kebo-tweets .ktweet .kmeta {
        display: none;
    }

    Let me know if that doesn’t work and if you let me know the site in question I can check it live then give you the CSS.

    Thread Starter InspiredGraphics

    (@inspiredgraphics)

    that did it. I hope you will be able to add the features to disable/enable those items. i think this is a great plugin. thanks again.

    Plugin Author Peter Booker

    (@peterbooker)

    I am glad it worked. I am hard at work on version 2 right now, which will include far more tools for users/designers and developers to control the output. I have added this to the issue list to make sure it gets addressed.

    Thanks for the support!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘date display / twitter name display’ is closed to new replies.