<?php /** * Remote URL */ $url = 'http://www.flickr.com/badge_code_v2.gne?'; $url .= 'count=' . $num; $url .= '&display=latest&size=s&layout=x&source=user&user='******' ', $class); ?> "> <?php if ($title != '') { ?> <h1 class="thb-shortcode-title"><?php echo thb_text_format($title); ?> </h1> <?php } ?> <script type="text/javascript" src="<?php echo $url; ?> "></script> </div>
<?php $atts = array('title' => $title, 'per_page' => $per_page, 'columns' => $columns, 'orderby' => $orderby, 'order' => $order); $shortcode_class = 'thb-shop-' . $atts['columns'] . 'col'; ?> <div class="thb-shortcode <?php echo $shortcode_class; ?> "> <?php if (!empty($atts['title'])) { ?> <h1 class="thb-shortcode-title"><?php echo thb_text_format($atts['title']); ?> </h1> <?php } ?> <?php echo $GLOBALS['woocommerce']->shortcodes->best_selling_products($atts); ?> </div>
<a id="footerlogo" href="<?php echo home_url('/'); ?> " title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?> " rel="home"><?php bloginfo('name'); ?> </a> <?php $copyright = thb_get_option("copyright"); if (!empty($copyright)) { ?> <span> — <?php echo thb_text_format($copyright); ?> </span> <?php } ?> </p> <a href="#" data-icon="u" class="gotop"></a> </div> </div> </section> </div><!-- /#page --> <?php thb_body_end();
<h1><?php _e('The author', 'thb_text_domain'); ?> </h1> <h2><?php the_author_posts_link(); ?> </h2> <?php $author_description = get_the_author_meta('user_description'); if (!empty($author_description)) { ?> <div class="thb-text"> <?php echo thb_text_format($author_description, true); ?> </div> <?php } ?> </aside> <?php if (thb_get_post_meta($thb_page_id, 'disable_navigation_block') != '1') { ?> <?php thb_pagination(array('type' => 'links', 'previousPostTitle' => __('Previous', 'thb_text_domain'), 'nextPostTitle' => __('Next', 'thb_text_domain'))); ?> <?php }
if (!empty($slide->big_text)) { ?> <h1><?php echo nl2br(thb_text_format($slide->big_text)); ?> </h1> <?php } ?> <?php if (!empty($slide->small_text)) { ?> <div class="thb-paragraph"> <?php echo nl2br(thb_text_format($slide->small_text)); ?> </div> <?php } ?> <?php if (!empty($slide->btn_text) && !empty($slide->btn_url)) { ?> <a href="<?php echo $slide->btn_url; ?> " class="thb-button"><?php echo $slide->btn_text; ?>
<img src="<?php echo thb_image_get_size($slide['id'], $image_size); ?> " alt=""> <?php } else { ?> <?php $attributes = thb_get_attributes(array('url' => $slide['url'], 'class' => 'thb_slideshow_video thb-noFit', 'autoplay' => $slide['autoplay'], 'loop' => $slide['loop'])); echo thb_do_shortcode('[thb_video ' . $attributes . ']'); ?> <?php } ?> <?php if ($slide['caption'] != '') { ?> <div class="caption"> <?php echo thb_text_format($slide['caption'], true); ?> </div> <?php } ?> </div> <?php } ?> </div>
} if (!empty($icon)) { $class[] = 'w-icon'; } ?> <section class="thb-shortcode thb-box <?php echo implode(' ', $class); ?> "> <?php echo thb_do_shortcode('[thb_icon url="' . $icon . '" align="' . $align . '"]'); ?> <?php if (!empty($title)) { ?> <h1 class="thb-shortcode-title"><?php echo wptexturize($title); ?> </h1> <?php } ?> <div class="thb-text"> <?php echo thb_text_format($content, true); ?> </div> </section>
<?php $class[] = $size; $style = ''; // Color if (thb_text_startsWith($color, '#')) { $style .= 'background-color: ' . $color; } else { $class[] = $color; } ?> <a class="<?php echo implode(' ', $class); ?> " href="<?php echo $url; ?> " style="<?php echo $style; ?> "> <?php echo thb_text_format($text); ?> </a>
<<?php echo $tag; ?> class="<?php echo implode(' ', $class); ?> "><?php echo thb_text_format($content); ?> </<?php echo $tag; ?> >
if ($info['value']['type'] == 'other') { ?> <?php echo thb_text_format($info['value']['value'], true); ?> <?php } elseif ($info['value']['type'] == 'address') { ?> <?php echo nl2br(thb_text_format($info['value']['value'])); ?> <?php } else { ?> <?php echo thb_text_format($info['value']['value']); ?> <?php } ?> </div> <?php } ?> </li> <?php } ?> </ul> </div> <?php