A few things for a newbie

Viewing 9 posts - 1 through 9 (of 9 total)
  • #2306
    gshiels
    Participant

    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

    #2307
    gshiels
    Participant

    Hi 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

    #2308
    Daniel Tara
    Keymaster

    1. 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

    #2309
    gshiels
    Participant

    Thanks Daniel – appreciate the help

    #2310
    studley49
    Participant

    Daniel 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,
    Brad

    EDIT: 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?

    #2311
    Daniel Tara
    Keymaster

    Just wrap it around an anchor tag. See the Twenty Ten theme for an example, it does just that.

    #2312
    studley49
    Participant

    I 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]

    #2313
    Daniel Tara
    Keymaster

    The difference is here:

    " width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
    #2314
    studley49
    Participant

    I 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

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.