function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', $instance['title']); echo $before_widget; echo $before_title; echo $title; echo $after_title; tie_login_form(); echo $after_widget; }
function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', $instance['text_html_title']); $text_code = $instance['text_code']; $tran_bg = $instance['tran_bg']; $center = $instance['center']; if ($center) { $center = 'style="text-align:center;"'; } else { $center = ''; } echo $before_widget; echo $before_title; echo $title; echo $after_title; tie_login_form(); echo $after_widget; }
the_title(); ?> </h1> <p class="post-meta"></p> <div class="clear"></div> <div class="entry"> <?php the_content(); ?> <?php wp_link_pages(array('before' => '<div class="page-link">' . __('Pages:', 'tie'), 'after' => '</div>')); ?> <?php tie_login_form(); ?> <?php edit_post_link(__('Edit', 'tie'), '<span class="edit-link">', '</span>'); ?> </div><!-- .entry /--> </div><!-- .post-inner --> </article><!-- .post-listing --> <?php } } ?> <?php //Below Post Banner
_e('You must be ', 'tie'); ?> <a href="<?php echo home_url(); ?> /wp-login.php"><?php _e('logged in', 'tie'); ?> </a><?php _e(' to view this page.', 'tie'); ?> <?php } ?> <?php tie_login_form($login_only = true); ?> <?php edit_post_link(__('Edit', 'tie'), '<span class="edit-link">', '</span>'); ?> </div><!-- .entry /--> </div><!-- .post-inner --> </article><!-- .post-listing --> <?php } } ?> <?php //Below Post Banner