WordPress.org

Ready to get started?Download WordPress

Forums

Ryu
[resolved] Problems with avatar + background (3 posts)

  1. maironc
    Member
    Posted 10 months ago #

    I have some things that I can't seem to find out.

    1) I would like to know if there is a way to change the background color as it is done in the IMAGE format post, but on the STANDARD format.

    2) Is there a way to put my avatar in the left column, above the date and name of the posters?

    3) Is there a way to change the header for the featured image or any other image, depending on the post? I tried doing this with some plugins, but none of them seemed to work.

    This is my website,
    http://rsfd.com.br/teste/

    If you need me to clarify anything, just say it.

    Thanks in advance!

  2. Lance Willett
    Theme Wrangler
    Posted 10 months ago #

    Hi maironc,
    For 1), check out ryu_tonesque_css() function. That's the magic to add the colored styles based on the first image in the post. You can easily extend it to work in other formats by calling it in the content template and also changing the CSS to be correct for the format.

    2) Yep, check out http://codex.wordpress.org/Function_Reference/get_avatar (I also recommend bookmarking http://codex.wordpress.org/Template_Tags as a starting point when you're thinking, how could I do ABC in WordPress?)

    You can use that function to output your avatar image anywhere you want in the theme. For Ryu post details (left column) check ryu_entry_meta() because that outputs all the post info in one place.

    3) This one is more difficult. It's probably possible, but will take a bit of programming? If you're comfortable with PHP and WordPress functions, check out both Twenty Ten and Twenty Eleven -- they both do this for pages, changing out the header image if the page has a large enough featured image.

  3. maironc
    Member
    Posted 10 months ago #

    Well ,thanks a lot! Gonna try to put it all into work.

Reply

You must log in to post.

About this Theme

About this Topic