Пример #1
0
 function thb_portfolio_item($params = array())
 {
     $default = array('portfolio_item_template' => 'portfolio-item');
     $params = thb_array_asum($default, $params);
     thb_get_module_template_part('core/portfolio', $params['portfolio_item_template'], $params);
 }
Пример #2
0
/**
 * Display the contact form.
 *
 * @return void
 */
function thb_contact_form()
{
    thb_get_module_template_part('core/contact', 'contact-form', array('placeholder' => thb_config('core/contact', 'placeholder')));
}
Пример #3
0
 function thb_photogallery()
 {
     thb_get_module_template_part('core/photogallery', 'photogallery');
 }