Genesis Geek

Genesis child theme tutorials

  • Home
  • Why DWB?
  • Videos

3 Types of page template in Dynamik Website Builder

September 22, 2015 By Philip Gledhill

Why 3 types of page template in Dynamik Website Builder?

To understand why there are 3 ways to make a page template, you must understand how page templates work.

The page template is just an empty shell.

You could paste content directly inside that shell.

But sometimes it makes more sense to put content in widget areas or hookboxes. This gives you more power, flexibility and control than just pasting content directly into your page template.

After making widget areas and hookboxes you can connect them to your template in different ways.

You can convert widget areas and hookboxes into shortcodes, then paste those shortcodes inside your template.

Or, you can make your widget areas and hookboxes display inside your template by hooking them in to the template using conditional tags and hooks.

Self contained Template

  • The content of your template goes inside the template itself.
  • Make a template.
  • REPLACE the loop. This builds a a new function.
  • Your content goes inside this new function.

Template linked to widget areas

Put template content in widget areas. Hook those widget areas into the genesis_loop area of your template.

  • Make a template.
  • REMOVE the loop.
  • Make widget areas.
  • Put content inside those widget areas.
  • Hook those widget areas into your template on the genesis_loop hook.

Template linked to a hookbox

Put template content in a hookbox. Hook that hookbox into the genesis_loop area of your template.

  • Make a template.
  • REMOVE the loop.
  • Make a hookbox.
  • Put content inside that hookbox.
  • Hook your hookbox into your template on the genesis_loop hook.

Filed Under: Uncategorized Tagged With: 3 Types of page template in Dynamik Website Builder

Dynamik Skins

ipad-skin-sidebar

See 12 good looking starter skins...

See the skins

Dynamik Website Builder needs the Genesis Framework to run.

The Genesis Framework

Some of the links on this website are “affiliate links.” This means if you click on the link AND purchase the item, I will receive an affiliate commission. However, I only recommend products I use myself and genuinely believe will be useful to others (honest :-)

This website is independently owned by an affiliate marketer of StudioPress. It is not sponsored by StudioPress, Copyblogger Media LLC, WordPress, or Automattic Inc. WordPress, Genesis and StudioPress are registered trademarks of their respective owners.