Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Editor ( FSE ): Not able to add custom templates in FSE #38726

Closed
sadikmultani opened this issue Feb 11, 2022 · 1 comment
Closed

Site Editor ( FSE ): Not able to add custom templates in FSE #38726

sadikmultani opened this issue Feb 11, 2022 · 1 comment
Labels
Needs Testing Needs further testing to be confirmed.

Comments

@sadikmultani
Copy link

Description

Hi

There is no option available like custom so we can add custom templates like a custom archive or single template for specific custom post types. For ex., I've one custom post type called a book. So, I want to add custom templates for my custom post types for a different archive or single templates which we were using in standard themes like archive-book.php or single-book.php.

Also, once we add all possible options available for adding a new template then the add new button is removed from the site editor templates tab.

Is there any other way to add custom templates with the FSE site editor?

Thanks

Step-by-step reproduction instructions

  1. open the site editor and add new templates
  2. once we add all the templates which options are available then the add new button will be removed

Screenshots, screen recording, code snippet

Add new button is removed once I've added all templates from the option - https://prnt.sc/26thvsb

Environment info

  • WordPress 5.9

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@skorasaurus skorasaurus added [Feature] Full Site Editing Needs Testing Needs further testing to be confirmed. labels Feb 11, 2022
@ntsekouras
Copy link
Contributor

Thanks for issue @sadikmultani! I'll close this as duplicate of #37407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Testing Needs further testing to be confirmed.
Projects
None yet
Development

No branches or pull requests

3 participants