Kuopassa.net

Lisää kirjoituksia netistä.

Etsi blogista

So, Textpattern finally got front-side theme support

Written

Front-side themes starting from Textpattern version 4.7.0 can be installed by uploading them to themes folder. A valid theme ought to have a main folder and inside that manifest.json file that contains an arrayful of details about the theme in question. Other components are put inside these folders: forms, pages and styles. The styles folder is for CSS files if such files are managed using Textpattern’s admin interface.

Structure of an actual front-side theme

This theme is called Linear Gradient (screenshot, download), so root folder is named linear-gradient. It has no image files. In the list below numbers represent how deep in folder hierarchy those components are. 1 = top, 4 = deepest.

  • linear-gradient (1)
    • forms (2)
      • article (3)
        • about.txp (4)
        • archive.txp (4)
        • article_listing.txp (4)
        • default.txp (4)
        • search_results.txp (4)
      • comment (3)
        • comment_form.txp (4)
        • comments.txp (4)
        • comments_display.txp (4)
      • file (3)
        • files.txp (4)
      • link (3)
        • plainlinks.txp (4)
      • misc (3)
        • footer.txp (4)
        • header.txp (4)
        • images.txp (4)
    • pages (2)
      • about.txp (3)
      • archive.txp (3)
      • default.txp (3)
      • error_default.txp (4)
    • styles (2)
      • default.css (3)
    • manifest.json (2)
About the author

"So, Textpattern finally got front-side theme support" is rated 7 out of 10. That rating was formed of 1 vote(s). Kuopassa.net´s blog includes a total of 1272 posts including this one. If you´d like to link to this page from a blog or a forum, please use this permalink. Tag or tags: .

Tsekkaa myös minkälaisia valokuvia teen: www.pjti.fi