Forums

Link to another blog and show when last updated (2 posts)

  1. keviokevio
    Member
    Posted 1 year ago #

    I want to link to my other blog, and underneath the picture link I want to post when it was last updated, similar to a Blogroll except with a picture. How can I do this?

    I can't use a Blogroll because my "Links" are already being used.

    This is my website:

    http://www.kevinapproved.com/

    The other blog I want to link to is in the right menu, the button that says "Drawn to Scrawl Comics". So I pretty much just want a date underneath that button that updates automatically when it was last updated. A title would be nice too.

    THANKS!

  2. Rebecca Mastey
    Member
    Posted 1 year ago #

    Hi kevio,
    I hope I'm not misunderstanding you, since then I'd feel silly. :)

    If you're not using widgets
    You can use the wp_rss_widget_output function to pull info on another blog.

    $rss = "http://drawntoscrawl.tumblr.com/rss";
    $args = array("items" => "1", "show_author" => 0, "show_date" => 1, "show_summary" => 0);
    wp_widget_rss_output($rss, $args);

    If you are using widgets
    Add the RSS widget under the widget that contains the image. Enter your feed URL, set items to display to 1 and check off display item date.

Topic Closed

This topic has been closed to new replies.

About this Topic