squareink
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing the blog description in the header to be e-mail hyperlinkdidn’t work either. I’ll just go with the hard coded way instead. Wont be much changing of themes/ updates etc on this website anyway.
Thanks for trying though!
Forum: Fixing WordPress
In reply to: Changing the blog description in the header to be e-mail hyperlinkoops sorry guys, didn’t see the reply before I posted my last comment! I’ll try to change the code and see if it works.
Forum: Fixing WordPress
In reply to: Changing the blog description in the header to be e-mail hyperlinkIf someone does know what I did wrong or another way of doing it, then please let me know but for now I am just going to replace the php function with manually written code within that div instead.
Forum: Fixing WordPress
In reply to: Changing the blog description in the header to be e-mail hyperlinkit didn’t work. I got a Parse error: syntax error, unexpected T_STRING
and yes, I’ve entered only an e-mail address.
It is the tag line it is linking to if that makes it more clear. And I am also using the autofocus theme.
Forum: Plugins
In reply to: Customise the Password Protect to include an imageok thank you. I will have a look at that. 🙂
Forum: Fixing WordPress
In reply to: How do I remove RSS Feed and Comments from header?Hi
I tried this (using autofocus theme) and it doesn’t remove it for me… I have however found where the rss code is:
function sandbox_globalnav() { echo '<div id="menu"><ul><li class="page_item"></li>'; $menu = wp_list_pages('title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php echo str_replace(array("\r", "\n", "\t"), '', $menu); echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>'; }Any ideas of what to comment out/ delete/ move? as I’ve tried a few things but not very good with the php code…
many thanks!
Forum: Installing WordPress
In reply to: How to remove RSS in top nav?The RSS link is within the same code. Look at line 417:
echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>';I am currently trying to remove it myself but I am crap at php and can not get it to work properly. I can remove it by commenting the whole line out but then I am also commenting out the and </div>… I’ve tried to move those two up but with not much luck…
The full bit of code is:
function sandbox_globalnav() { echo '<div id="menu"><ul><li class="page_item"></li>'; $menu = wp_list_pages('title_li=&sort_column=menu_order&echo=0'); // Params for the page list in header.php echo str_replace(array("\r", "\n", "\t"), '', $menu); echo '<li class="page_item"><a href="'. get_bloginfo_rss('rss2_url') .'">RSS</a></li></ul></div>'; }and if someone can tell me exactly what to comment out/ delete / move I’d be very greatful!
Cheers!