Problem with Pagelines Platform theme & wp-postviews (6 posts)

  1. mohzz
    Posted 4 years ago #

    Hi i downloaded the free version from platform (( http://wordpress.org/extend/themes/platform )) and i have this problem (( http://www.pagelines.com/forum/topic.php?id=2311 )) 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

  2. Romanowitsch
    Posted 4 years ago #

    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

  3. mohzz
    Posted 4 years ago #

    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(); } ?>

  4. Romanowitsch
    Posted 4 years ago #

    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?

  5. mohzz
    Posted 4 years ago #

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

  6. Romanowitsch
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic