Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Wie kann ich ein vorhandenes Theme erweitern

  • #6591
    Avatar photo[anonymous]

    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
    [anonymous] wrote:

    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)

    #6596
    Avatar photo[anonymous]

    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.