free hit counters
If you are using Internet Explorer as your browser please be running at least IE 7 or above. This site does not support IE 6 or below. Go here for the latest free version including easy download and installation instructions If you want to make it real easy on yourself, download Firefox , the most popular browser in the world. It's free and simple. You'll be so glad you did.
Leaving a comment with code in it...

If you would like to leave a comment and you have examples of code you want to show, you must "escape the code". This allows the entire code to show correctly by inserting certain variable around certain tags to make them show. If you don't "escape the code" your code will show up broken, mangled, and it won't be able to be seen correctly. "Escaping the code" is very simple...

  1. Copy your code you want to show
  2. Click here to go to the site to escape the code
  3. Follow the directions, it's so easy
  4. Once you have the escaped code copied, paste it in the comments area where you want
  5. Now you can enjoy life


Go ahead, leave a comment...

{ 4 comments… read them below or add one }

Jonahtrainer May 22, 2009 at 8:57 am

Uhh oh, I get this parse error:

Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home2/mygoldmo/public_html/howtovanish/wp-content/themes/thesis_15/custom/custom_functions.php on line 34

Reply

Nasty May 22, 2009 at 4:49 pm

You have a typo somewhere in your code. I can’t view it but make sure all the single and double quotes are straight up and down and not sideways. Make sure you have semi colons at the end of each php statement

Reply

Ana May 25, 2009 at 7:31 am

Your code worked wonderfully, I was just wondering if there was a way for the date stamp to not show on pages. I really appreciate your help! :-)

Reply

Nasty May 28, 2009 at 12:58 pm

Use a conditional statement with a style sheet in your custom_functions.php file.

function page_stylesheet(){
if (is_page()) { ?>
<style type="text/css">
.calendaricon {display: none;}
</style>
<?}}
add_action(’wp_head’ , ‘page_stylesheet’);

Reply

Leave a Comment

Previous post: Remove comments are closed statement

Next post: Make any page your home page