[wp-trac] [WordPress Trac] #57305: symlinked themes folder does not work

WordPress Trac noreply at wordpress.org
Sat Dec 10 20:58:39 UTC 2022


#57305: symlinked themes folder does not work
-------------------------------+------------------------------
 Reporter:  gizzel             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Themes             |     Version:  6.1.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by costdev):

 * keywords:   => reporter-feedback


Comment:

 Hi @gizzel, welcome to Trac!

 I have just created a symlinked theme in `wp-content/themes` using the
 following:

 {{{
 ln -s /path/to/my-test-theme /path/to/test/site/wp-content/themes/my-test-
 theme
 }}}

 Inside `my-test-theme`, I ran two tests:

 **Classic theme test**
 - `style.css`
 - `header.php` - including a `<link>` for the stylesheet and a call to
 `wp_head()`
 - `index.php` - with calls to `get_header()` and `get_footer()`

 **Block theme test**
 - `style.css`
 - `theme.json`
 - `templates/index.html`

 **Results**
 - Both themes: Showed in `Appearance > Themes`.
 - Classic theme: The stylesheet loaded correctly.
 - Block theme: The Site Editor loaded correctly.

 -----

 Can you provide more detail about what does not work?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57305#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list