User Tools

Site Tools


components

This is an old revision of the document!


Components

Components are small snippits of code or text that can be inserted into a theme template. These are ideal for small blocks of text that are part of a theme file that the website owner may want to edit down the road. Examples are taglines, quotes, or sidebar items.

To create a component, log into your administrator panel and goto Theme → Edit Components. From there, it is pretty self explanatory on how to add or edit existing components.

At the top right of each component is the PHP coded needed to insert that particular component into a theme file:

<?php get_component('tagline'); ?>
components.1299254910.txt.gz · Last modified: 2013/04/19 14:53 (external edit)