All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: Postview not work  (Read 640 times)

0 Members and 1 Guest are viewing this topic.

Offline Lord_Uchiha

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: on demand
Postview not work
« on: 23 January 2010, 15:43 »
I installed the plugin Postview v1.5 and tried the following code: <? php while (have_posts ()): the_post ();> files in single.php, post.php or page.php, but in my theme does not have the post.php.

Then the file single.php and page.php placed below the code above quoted the following code: <? Php if (function_exists ( 'the_views')) (the_views ();)?> But I do not see any counter.

What did I do wrong?
Grateful and sorry for my mistakes, my English is not very good.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Postview not work
« Reply #1 on: 23 January 2010, 18:16 »
Place it index.php

There is a typo in your code that you typed.

Code: [Select]
<?php if(function_exists('the_views')) { the_views (); } ?>

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Lord_Uchiha

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: on demand
Re: Postview not work
« Reply #2 on: 23 January 2010, 23:08 »
Place it index.php

There is a typo in your code that you typed.

Code: [Select]
<?php if(function_exists('the_views')) { the_views (); } ?>


Well, I put this code in index.php, but when I click on any post gives the following error:
Code: [Select]
0 views; } if ( in_category($aOptions['sideblog-cat']) ) { include(TEMPLATEPATH . '/single-blog.php'); } else { include(TEMPLATEPATH . '/single-video.php'); } ?>
Thanks for the quick response.
« Last Edit: 24 January 2010, 00:49 by Lord_Uchiha »

Offline Lord_Uchiha

  • Newbie
  • *
  • Posts: 3
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: on demand
Re: Postview not work
« Reply #3 on: 24 January 2010, 00:49 »
Someone to help me ?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Postview not work
« Reply #4 on: 24 January 2010, 04:23 »
You may want to ask your theme author instead as it differs where to place from theme to theme. My instructions are based on the default theme.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline jcglobalcitizen

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: Arthemia and Advanced Newspaper
Re: Postview not work
« Reply #5 on: 02 February 2010, 04:47 »
Hello,

What happened to me even more strange. I have 2 websites using WP 2.9.1, both using Arthemia, and previously WP Post Views worked very well on both websites. Those are: baltyra.com and nusantara-global.com

Now, I use nusantara-global.com to trial and error and adjusting things, especially in I want to change the theme. I'm now customizing a new theme of WP Advanced Newspaper on nusantara-global.com to be used later on baltyra.com

WP Post Views works well on both theme on nusantara-global.com

All of the sudden, last night 01 February 2010, WP Post Views stopped counting on any posts I have on baltyra.com. I deactivated, re-activated again, still does not work. I cross-checked with the existing files on nusantara-global.com and seems everything remain the same as before.

I have been trying back and forth to check what went wrong, but I could not find any. Do you have any opinion or probably solution on this?

Thanks you for your kind attention.

Joseph Chen