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'); ?>

Hint: To change an existing component's title, double click the title, and it will change to become editable.

components.1351698868.txt.gz · Last modified: 2013/04/19 14:53 (external edit)