support@site.it +1 400 3113 11

Templates

PURE theme developed based on object-oriented programming. Structure of PURE theme is unique in WordPress world. PURE has one interested element – template. Template renders some content. It can be anything: thumbnail of post, comment or activity, progress bar or dialog window. Take a look on next scheme.

0

[total]

Here is a simple example. Thumbnail of post can be rendered via several templates (A and B in scheme), but template’s controller attaches resources of only active template (template, which used on current page).

Such method allows to add unlimited count of templates in your code. And this does not degrade performance, because controller attaches resources of only used templates.

Also, such structure of code allows you to do what all prohibited – add your code into theme. You can add your own templates and do not be worry about conflicts or updating of theme.

0

[total]

 

But this is not all. New template, which is used in plugins will be automatically integrated into such plugin. For example, if you create a new template for post thumbnail, link (option) to your template will be added to settings of widget automatically.

0

[total]

 

The community

A community is a social unit of any size that shares common values. Although embodied or face-to-face communities are usually small, larger or more extended communities such as a national community, international community and virtual community are also studied.

Best of us

Copyright © 2015 Pure Theme. All Rights Reserved. Powered by WordPress.

Last posts

What is a template?

2015-06-09 22:47 / Jack Clark

Activate and deactivate theme

2015-06-09 22:46 / Jack Clark

What is provider?

2015-06-09 22:45 / Gabriel Thompson

The best way to add new front-page?

2015-06-09 22:44 / Gabriel Thompson

Where I can place my JS file?

2015-06-09 22:43 / Gabriel Thompson

Thumbnail for post

2015-06-09 22:43 / Gabriel Thompson

What is a component?

2015-06-09 22:41 / Jack Clark

About cache system

2015-06-09 22:29 / Jack Clark

WebSocket server

2015-05-30 00:34 / Gabriel Thompson

Test of question

2015-05-29 12:13 / Gabriel Thompson

Members

Groups

Tags

business (1)

cities (1)

Europe (1)

Categories

SandBox (1)

Countries (2)

Photos (2)

Music around (4)

Developer (10)

Cities (24)

The pure

Login or email

Password

The pure

Your login

Your email

The pure

Sorry, but at current time registration is unavailable.