Results 1 to 6 of 6

Thread: Remove or Comment Out - Total & So Far Today Views

  1. #1
    Thread Starter
    Member epreneur's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    80
    Thanks
    28
    Thanked 1 Time in 1 Post

    Remove or Comment Out - Total & So Far Today Views

    Hi there,

    I followed the recommendations on the following blog to comment out the code for Total views...

    http://appthemes.com/forum/showthrea...ve-total-views

    I would like to comment out or remove both views. My code is as follows, but it does not comment the function out. In Dreamweaver the code is coloured as though it would work, but to no avail.

    code commented out:

    <?php // <p class="stats"><?php if (function_exists('cp_ad_views_today')) { cp_ad_views_today($post->ID, '', __('total views','cp'), __('so far today','cp'), 0, 'show'); } </p>; ?>

    Not sure why this does not work. Any guidance appreciated.
    Thanks!


  2. #2
    Thread Starter
    Member epreneur's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    80
    Thanks
    28
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Member epreneur's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    80
    Thanks
    28
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. The Following User Says Thank You to epreneur For This Useful Post:

    faciltech (September 21st, 2010)

  5. #4
    Thread Starter
    Member epreneur's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    80
    Thanks
    28
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #5
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,999
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  7. The Following User Says Thank You to jomarkosabel For This Useful Post:

    epreneur (September 19th, 2010)

  8. #6
    Thread Starter
    Member epreneur's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    80
    Thanks
    28
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Remove total views
    By edgarphs in forum ClassiPress General Discussion
    Replies: 6
    Last Post: August 15th, 2011, 03:54 PM
  2. 2.8 Today?
    By johare in forum ClassiPress General Discussion
    Replies: 4
    Last Post: April 12th, 2009, 03:41 AM