Posts per page
Last updated
You can control how many posts are displayed on your homepage and archive pages, such as tags and authors. This setting is configured in the theme’s package.json file and doesn’t require any additional tools or local Ghost setup.
Unzip the theme on your computer.
In the root folder, open package.json using a code editor (Visual Studio Code, Cursor, etc.).
Locate the config.posts_per_page field:
"config": {
"posts_per_page": 9
}Change the value to the number of posts you want to display per page:
"config": {
"posts_per_page": 12
}Save the file and compress the entire theme folder back into a ZIP file.
Upload the updated theme in Ghost Admin using (Theme → Change theme → Upload theme).
To safely edit the theme files, always use a code editor that supports UTF-8 encoding and JSON formatting, such as:
Avoid editors like Notepad or Word, as they may corrupt the JSON structure or introduce invalid characters.
Last updated