Newbie seeking help about header problem!

6 replies
hey there do you all know how to add a navigation link back to the main page on the custom logo at the header ? thanks so much! my theme is a custom wordpress wpcrunchy theme btw..
#header #newbie #problem #seeking
  • Profile picture of the author pjCheviot
    Banned
    I am assuming this is the blog in your signature?

    There doesn't seem to be a way to do this from within the Newspress Theme Options - so it would mean editing the code via Appearance -> Editor -> header.php.

    If you are happy with that, I can give you further instructions.

    Just let me know.


    Just one other thing - I realise this is a "free" theme - but you are left with footer links to completely unrelated sites and a lot of encoded script within the Theme - if you are happy with that, then OK - however, I, personally, would probably look for another theme without those backlinks (Just my opinion)
    {{ DiscussionBoard.errors[3187367].message }}
    • Profile picture of the author whyfrown
      hey there pjCheviot ,
      thank you so much for your advice! I've been trying to figure out how to edit the header.php code and failed.. can you advice me? thank you!
      and i know that there are advertisements at the bottom but i don't see the disadvantage in terms of SEO .
      Lastly , I am serious about making my site as popular as Uncrate.com or coolmaterial.com . I'm working very hard at it and anyone who's interested in helping me is free to contact me
      {{ DiscussionBoard.errors[3222597].message }}
      • Profile picture of the author pjCheviot
        Banned
        Hi again - sorry for the delay!

        Before attempting this - I would advise you to make sure you have a copy of the current file "header.php" - just in case you need to revert back to the original.

        If you have ANY doubts about doing it - PM me your login details and I can simply do it for you.

        Here goes . . .

        If you go into your WP Admin panel -> Appearance -> Themes -> Editor -> look down the right-hand side for "Header" (header.php) and click on the link.

        You should now see in the centre column "Edit Themes - Header - header.php"

        Scroll down the lines of code until you find the following line . . . .

        Code:
        <?php else : echo '<img src="' . get_option("newspress_customlogo") . '" border="0" />'; endif; ?>
        Now replace that line with the following code

        Code:
        <?php else : echo '<a href="/"><img src="' . get_option("newspress_customlogo") . '" border="0" /></a>'; endif; ?>
        To avoid any typos it will be easier to copy and paste that line of code.

        Then click on "Update File" and you're done

        All the best . . .
        {{ DiscussionBoard.errors[3225346].message }}
        • Profile picture of the author whyfrown
          Thank you so much pjCheviot!
          you really really helped me solve this problem that jumped started my blog! Thank you once again! You're really knowledgeable about programming huh!
          {{ DiscussionBoard.errors[3244232].message }}
  • Profile picture of the author h_al
    If there's no option, then you need to modify the header.php, as stated by pjCh....
    {{ DiscussionBoard.errors[3191863].message }}
  • Profile picture of the author discgolftraveler
    It might be worth updating to a more customizable theme. It appears the one you are using does not allow for many options (and it has ads).

    If you're serious about starting a marketable site, then I would suggest picking a different theme before your site grows too big.
    {{ DiscussionBoard.errors[3193464].message }}

Trending Topics