Components are the building blocks that provide dynamic content to pages.

In the theme's html pages they are defined with data-v-component attribute prefix

<div data-v-component-products>

	<div data-v-product>
		<span data-v-product-name>Product name placeholder</span>
		<span data-v-product-price>$100</span>
	</div>
</div>

The php code that queries the database and provide the content to be inserted is located in app/components/products.php.

Templates .tpl files that binds the data to the html is located in app/template/components/products.tpl

  • └── app
    • └── template
      • └── components
        • └── products.tpl - singe post page
        • └── posts.tpl - singe post page
        • └── cart.tpl - singe post page
    • └── components
      • └── products.php - singe post page
      • └── posts.php - singe post page
      • └── cart.php - singe post page

List