- This topic has 7 replies, 3 voices, and was last updated 1 year ago by
Leo.
-
AuthorPosts
-
January 21, 2020 at 11:45 am #1139541
Caitlin
I uploaded a post template but when I go to an individual post to select the template in the post attributes section, I can’t find this section. It’s not listed in the screen options as something I can add. How do I enable Dispatch so I can use post templates?
January 21, 2020 at 4:01 pm #1139719Tom
Lead DeveloperLead DeveloperHi there,
Are you using the new editor? If so, it should be in the “Document” tab, named “Page Attributes”: https://www.screencast.com/t/rHonWjKOT
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJanuary 21, 2020 at 4:20 pm #1139734Caitlin
I am using the new editor. That section isn’t listed. I used to be able to access it under my old theme but not with this one: https://www.geographyrealm.com/wp-content/uploads/2020/01/Screen-Shot-2020-01-21-at-4.17.32-PM.png
January 21, 2020 at 4:37 pm #1139747Leo
StaffCustomer SupportThe theme itself doesn’t control what WordPress’ editor shows.
Are you sure you are looking at a page and not post?
Make sure it’s activated under Options screen:
https://www.screencast.com/t/77rgLDCyRaALet me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 21, 2020 at 4:39 pm #1139751Caitlin
I’m looking at a post and not a page and I did check the options screen. It doesn’t provide me with a option to turn it on under the Options screen. It’s not listed at all there as an option to check on. I used page templates under my old theme and it was always listed.
January 21, 2020 at 4:42 pm #1139752Leo
StaffCustomer SupportSorry I’m a bit confused.
Page attributes only available to pages and not posts:
https://make.wordpress.org/support/user-manual/content/pages/page-attributes/Perhaps your old theme was adding specific features before?
You can test with a default twenty series WP theme and you will see the same settings as you are seeing with GeneratePress.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 21, 2020 at 4:58 pm #1139758Caitlin
Wordpress enabled the use of post templates a few years ago. I just did some more digging and I had forgotten to tag the top of the template file with the attributes like this:
<?php
/*
* Template Name: Book Feature Post
* Template Post Type: post, page, product
*/It’s now working and my post now lists the templates to choose from (see screenshot): https://www.geographyrealm.com/wp-content/uploads/2020/01/Screen-Shot-2020-01-21-at-4.57.07-PM.png
January 21, 2020 at 5:26 pm #1139772Leo
StaffCustomer SupportGlad you’ve figured out π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.