-
gshielsParticipant
What you needed to do was add that line of code instead of the [code]#site-title[/code] div, wrap it around an [code]<a”>[/code] tag and delete the callback to the function minimatica_custom_header from functions.php
gshielsParticipantHi Daniel – great theme – thanks!
I am a newbie to WordPress and all things webby, so apologies if the answers to my questions are obvious!
1) The images in the slider gallery and poor quality, even though the original is high quality.
2) Can I add a logo to the header?
3) The gallery doesn’t appear on the homepage even though I have ALL the Theme Options set to “Gallery”.Gary
Daniel TaraKeymaster1. The thumbnails may be of smaller sizes and forced enlarged. Try using the [url=http://wordpress.org/extend/plugins/ajax-thumbnail-rebuild/]AJAX Thumbnail Rebuild[/url] plugin to recreate the thumbnails at the dimensions set by the theme.
2. To add a logo you need to manually edit the header.php file and insert an image instead if the div #site-title
3. Make sure you’re using at least WordPress 3.1. Try resetting the options to default and then submitting them again. This doesn’t work with a static front page
studley49ParticipantDaniel said:2. To add a logo you need to manually edit the header.php file and insert an image instead if the div #site-title
Hi Daniel,
Would you happen to be able to provide a sample snippet for this?
Cheers,
BradEDIT: I realized after my post that I didn’t ask the right question. I was able to insert an image without any problems but I want that image to work the same way as the text (click = return to home). Thoughts/suggestions?
Daniel TaraKeymasterJust wrap it around an anchor tag. See the Twenty Ten theme for an example, it does just that.
studley49ParticipantI don’t understand the difference between the two pieces of code: all I see different between the two is the span tag and the ‘/’ character in the home_url function.
Twenty Ten
[code]
<<?php echo $heading_tag; ?> id=”site-title”>
<span>
<a*>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
<?php bloginfo( ‘name’ ); ?>
</a*>
</span>
</<?php echo $heading_tag; ?>>
[/code]Minimatica
[code]
<<?php echo $heading_tag; ?> id=”site-title”>
<a*>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
<?php bloginfo( ‘name’ ); ?>
</a*>
</<?php echo $heading_tag; ?>>
[/code]Daniel TaraKeymasterThe difference is here:
" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
studley49ParticipantI tried doing that and it added an extra image. π
Basically, here’s what I’ve got now after looking at your post:
[code]<<?php echo $heading_tag; ?> id=”site-title”>
<span>
<a* href=”<?php echo home_url( ‘/’ ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”>
” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />
</a*>
</span>
</<?php echo $heading_tag; ?>>[/code]…still no luck.
Here are my Header settings…
Header Image – I uploaded a 940×100 image to be used as the banner.
Header Text – Display Text: no
You must be logged in to reply to this topic.