WordPress.org

Ready to get started?Download WordPress

Forums

dynamic headers plugin with twenty ten theme (22 posts)

  1. ioannispad
    Member
    Posted 3 years ago #

    i wordpress 3.0 and twenty ten theme. I want to change the header with the dynamic headers plugin. Can someone tell me where to put the code in my header.php file?

  2. wpweaver
    Member
    Posted 3 years ago #

    My theme, Twenty Ten Weaver, Version 1.3 now supports Dynamic Headers automatically. Version 1.3 is available now from http://wpweaver.info, and will soon be available as 2010 Weaver from the WordPress.org themes repository. (The current 2010 Weaver Version 1.2.3 does not have the support built in - get the latest version from our website.)

    If you like Twenty Ten, then pick the Twenty Ten sub-theme from Weaver. However, it is very easy to add tweaks to customize your site to your liking.

  3. troyjensen
    Member
    Posted 3 years ago #

    I got it to work in Twenty Ten by editing the header.php file

    look for the section that says Houston we have a new image and change it to this

    // Houston, we have a new header image!
    echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' );
    else : ?>
    <?php if(function_exists('show_media_header')){ show_media_header(); } ?>
    <?php endif; ?>

  4. bdehning
    Member
    Posted 3 years ago #

    troyjensen,

    Thank you.

    I was trying this afternoon to figure out the code to make Dynamic Header to work with Twenty Twn and your post was the answer.

  5. bdehning
    Member
    Posted 3 years ago #

    troyjensen,

    Thank you.

    I was trying this afternoon to figure out the code to make Dynamic Header to work with Twenty Ten and your post was the answer.

    Whoops, I can not spell today.

  6. vrijnatuurlijk
    Member
    Posted 3 years ago #

    I am using the dynamic header plugin on WP 3.01 and twentytenweaver. However when I try to change a header on a page, it doubles the header as you can see here:http://natuurtalent.eu.greenhost.nl/bedrijven/

    I removed all snippets from 2010 advanced.

    How to solve this?
    As I am on a deadline with this one, help would be very much appreciated!

    Ilja van Bemmel

  7. imaginarytrout
    Member
    Posted 3 years ago #

    Dynamic Headers worked like a charm. troyjensen's update to header.php works just fine.

  8. yotam
    Member
    Posted 3 years ago #

    I put in Troyjensen's code in my header.php file, and the new image shows up, but it is not centered nor does it stretch fully across the width of the screen as the TwentyTen default header did. Instead, it is square-shaped and placed on the left.

    How do I keep the same formatting as the 2010 theme?
    Thank you!

  9. bdehning
    Member
    Posted 3 years ago #

    Make sure you have resized the all the images you want for all pages to be the same as the default for the homepage. My size is 940 x 198.

  10. yotam
    Member
    Posted 3 years ago #

    Bdehning, thanks for your help with this issue. I have tried resizing before I upload to the default, 940x198, but the problem is still there. Not only in the new headers, but also in the original homepage, where the default photo should be -- it no longer stretches out to cover the entire width of the blog post as it used to. Any ideas?

  11. yotam
    Member
    Posted 3 years ago #

    By the way my website http://www.yotamhaber.com - I'll leave up the header as it is now, for a day, in case anyone could comment on the issue. Thank you!

  12. bdehning
    Member
    Posted 3 years ago #

    Are you selecting the resized image you want to use at the bottom of each page in the Nicasio Dynamic Header Section below the revision dates?

    Your images are only 640 X 134 in size currently on your site link? IMG_0014.JPG

  13. yotam
    Member
    Posted 3 years ago #

    Thank you so much, bdehning! I got it!

  14. brighttyger
    Member
    Posted 3 years ago #

    I uploaded the dynamic headers plugin, but its Headers says: It looks like wp-content/header-images/ is not writable or does not exist. You will need to create this directory make this directory writable in order for the plugin to work.
    Weaver said that it supported this plugin and I wouldn't need to code, but now I do and have no clue how to do it correctly. Please help. I do not know CSS, but I can probably find the right box or file that exists in Weaver and put in the code if I'm given the exact steps. Hope you can help!

  15. bdehning
    Member
    Posted 3 years ago #

    brighttyger,

    Have you verified you have the wp-content/header-images folder?

  16. lkjc
    Member
    Posted 3 years ago #

    so great ! work perfectly
    really good plug.
    thanks for help

  17. 19davides82
    Member
    Posted 3 years ago #

    hello guys, I have a problem with dynamic header probably because i'm not skilled enough :)

    So, I change as troyjensen suggest, but i see everything blank.

    from:
    // Houston, we have a new header image!
    echo get_the_post_thumbnail( $post->ID );
    elseif ( get_header_image() ) : ?>

    to:
    troyjensen suggestion.

    what's the problem?
    thanks a lot for support!

  18. LilAbhi
    Member
    Posted 3 years ago #

    Guys i kind of have the exact same problem i just need to put the dynamic header below my current header and menu any help is appreciated

  19. LilAbhi
    Member
    Posted 3 years ago #

    Does no one know how to do this at all?
    There has got to be someone that knows how to get this done a header under the main header and menu system

  20. LilAbhi
    Member
    Posted 3 years ago #

    Someone?

  21. bdehning
    Member
    Posted 3 years ago #

    LilAbhi,

    Since you want to keep the Main Header and Menu and add an additional menu, you may mess up the Theme.

    Have you tried copying Header code and placing a new division under the current division?

  22. LilAbhi
    Member
    Posted 3 years ago #

    I have no idea what division even means? Is this in the css?

Topic Closed

This topic has been closed to new replies.

About this Topic