Support » Theme: Pitch » add more Project

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hiya!

    I had the same problem today and after trying a bit it turned out to be amazinly to edit this.

    • In the Appearance menu go to the editor
    • Look for the home.php template and select this one to edit
    • Somehere in the middle you’ll see the following piece of code
    • Change the number after “posts_per_page” to the number of projects you want to show
    		siteorigin_setting('front_page_home_title_latest_projects', __('Latest Projects', 'pitch')),
    			'posts_per_page' => 15,
    			'post_type' => 'project',
    			'orderby' => 'name',
    			'all_link_url' => 'ASC',
    			'order' => 'ASC',

    As you see I’ve already changed the posts_per_page bit to 15 instead of 10.

    At the bottom I added a line to decide in which order I want the projects to be displayed. You can find more info about the order & orderby parameters here

    Good luck!

    Wow…thank you LiberMedia for your quick response. Now i have more 10 posts per page… 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add more Project’ is closed to new replies.