WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
Date before Title (4 posts)

  1. Matteo Legittimo
    Member
    Posted 2 years ago #

    Hi!
    How can i show the date before the title?
    Thanks a lot

    http://wordpress.org/extend/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 2 years ago #

    which date, before which title - a widget's title?

  3. Matteo Legittimo
    Member
    Posted 2 years ago #

    Hi,
    thanks to replay me!

    I would put - "Show post date", before "Make widget title link".

    thanks

  4. alanft
    Member
    Plugin Author

    Posted 2 years ago #

    I'm sorry, it's not clear to me what you are talking about. i googled both those terms and I found

    http://wordpress.org/extend/plugins/category-posts/screenshots/

    is that what you are talking about? If so, looking at the code of that widget it looks like you may be after a content_filter to alter the HTML it outputs. The PHP looks like it makes something like

    <li class="cat-post-item"><a class="post-title" …></a>…<p class="post-date">date_shown_here</p>…</li>

    if you can give me some real world examples I can suggest some PHP text manipulation that would move the post-date <p> in front of the post-title

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic