Comments (6)
Support References
This comment is automatically generated. Please do not edit it.
- 8087247-zen
from themes.
📌 REPRODUCTION RESULTS
- Tested on Simple – Could Not Replicate
- Tested on Atomic – Could Not Replicate
📌 FINDINGS/SCREENSHOTS/VIDEO
Simple site
https://github.com/Automattic/themes/assets/14153300/04d8f588-ffae-4b78-87cd-c96b996466d0
Same as the above on Atomic
📌 ACTIONS
- Closed as by design
📌 Message to Author
@ClassicRKR27 that's the expected behavior, unless I'm missing some context from the interaction.
As you can see, once I add a custom template, the "Swap Template" option shows up for both Post and Pages.
Looking at the user's site, they don't have any custom template that can be applied to any post/page, so it's correct for them to only see "Edit Template" and "Create New Template".
They only have a custom template for a specific page, "Instruction"
from themes.
@liviopv are we sure this is by design? Because the Swap Template
option appears in other themes with no custom templates:
The above is with the Cakely
theme, and for the Peirao
theme it's still not possible to swap templates even once a custom template has been created.
from themes.
@ClassicRKR27 Cakely has two custom Page Templates bundled in the theme, unlike Peirao:
from themes.
@liviopv in that case, why is the option to swap templates not appearing for this user when they do have a custom template?
If this is expected behavior, then it's very confusing - it's not clear why some themes come with custom templates and some don't, there doesn't seem to be any indication of why they're not able to switch templates when there isn't a custom template created.
from themes.
@ClassicRKR27 That template is for a specific page, Instruction, as mentioned at the end of my first message.
If this is expected behavior, then it's very confusing - it's not clear why some themes come with custom templates and some don't, there doesn't seem to be any indication of why they're not able to switch templates when there isn't a custom template created.
You're welcome to share that feedback on https://github.com/WordPress/gutenberg/issues just make sure to avoid sharing any a8c-related information.
That said, the behavior makes sense to me, as "Swap Template" only shows up when there's a template to swap to:
- Custom or theme template that can be applied to pages or posts exists > "Swap Template" and "Create New Template" show up
- No available template > only "Create New Template" shows up.
In cases like Peirao where there's no template to "Swap" to, where would the "Swap Template" link to?
from themes.
Related Issues (20)
- [Luminance] - Featured images are misaligned. HOT 6
- Stage: Remove sticky condition from home page query loops HOT 3
- Stage: Color conflicts when switching theme style variations HOT 4
- Dara: Comments Form not loading on Safari when blocks in comments is enabled. HOT 3
- Multiple Classic Themes: Comment Form not Responding when Blocks in Comments in Enabled while on Safari HOT 16
- [Bug]: Antique style variation for Issue doesn't appear to do anything HOT 2
- Site Title Margin Issues on Safari: Capoverso HOT 2
- [Bug]: The deploy-dotorg GH action fails if there is an error with a single theme
- Error 500 when trying to edit post/pages in Seedlet theme HOT 3
- Seedlet: HTTP ERROR 500 when you try to edit a post/page in the block editor HOT 2
- [Various themes: Sketch, Textbook, Rebalance] unable to edit Portfolios - Add New or Edit results in error message "The editor has encountered an unexpected error." HOT 24
- Task: Retire old versions of updated themes
- [Twenty Twenty-One] Grid Block stacks to a single column in editor HOT 6
- Radcliffe 2 theme - Customizer error 500 HOT 1
- Russell Theme not Activating HOT 3
- Assember: No way to restore Front Page template if deleted HOT 4
- Hever: Theme no longer respects "Display Site Title and Tagline" in Site Identity HOT 3
- OutNow: Static link in the front page template HOT 1
- Button Outline Not Working on Illustratr Theme HOT 3
- Assembler: Single Choice Option Block's proportion is off/looks squeezed when the theme Assembler is active HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from themes.