Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54910, comment 5


Ignore:
Timestamp:
01/26/2022 03:56:39 PM (3 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54910, comment 5

    initial v1  
    1111}}}
    1212
    13 Similarly, if a theme developer wanted to organise their folders differently, say `fse/page.html`, they could add the following filter to make sure `WP_Theme->is_block_theme()` still returned `true`:
     13Similarly, if a theme developer wanted to organise their folders differently, say `site_templates/page.html`, they could add the following filter to make sure `WP_Theme->is_block_theme()` still returned `true`:
    1414
    1515{{{#!php
     
    2222----
    2323
    24 ''Related train of thought''
     24''Related train of thought on the second case above''
    2525
    26 I don't know if there's currently a way to specify an alternative templates folder. Is this available?
     26Actually, I don't know if there's currently a way to specify an alternative templates folder. Is this available?
    2727
    2828For example, what if someone wanted to organise their folders differently say, `site_templates/page.html`?