In PressRoom you are able to set custom themes for each Editorial Project. This setting could be overwritten per each Edition in the Edition Meta tab.
Developing PressRoom themes is quick and easy since they inherit almost the same logic used for Wordpress Theme Development
PressRoom themes resides inside the /pressroom/themes/
folder.
Themes are essentially made of a config.xml file and a set of layout files and assets (css, js, fonts, images, etc. ). Everything has been built for maximum flexibility, thus you are not forced to follow a specific folder structure to organize this content.
Each PressRoom theme could use his own functions.php
file. Place it wherever it makes sense for you, it will be automatically recognized.
Defines Theme's metadata,layouts path and behaviour (rules).
author Theme Author (optional)
layouts wrap a list of layouts
<?xml version="1.0" encoding="UTF-8"?>
<theme>
<uniqueid>starterr</uniqueid>
<name>Starterr</name>
<date>2015-08-05</date>
<version>1.0.0</version>
<description>Starterr is PressRoom Theme boilerplate.</description>
<thumbnail>screenshot.png</thumbnail>
<website>http://press-room.io/</website>
<author>
<name>thePrintLabs</name>
<email>[email protected]</email>
</author>
<layouts>
<item>
<name>basic article</name>
<rule>content</rule>
<description>default article layout</description>
<path>layouts/basic-article.php</path>
</item>
<item>
<name>cover</name>
<rule>content</rule>
<description>Cover layout</description>
<path>layouts/cover.php</path>
</item>
<item>
<name>toc</name>
<rule>toc</rule>
<description>Table of Contents theme file</description>
<path>layouts/toc.php</path>
</item>
</layouts>
</theme>
sample config.xml file from the Starterr theme
Important Notes: