The simplest way would be to edit the header.php in a child theme copy of the file and remove the li item entry for activity.
@hnla Thanks! I accomplished this by commenting the corresponding lines in my theme’s header.php like so:
*EDIT: hmm… guess bbcode doesn’t work on these forums. I took a screenshot of the solution in case anyone is interested: http://img715.imageshack.us/img715/4051/hideactivitystream.png
if you need to post markup to display not parse you will need to escape all the ‘<‘ using & lt; – no spaces
You can use comments in that fashion however it does leave unnecessary markup in sorce view and the PHP still parsing?
I would tend do remove the whole section using a silly maths expression, something like:
<?php if(1 + 1 == 4): ?>
All of the link from php if(‘activity’
endif; followed by new closing endif
One of the others might have a better take on this though.
@hnla I don’t believe the PHP is still parsing… it seems to be working as intended. Having the “unnecessary” markup in source view is fine by me as it helps me to remember what I need to do whenever I upgrade. Thanks again for your assistance!
it’s better if you were to set up a basic child theme folder rather than edit the theme files that live in ‘default’ this way you do not overwrite your mods when upgrading.
Essentially that section of PHP does still parse it simply has no means of rendering or returning browser output, but you can examine the source and note that the slugs and site_url are returned.
@hnla could you provide an example of how to create a “child theme”? I am new to the WordPress/PHP community so I’m learning as I go here.
Have a read through of this page:
Which explains how to proceed and it’s actually a lot simpler than might at first be thought.
If it’s still not clear post back and someone can walk you through the steps you don’t understand.
@hnla Thanks again! I will give that a read as soon as I have the free time.