Sign in

Wie kann ich ein vorhandenes Theme erweitern

  • This topic has 3 replies, 2 voices, and was last updated 1 year, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6591
    Avatar photoMaxsax

    I found documentation on how to override a theme but I don’t want to make any changes to the existing coding, only enhancements.

    https://getpublii.com/dev/theme-overrides/

    Is there any way to include the original via inklude and attach the extensions?

    #6592
    Avatar photoBob

    Is there any way to include the original via inklude and attach the extensions?

    I’m not sure what you meant, but overall you can find your theme files in this location: ‎⁨(Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME)

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #6596
    Avatar photoMaxsax

    Hi Bob,

    I want to extend an existing theme and not overwrite it. The suggested way in the description of how to overwrite a theme is to make a copy of the affected file in the special directory and make the desired changes there. Now, when a new version of the theme is officially released, these steps must all be repeated manually.
    What I want is to reference the original files (via include etc) and append my enhancements. With this method, a new version is automatically picked up by the theme and only needs to be checked to see if they match the extension.

    #6599
    Avatar photoBob

    I’m afraid it’s not possible.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.