Number of projects displayed

edited June 2014 in Busiprof
I was given code to place a projects template as a separate page, however it seems to only display 10 projects no matter how many are in a category. How can I get it to display a specific number of projects?


  • edited June 2014
    Hi ,

    Have you created a child theme or not?  If not then i would like to suggest to create a child theme first.

    To create a child theme follow this link.

    After creating a child theme follow the given below instructions :

    Firstly create a index-project.php file into the child theme directory

    then copy the code from index-project.txt (which is given below in the attachment ) file and

    paste into index-project.php file of your child theme directory.

    and save the changes.

    Note: TO show the specific number of post into the particular category then find this line of

    $cat_total_post=5; in your index-porject.php file of your child theme directory.Now you can changed

    the Highlighted number as per requirement.


  • edited July 2014

    Did that work ?
  • Yes it did. Thank you.
This discussion has been closed.