Support » Plugins » Problem with Pagelines Platform theme & wp-postviews

  • Hi i downloaded the free version from platform (( )) and i have this problem (( )) and i can’t see the solution
    can anyone tell me how can i use wp-postviews please ?
    i contact with pagelines support and they says

    It requires some editing to the code files. You will want to look in template.postloop.php and edit based on what the wp-postviews readme says.

    but i can’t make it
    wp-postviews readme says:
    <?php while (have_posts()) : the_post(); ?>
    Add Anywhere Below It:
    <?php if(function_exists(‘the_views’)) { the_views(); } ?>
    and i can’t find <?php while (have_posts()) : the_post(); ?>
    so please can anyone edit it for me please?
    thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • hey mohzz,

    the file is “template.postloop.php” (you find it in your platform themes folder.

    you find the php-command on line 33. Add the views-command beneath it

    hey Romanowitsch
    thanks for your help
    can you help me to setup wp-pagenavi ?
    where i put this code ? <?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?>

    as far as I know, you don’t need to add this to have wp-pagenavi working. The platform theme supports wp-pagenavi. You just have to activate the plugin… have you tried this?

    yes i try but not work
    ps: i use the free edition not the pro

    Well, then look up in the platform folders (“sections” for example). There’s got to be a “pagenav.php” or “template.pagenav.php” or something like that…

    Open it in an editor, hit ctrl+F (Mac: cmd+F) so that you can search the file. Type in “nav” and look where there seem to be a command for the pagination control. There it would be best to add the code.

    BUT: I’m not a programmer – I’m just guessing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with Pagelines Platform theme & wp-postviews’ is closed to new replies.