Forums

WooTumblog
echo Tumblog type for styling (7 posts)

  1. oh.amanda
    Member
    Posted 1 year ago #

    Is there a simple way to display the type of Tumblog that's being displayed? Like audio, article, link, quote...

    I'd like to do something like this:
    <div class="post <?php echo $TumblogType ?>"

    so I can style each post differently depending on the type.

  2. jeffikus
    Member
    Posted 1 year ago #

    i see what you mean, will add that to the feature request list. in the meantime, you would need to customize the plugin for this.

  3. oh.amanda
    Member
    Posted 1 year ago #

    Ok, thanks for responding.

    This would be super helpful, especially if you'd like us to start working the plugin into our themes. Right now there aren't really any styling options besides moving around the icon.

    It'd be fantastic if the tumblog type was included in
    <?php post_class() ?>
    and
    <?php body_class( $class ); ?>
    like categories, tags, ID...

    http://codex.wordpress.org/Template_Tags/body_class
    http://codex.wordpress.org/Template_Tags/post_class

  4. jeffikus
    Member
    Posted 1 year ago #

    watch for post_formats in 3.1 - we are working with the WordPress guys to make this happen.

  5. oh.amanda
    Member
    Posted 1 year ago #

    Perfect!!

  6. abumpas
    Member
    Posted 1 year ago #

    Any update to this? I would like to use this in a custom theme I'm building for my portfolio site. I know the WooThemes Auld theme uses something similar, I'm just not sure how to implement it. thanks,

    Bumpas

  7. jeffikus
    Member
    Posted 1 year ago #

    Hi there - when 3.1 comes out this will be resolved as we will release our plugin with post formats support. Post formats adds the class for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic