Only a few templates are available when I create a new page
-
I’m using the Skatepark theme and am trying to create a index page of blog posts. In the site editor, I see there is a template called “index”, but it doesn’t show up as an option in the list of templates when I create a new page. The only template options when I create a new page are: Default template, Header and Footer Only, and Blank. However, I can see there are 9 templates for the theme when I’m in the site editor. Is there a way to apply these themes to a page?
The blog I need help with is: (visible only to logged in users)
-
Hi there,
For this you can either use an Index plugin if you have a paid account.
If you don’t, then a post block might work.
You do this by adding a block, write “post” and check all the options and patterns available:
https://wordpress.com/support/wordpress-editor/blocks/You can also add a shortcode
[archives]and customize it to your preference. Here’s some more info on how to do it:
https://wordpress.com/support/archives-shortcode/#optionsI hope some of this works
Good luck! -
Hello,
I read the documentation and I will explain what I understand:
I’m using the Skatepark theme and am trying to create a index page of blog posts. In the site editor, I see there is a template called “index”, but it doesn’t show up as an option in the list of templates when I create a new page.
So from what I understand, the index template page is already being applied, just like all the others. For example: When you create a new page, it uses the
pagetemplate (displays a single page) that appears there in the editor. If you edit the templatepagein the editor, it will change all the pages on your site. If you create apage template, you have two-page options: the default theme and its new version.Template Hierarchy
Before getting into how to edit templates, understanding the template hierarchy is important. There are a few base templates that are generated automatically when you select a theme. WordPress uses these templates to create default styles for specific page types. For example:If your site is set up to display the latest posts on the front page, the Home or Index template applies the style for that page.
If your site is set up to display a regular page on the front, the Front page or Page template applies the style for the home page.
Many block themes offer common built-in templates like the Single Post to customize the appearance of single blog posts, or the 404 template for customizing the 404 error pages.
The Archive template is always used for categories/archives but not the posts page.https://wordpress.com/support/templates/#template-hierarchy
However, I can see there are 9 templates for the theme when I’m in the site editor. Is there a way to apply these themes to a page?
You are already using the 9 templates.
All 9 pages that appear are the default for the theme to work and appear on your site in the order that the template files are called by WordPress for various types of queries.Learn more here: https://developer.wordpress.org/themes/basics/template-hierarchy/
If you edit the Template
indexin the editor, it will affect the current display of your posts.
You can create another template for the index, using the available theme patterns and other indexing tools so that it behaves like an indexing page.When you create a template that is not part of the default theme, it will be available to apply to a new page and will appear as an option along with “Default template, Header and Footer Only, and Blank”.
This explanation is too long.
Not sure if I was clear, I’m also tagging a staff to help us -
Hi there, just stopping by to confirm that @julinedossantos1 is correct! :)
For more info on working with the site editor, please see https://wordpress.com/support/full-site-editing/
- The topic ‘Only a few templates are available when I create a new page’ is closed to new replies.