Make WordPress Core

#57305 closed defect (bug) (invalid)

symlinked themes folder does not work

Reported by: gizzel's profile gizzel Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: Cc:

Description

nor do symlinked themes in ordinary themes folder.

This has been working in earlier releases. But now with Version 6.1.1 it does not.

Change History (3)

#1 @costdev
22 months ago

  • Keywords reporter-feedback added

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?

#2 @gizzel
22 months ago

Thanks, i am so sorry - it was my fault. I see now, that i had an Apache config issue. hard to debug but finally yes, shame on me. It is working now. Next time i will try harder before opening a ticket. Thanks.

#3 @costdev
22 months ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 6.1.1 deleted

No problem @gizzel!

Even though it wasn't an issue in WordPress Core, I appreciate that you posted to try to improve WordPress 🙂

Glad to hear you got it working!

Note: See TracTickets for help on using tickets.