Hello
I have a homepage link that links to my blog page,
What I want to do is to make it link, to my main static site.
I know that I can do this in header.php Template
but every time I modified I get nothing
This is the code that I have to modifie
<?php
if (is_front_page()) {
echo "<li id=\"current\">";
?>
<a href="<?php echo get_option('home'); ?>"><?php _e("Home","varg")?></a>
<?php
}
else{
?>
<li><a href="<?php echo get_option('home'); ?>"><?php _e("Home","varg")?></a>
<?php
What I do, is I do a search in my Header, Page or Index PHP files for "Home". Make sure you search for "matching case". Once I find one I add an "s" to make "Home", "Homes" and then save the php file. I go to my site and see if it changed the menu item from "Home" to "Homes". If it did then I know I have the right one, if not I search till I find the right one. I then just take that line of code out and save. Now I can create my own Home link, or even rename it whenever I want.
Hope that was what you were asking about.
Courtney Bostdorff
Thank you selfmade64856
but it must be a better way....
Anyone ells????
Install http://wordpress.org/extend/plugins/page-links-to/ and then create a page and put your main-site url in the Page Links To field in that Page.