Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • And in your case, if say, you sliced the “contact” part of the header, you’ll only have to link the image, so the “href” attribute would be <?php echo home_url( '/contact/' ); ?> or <?php echo home_url( '/?page_id=2' ); ?> if you haven’t changed the default permalink settings.

    Have you got FTP access to your wordpress install? Or CPanel (which has some kind of multiple file uploader)?

    Also, you would modify the header.php (or footer.php, depending on what you want). The contents of these files is mostly HTML with the occasional php thrown in for dynamic links.

    For example: <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>

    Just a simple “a” element, with the href attribute being a snippet of php. I think the code is pretty self-explanatory.

    Thread Starter qtzlctl

    (@qtzlctl)

    ok, think I’ve nailed it. left_bar.php has this loop

    query_posts('showposts=3');
    					if (have_posts()) :
    						while (have_posts()) : the_post(); ?>
    						<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a></li>
    		<?php
    						endwhile;
    					endif; ?>

    which seems to me that it’s checking for a post on the page before it can show the titles of the latest news. And since there’s no post on the page, it reverts to index.php. I devised this by voodoo, but at least I know the cause. Off to hacking some more.

    What are you using to make the logo?

    Easiest would be to create a transparent PNG or GIF (assuming that by “doesn’t seem to work quite right” you mean that it doesn’t blend.)

    It seems that the theme was created with a minimal (say 4-5) amount of pages in the main navigation. You’ll have to either modify the theme itself (CSS mainly) or you can trim the page titles and use parent/child pages (like the “Hot tub manufacturers” parent).

    Either that or rethink your whole navigation.

    (basically making different parts of the header link to different areas…)

    That’s exactly what you need to do. Slice the header in Photoshop (or whichever you prefer) and then you’ll have to write some (simple) code to link them.

Viewing 6 replies - 1 through 6 (of 6 total)