• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Customization

  • An Introduction to Filters
  • An Introduction to Hooks
  • Filter Reference
  • Hook Reference
  • Shortcode Reference
  • Theme Customization Basic Skills
  • Visual Markup Guide
Shortcode Reference
  • Footer Shortcode Reference
  • Post Shortcode Reference
  • Shortcodes Overview

General

  • An Introduction to Genesis Child Themes
  • Getting Started with WordPress and the Genesis Framework
  • How to Install and Activate the Genesis Framework or a Genesis Child Theme
  • One-Click Theme Setup

Genesis Code Snippets

Accessibility
  • Enable Accessibility Features
Admin Management
  • Force the Genesis Layout Settings
  • Remove the Genesis In-Post SEO Settings
  • Remove the Genesis Layout Settings
  • Remove the Genesis Menu Link
  • Remove the Genesis SEO Settings Menu Link
  • Unregister the Genesis Layout Settings
  • Unregister the Genesis Widgets
Author Box
  • Enable the Author Box on Archive Pages
  • Enable the Author Box on Single Posts
  • Modify the Author Box Title
  • Modify the Gravatar Size
  • Remove the Author Box on Single Posts
Block Editor
  • Disable Responsive Typography in Genesis Blocks
  • Enable Block-Based Widget Editor
Breadcrumbs
  • Modify the Breadcrumbs Display
  • Modify the Breadcrumbs Home Link
  • Reposition the Breadcrumbs
Comments
  • Add A Comment Policy Box
  • Modify the Author Says Text
  • Modify the Comments Headline Text
  • Modify the Comments Link Text
  • Modify the Gravatar Size
  • Modify the Speak Your Mind Text
  • Modify the Submit Button Text
  • Modify the Trackbacks Headline Text
  • Remove the Allowed Tags Text
Custom Feeds
  • Remove Custom RSS Feed Redirect
Entry Content (HTML5)
  • Add Post Navigation
  • Remove Entry Content
  • Remove Post Image
  • Remove Post Navigation
  • Remove Post Permalink
Entry Footer (HTML5)
  • Customize the Entry Footer
  • Remove Entry Footer Markup
  • Remove Entry Meta
Entry Header (HTML5)
  • Customize the Entry Header
  • Remove Entry Header Markup
  • Remove Entry Meta
  • Remove Entry Title
  • Remove Post Format Image
Footer
  • Customize the Credits Text
  • Customize the Return to Top of Page Text
  • Customize the Site Footer
  • Reposition the Site Footer
Google AdSense
  • Remove AdSense ID Setting in Customizer
  • Remove AdSense Metabox from Theme Settings Screen
  • Remove AdSense Metabox on Posts and Pages
Head Section
  • Add Custom Viewport Meta Tag
  • Add Viewport Meta Tag
Header
  • Modify the Header URL
  • Remove the Header Widget Area
  • Remove the Site Description
  • Remove the Site Title
HTML5
  • Enable HTML5 Markup
Images
  • Add Featured Images
  • Display a Custom Gravatar
Miscellaneous
  • Add an After Entry Widget Area
  • Add Custom Body Class
  • Show Content Above Posts on Blog Page
Navigation Menus
  • Add Navigation Extras
  • Reposition the Primary Navigation Menu
  • Reposition the Secondary Navigation Menu
  • Unregister the Primary Navigation Menu
  • Unregister the Primary/Secondary Navigation Menus
  • Unregister the Secondary Navigation Menu
Post Excerpts
  • Modify the Content Limit Read More Link
  • Modify the Content Read More Link
  • Modify the Length of Post Excerpts
Post Formats
  • Add Post Format Images
  • Add Post Formats
Post Info (XHTML)
  • Customize the Post Info Function
  • Remove the Post Info Function
Post Meta (XHTML)
  • Customize the Post Meta Function
  • Remove the Post Meta Function
Post Navigation
  • Customize the Next/Newer Page Link
  • Customize the Previous/Older Page Link
Scripts
  • Disable Superfish Script
  • Enable Superfish Script
Search Form
  • Customize the Search Form Input Box
  • Customize the Search Form Input Button
  • Customize the Search Form Label
Sidebars
  • Unregister Primary Sidebar
  • Unregister Secondary Sidebar
Structural Wraps
  • Add Structural Wraps

Theme Usage

Genesis Features
  • Add a Featured Image to Posts or Pages
  • Add an Archive Page Title and Description
  • Add an Author Box on Single Posts
  • Add Header, Footer, and Body Scripts
  • Add Your Google AdSense Publisher ID
  • Create a Custom Blog Page
  • Create a Standard Blog Page
  • Edit the Entry Meta and Footer Text with Genesis
  • Genesis Layout Settings
  • Genesis Post or Page Settings
  • Genesis SEO Settings
  • Genesis Theme Settings
  • Genesis Widgets
  • How to Update the Genesis Framework
  • Post or Page Theme SEO Settings
  • Home
  • Docs
  • Theme Usage
  • Genesis Features
  • Create a Custom Blog Page

Create a Custom Blog Page

Table of Contents
  • Display all categories on the page
  • Display one or more category on the page
  • Exclude one or more category from the page
  • Set the number of posts to display on the page
  • How to find the category ID

To create a custom blog page on any page of your website, you can utilize the “query_args” custom field.

Important Note: It’s important to note that this page should not be designated as the Posts page in Appearance > Customize > Homepage Settings.

To begin, navigate to Pages > Add New and create a new page that will serve as the designated area for displaying your posts. Keep this page empty, as it will automatically populate with your latest posts.

Once you’ve created the new page, enable custom fields for it.

In this article: 

  • Display all categories on the page
  • Display one or more category on the page
  • Exclude one or more category from the page
  • Set the number of posts to display on the page
  • How to find the category ID

If you’re new to using custom fields or query_args, keep in mind that you may need to click “Enter new” (as depicted below) to begin the process.

Display all categories on the page #

To showcase all categories, add the “category” parameter to the value field, following the steps outlined below.

  1. In the “Name” field, enter or select “query_args“.
  2. In the “Value” field, input “cat=all” to display all posts from all categories on the page.
  3. Click “Add Custom Field” to save your settings.

Display one or more category on the page #

To display certain categories, include the category ID parameter in the value field, following the steps outlined below.

  1. In the “Name” field, input or select “query_args“.
  2. In the “Value” field, add “cat=<id>” and replace “<id>” with the ID number of the category you want to display. If you want to display more than one category, separate their ID numbers with commas. For example, if you wish to display posts from categories with the ID numbers of 1, 3, and 4, you should type in “cat=1,3,4“.
  3. Click “Add Custom Field” to save your changes.

Exclude one or more category from the page #

If you want to exclude a particular category, you can add a minus symbol (dash) in front of the category ID parameter in the value field, following the steps outlined below.

  1. In the “Name” field, input or select “query_args“.
  2. In the “Value” field, add “cat=-<id>” and replace “<id>” with the ID number of the category you wish to exclude. If you want to exclude multiple categories, separate their ID numbers with commas and include the dash before each ID number. For instance, if you want to exclude posts from categories with the ID numbers of 1, 3, and 4, you should type in “cat=-1,-3,-4“.
  3. Click “Add Custom Field” to save your changes.

Set the number of posts to display on the page #

By default, the number of posts shown per page is set in Settings > Reading > Blog pages show at most.

But, you can display a different number of posts on this particular page by inserting the “showposts” parameter in the value field. In case you add multiple parameters, remember to separate them using the ampersand symbol (&).

In the following example, only one post from category 1 will be showcased on the page.

  1. In the “Name” field, input or select “query_args“.
  2. In the “Value” field, add “cat=<id>” and replace “<id>” with the ID number of the category you want to showcase. If you want to feature posts from multiple categories, separate their ID numbers with commas. For example, if you want to display posts from categories with the ID numbers of 1, 3, and 4, you should type in “cat=1,3,4“. After inputting the category parameter, add an ampersand symbol (&) and then include “showposts=<x>”, replacing “<x>” with the number of posts you want to display.
  3. Click “Add Custom Field” to save your changes.

How to find the category ID #

There are three methods to locate the category ID.

1. To uncover the category ID, navigate to Posts > Categories, and hover over the category name until the URL appears at the bottom of the screen. In the following example image, we hovered over a category called “Category #1”, which revealed the category ID at the bottom of the screen. In this specific scenario, the category ID is 2.

2. Another way to obtain the category ID is by clicking on the category name while on the Posts > Categories page. Next, you can locate the category ID in your browser’s address bar, as demonstrated in the image below. In this instance, the category ID is 2.

3. You can also use a third-party plugin, such as Reveal IDs, to view the category IDs. After installing and activating the plugin, navigate to Posts > Categories, where you can view the IDs listed in the table next to each category.

Add Your Google AdSense Publisher IDCreate a Standard Blog Page
Table of Contents
  • Display all categories on the page
  • Display one or more category on the page
  • Exclude one or more category from the page
  • Set the number of posts to display on the page
  • How to find the category ID
  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework