User Tools

Site Tools


This is an old revision of the document!


Components are editable containers for pieces of code or text that can be inserted into a theme template. At their simplest components 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.

Components can be used to edit and insert whole blocks of formatted html into a sidebar, a footer or a multi-column layout.

Components can contain code so they can be used to insert dynamic content like a gallery, a list of blog posts, an image slider or a contact form.

Components can be included in all pages or individual pages or only in specific pages by conditional statements in the template. See Components Depending On The Page.

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.


Back to the GetSimple Wiki Contents Page

Pages in this Section

Adding and Editing Content

components.1383041523.txt.gz · Last modified: 2013/10/29 10:12 by Timbow