Example #1
0
    echo "</div>";
}
function _post()
{
    ?>
<!-- POSTS -->
<div class="post">
	<div class="posthead">
		<span class="date">
			<?php 
    the_time('d/m/Y');
    ?>
		</span><!-- /date -->
		<span class="autor">
			<?php 
    the_author_posts_link();
    ?>
 
		</span>
		<?php 
    //the_category(" | ")
    ?>
	</div><!-- /headpost -->
	<div class="postcontent">
		<h1><a href="<?php 
    the_permalink();
    ?>
" title="<?php 
    the_title();
Example #2
0
function post_meta()
{
    ?>
	<ul class="post_meta">
		<li class="date"><?php 
    echo get_the_date();
    ?>
</li>
		<li class="category"><?php 
    the_category(', ');
    ?>
</li>
		<?php 
    $post_tags = wp_get_post_tags($post->ID);
    if (!empty($post_tags)) {
        ?>
				<li class="tags"><?php 
        the_tags('', ', ', '');
        ?>
</li>
			<?php 
    }
    ?>
	</ul><!-- .post-meta -->
<?php 
}
 function magnificient_entry_meta()
 {
     echo '<span class="byline author"><a href="' . get_author_posts_url(get_the_author_meta('ID')) . '" rel="author" class="fn">' . get_the_author() . '</a> • </span>';
     echo '<time class="updated" datetime="' . get_the_time('c') . '" pubdate><a href="' . get_permalink() . '">' . get_the_time('F jS, Y') . '</a> • </time>';
     echo '<span class="entry-category">' . the_category('&bull;') . '</span>';
     echo '<span class="entry-tags">' . the_tags(' • ', ' • ', '') . '</span>';
 }
Example #4
0
function matraman_lite_tags()
{
    global $post;
    echo '<span class="tag-wrapper"><i class="icon icon-tags-round"></i>';
    the_tags('', ', ', '');
    echo '</span>';
}
    function formatAttribute()
    {
        global $post;
        ?>
        <ul class="post-in">
            <li>
                <?php 
        esc_html_e("Posted In  : ", "charity");
        the_category(" , ");
        $tags = get_tags();
        if (!empty($tags)) {
            the_tags(" , ");
        }
        ?>
            </li>
            <li>
                <a href="<?php 
        comments_link();
        ?>
"><?php 
        comments_number('0 : comment', '1 : comment', '% : comments');
        ?>
</a>
            </li>
        </ul>
        <?php 
    }
Example #6
0
        function categori_news(){
            query_posts('cat=9&showposts=10&posts_per_page=3');

            while (have_posts()) : the_post();
                /*Dima insert*/the_excerpt(); ?>
                <div class="content-box">
                    <div class="bgr01"><div class="bgr02"><div class="bgr03">
                                <div <?php post_class() ?> id="post-<?php the_ID(); ?>" style=" float:none; ">
                                    <div class="title">
                                        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
                                        <div class="date_all">
                                            <?php the_time('l, j ?F, Y') ?>
                                        </div>
                                        <div class="post">
                                            Написал <?php the_author_link() ?> <?php the_time('g:i A') ?>
                                        </div>
                                    </div>
                                    <div class="content_box">
                                        <?php the_content('Читать всё'); ?>
                                    </div>

                                    <div class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?></div>

                                    <div class="comments"><?php comments_popup_link('0 комментарии', 'комментарии', '% комментарии '); ?></div>
                                    <div class="link-edit"><?php edit_post_link('Edit', ''); ?></div>
                                </div>
                            </div></div></div>
                </div>
            <?php endwhile;}
Example #7
0
function tags_after_single_post_content($content)
{
    if (is_singular('post') && is_main_query()) {
        $tags = the_tags('<div class="entry-meta">Tagged with: ', '.', '</div><br />');
        $content .= $content . $tags;
    }
    return $content;
}
 public function post_tag($atts)
 {
     ob_start();
     the_tags(' <span class="tf_post_tag">', ', ', '</span>');
     $output = ob_get_contents();
     ob_end_clean();
     return $output;
 }
function etiquetas_post($atts)
{
    global $post;
    $tags = '<div class="etiquetas-entrada"><strong>ETIQUETAS:</strong> <span class="post-tags"></div>';
    ob_start();
    the_tags('<div class="etiquetas-entrada"><strong>ETIQUETAS:</strong> <span class="post-tags">', ', ', '</span></div>');
    $tags = ob_get_contents();
    ob_end_clean();
    return $tags;
}
Example #10
0
/**
 * Wp in Progress
 * 
 * @package Wordpress
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
function diarjolite_after_content_function()
{
    if (is_home() || is_category() || is_search() || is_tag() || is_page() && get_post_type() != "page") {
        do_action('diarjolite_excerpt');
        ?>

        <div class="post-info">
            <div class="left"> <?php 
        echo get_the_date('m.d.Y');
        ?>
 </div>
            <div class="right"> <?php 
        the_category(', ');
        ?>
 </div>
        </div>
            
        <div class="clear"></div>

	<?php 
    } else {
        if (is_single()) {
            ?>

    	<div class="line"> <span> <?php 
            echo __("On ", "diarjolite") . get_the_date() . __(" by ", "diarjolite") . get_the_author();
            ?>
 </span> </div>

	<?php 
        }
        the_content();
        echo '<div class="clear"></div>';
        if (get_post_type() == "post") {
            ?>
        <div class="post-info">
            <div class="left"> <?php 
            the_category(', ');
            ?>
 </div>
            <div class="right"> <?php 
            the_tags('Tags: ', ', ', '');
            ?>
  </div>
        </div>
            
        <div class="clear"></div>

    <?php 
        }
    }
    ?>

<?php 
}
    function elitepress_post_meta_content()
    {
        ?>
   
	        <!--show date of post-->
			
			<div class="blog-post-info-detail">
				<span class="blog_tags">
						<?php 
        _e('By', 'elitepress');
        ?>
<a href="<?php 
        echo get_author_posts_url(get_the_author_meta('ID'));
        ?>
"><?php 
        the_author_link();
        ?>
</a>
								
						<?php 
        _e('On', 'elitepress');
        ?>
<a href="<?php 
        the_permalink();
        ?>
"><?php 
        echo get_the_date();
        ?>
</a>
								
						<?php 
        $tag_list = get_the_tag_list();
        if (!empty($tag_list)) {
            ?>
						<div class="blog-tags"><?php 
            _e('In', 'elitepress');
            the_tags('', ', ', '');
            ?>
,<?php 
            $cat_list = get_the_category_list();
            if (!empty($cat_list)) {
                the_category(', ');
            }
            ?>
						</div><?php 
        }
        ?>
				</span>
			</div>
			
			
			<?php 
    }
/**
 * Wp in Progress
 * 
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
function novalite_after_content_function()
{
    if (is_home() || is_category() || is_page()) {
        the_excerpt();
    } else {
        the_content();
        the_tags('<footer class="line"><span class="entry-info"><strong>' . __('Tags', 'novalite') . ':</strong> ', ', ', '</span></footer>');
        if (get_post_format()) {
            echo '<footer class="line"><span class="entry-info"><strong>' . __('Tipo de Post', 'novalite') . ':</strong> ' . ucfirst(get_post_format()) . '</span></footer>';
        }
        comments_template();
    }
}
    function wpbppost_meta()
    {
        ?>

<ul class="post-meta inline-list">
  <li>
    Posted:
    <a href="<?php 
        echo get_day_link(get_post_time('Y'), get_post_time('m'), get_post_time('j'));
        ?>
">
      <?php 
        printf('<time datetime="%1$s">%2$s</time>', esc_attr(get_the_date('c')), esc_html(get_the_date()));
        ?>
    </a>
  </li>
  <li>
    <?php 
        the_tags('Tags: ', ', ', '');
        ?>
  </li>
  <li>
    <?php 
        $categories = get_the_category();
        $separator = ', ';
        $output = '';
        if (!empty($categories)) {
            foreach ($categories as $category) {
                $output .= '<a href="' . esc_url(get_category_link($category->term_id)) . '" alt="' . esc_attr(sprintf(__('View all posts in %s', 'textdomain'), $category->name)) . '">' . esc_html($category->name) . '</a>' . $separator;
            }
            echo 'Categories: ';
            echo trim($output, $separator);
        }
        ?>
  </li>
  <li>
    Author:
    <a href="<?php 
        echo esc_url(get_author_posts_url(get_the_author_meta('ID')));
        ?>
"><?php 
        echo get_the_author_meta('display_name');
        ?>
</a>
  </li>
</ul>

<?php 
    }
Example #14
0
/**
 * Wp in Progress
 * 
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
function novalite_after_content_function()
{
    if (is_home() || is_category() || is_page()) {
        the_excerpt();
    } else {
        the_content();
        the_tags('<footer class="line"><span class="entry-info"><strong>' . __('Tags', 'wip') . ':</strong> ', ', ', '</span></footer>');
        if (get_post_format()) {
            echo '<footer class="line"><span class="entry-info"><strong>' . __('Post type', 'wip') . ':</strong> ' . ucfirst(get_post_format()) . '</span></footer>';
        }
        if (novalite_setting('wip_view_comments') == "on") {
            comments_template();
        }
    }
}
/**
 * Wp in Progress
 * 
 * @author WPinProgress
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * It is also available at this URL: http://www.gnu.org/licenses/gpl-3.0.txt
 */
function lookilite_after_content_function()
{
    if (is_home() || is_category() || is_search() || is_tag() || is_page() && get_post_type() != "page") {
        lookilite_excerpt();
        ?>

        <div class="post-info">
            <div class="left"> <?php 
        echo get_the_date('m.d.Y');
        ?>
 </div>
            <div class="right"> <?php 
        the_category(', ');
        ?>
 </div>
        </div>
            
        <div class="clear"></div>

	<?php 
    } else {
        the_content();
        if (get_post_format()) {
            echo '<footer class="line"><strong>' . __('Post type', "lookilite") . ':</strong> ' . ucfirst(get_post_format()) . '</footer>';
        }
        if (get_post_type() == "post") {
            ?>
        <div class="post-info">
            <div class="left"> <?php 
            the_category(', ');
            ?>
 </div>
            <div class="right"> <?php 
            the_tags('Tags: ', ', ', '');
            ?>
  </div>
        </div>
            
        <div class="clear"></div>

    <?php 
        }
    }
    ?>

<?php 
}
Example #16
0
 function csadv_after_content_function($type = "")
 {
     if (!csadv_is_single()) {
         do_action('csadv_excerpt');
     } else {
         if ((!csadv_postmeta('csadv_view_post_info') || csadv_postmeta('csadv_view_post_info') == "on") && $type == "post") {
             echo '<div class="line"><div class="post-info">';
             echo '<span class="genericon genericon-time"></span>' . get_the_date();
             echo '<span class="genericon genericon-category"></span>';
             the_category(', ');
             the_tags('<span class="genericon genericon-tag"></span>', ', ');
             if (!csadv_postmeta('csadv_post_icons') || csadv_postmeta('csadv_post_icons') == "on") {
                 echo csadv_posticon();
             }
             echo '</div></div>';
         }
         the_content();
         echo '<div class="clear"></div>';
     }
 }
Example #17
0
 function suevafree_after_content_function()
 {
     if (!suevafree_is_single()) {
         if (!suevafree_setting('suevafree_view_readmore') || suevafree_setting('suevafree_view_readmore') == "on") {
             do_action('suevafree_excerpt');
         } else {
             if (suevafree_setting('suevafree_view_readmore') == "off") {
                 the_content();
             }
         }
     } else {
         the_content();
         echo "<div class='clear'></div>";
         wp_link_pages();
         echo '<p class="categories"><strong>' . __("Categories: ", "suevafree") . '</strong>';
         the_category(', ');
         echo '</p>';
         the_tags('<footer class="line"><div class="entry-info"><span class="tags">Tags: ', ', ', '</span></div></footer>');
         comments_template();
     }
 }
Example #18
0
function jr_blog_post_after()
{
    if (!is_singular('post')) {
        return;
    }
    // only show on blog post single page
    if (is_page()) {
        return;
    }
    // don't do post-meta on pages
    global $post;
    if (get_option('jr_ad_stats_all') == 'yes') {
        ?>
		<p class="stats"><?php 
        appthemes_stats_counter($post->ID);
        ?>
</p>
		<?php 
    }
    the_tags('<p class="tags">' . __('Tags:', 'appthemes') . ' ', ', ', '</p>');
}
function list_tags_from_current_post()
{
    $postTags = get_the_tags();
    ?>

    <?php 
    if ($postTags) {
        ?>

      <h5>Article Tags</h5>

      <ul>

      <?php 
        the_tags('<li>', ' | ', '</li>');
        ?>

      </ul>

    <?php 
    }
}
Example #20
0
    function appointment_post_meta_content()
    {
        $appointment_options = theme_setup_data();
        $news_setting = wp_parse_args(get_option('appointment_options', array()), $appointment_options);
        if ($news_setting['home_meta_section_settings'] == '') {
            ?>
			<div class="blog-post-lg">
				<a href="<?php 
            echo get_author_posts_url(get_the_author_meta('ID'));
            ?>
"><?php 
            echo get_avatar(get_the_author_meta('user_email'), $size = '40');
            ?>
</a><?php 
            _e('By', 'appointment');
            ?>
<a href="<?php 
            echo get_author_posts_url(get_the_author_meta('ID'));
            ?>
"><?php 
            echo get_the_author();
            ?>
</a>
				<?php 
            $tag_list = get_the_tag_list();
            if (!empty($tag_list)) {
                ?>
				<div class="blog-tags-lg"><i class="fa fa-tags"></i><?php 
                the_tags('', ', ', '');
                ?>
</div>
				<?php 
            }
            ?>
			</div>
			<?php 
        }
    }
Example #21
0
/**
 * Display common post footer information. The parent theme originally showed
 * category and tags. Keeping <div class="postinfo"> without anything else keeps
 * a small bubble divider.
 */
function webonary_zeedisplay_display_entry_footer()
{
    $options = get_option('themezee_options');
    if (isset($options['themeZee_blog_mode']) and $options['themeZee_blog_mode'] == BLOG_MODE) {
        ?>
		<div class="postinfo">
			<!-- Category display -->
			<span class="folder"><?php 
        the_category(', ');
        ?>
 </span>

			<!-- Tag display -->
			<span class="tag"><?php 
        if (get_the_tags()) {
            the_tags('', ', ');
        }
        ?>
</span>
		</div>
		<?php 
    }
}
Example #22
0
 public function site_custom_columns($column)
 {
     global $post;
     switch ($column) {
         case "title":
             the_title();
             break;
         case "url":
             $m = $this->mshot(100);
             echo '<a href="' . $m[0] . '" target="_blank">' . $m[0] . '</a>';
             break;
         case "category":
             the_category();
             break;
         case "post_tags":
             the_tags('', ', ');
             break;
         case "siteurl":
             $m = $this->mshot(150);
             echo $m[1];
             break;
     }
 }
    function appointment_post_meta_content()
    {
        $current_options = get_option('appointment_options');
        if ($current_options['meta_section_settings'] == 'on') {
            ?>
			<div class="blog-post-lg">
					<a href="<?php 
            echo get_author_posts_url(get_the_author_meta('ID'));
            ?>
"><?php 
            echo get_avatar(get_the_author_meta('user_email'), $size = '40');
            ?>
</a><?php 
            _e('By', 'appointment');
            ?>
<a href="<?php 
            echo get_author_posts_url(get_the_author_meta('ID'));
            ?>
"><?php 
            echo get_the_author();
            ?>
</a>
					<?php 
            $tag_list = get_the_tag_list();
            if (!empty($tag_list)) {
                ?>
					<div class="blog-tags-lg"><i class="fa fa-tags"></i><?php 
                the_tags('', ', ', '');
                ?>
</div>
					<?php 
            }
            ?>
			</div>
			<?php 
        }
    }
Example #24
0
/**
 * Post meta for below the post.
 */
function restful_post_meta_below()
{
    if (!has_category() && !has_tag()) {
        return false;
    }
    ?>

  <div class="entry__meta entry__meta--inline entry__meta--below">
    <?php 
    if (has_category()) {
        ?>
      <div class="entry__meta-item">
        <i class="fa fa-folder"></i>
        <?php 
        the_category(', ');
        ?>
      </div>
    <?php 
    }
    ?>

    <?php 
    if (has_tag()) {
        ?>
      <div class="entry__meta-item">
        <i class="fa fa-tags"></i>
        <?php 
        the_tags('');
        ?>
      </div>
    <?php 
    }
    ?>
  </div>

<?php 
}
Example #25
0
"><h1><?php 
    the_title();
    ?>
</h1></a>
				<p class="post-meta"><?php 
    the_time('F jS, Y');
    ?>
</p>
				<div class="post-content">
					<?php 
    the_content();
    ?>
				</div>
				<div class="post-tags">
					<?php 
    the_tags('<p class="tag-title">Tags:</p><p class="tags">', ', ', '</p>');
    ?>
				</div>
			</article>

		<?php 
}
?>
		<?php 
wp_reset_postdata();
?>

		<div class="pagination">
			<?php 
if (get_next_posts_link()) {
    ?>
Example #26
0
        edit_post_link('<img src="' . get_bloginfo('template_directory') . '/images/pencil.png" alt="Edit Link" />', '<span class="editlink">', '</span>');
        ?>
						
				<p class="metadata"><?php 
        the_time(get_option('date_format'));
        ?>
 in <?php 
        the_category(', ');
        if (is_home() && !is_page() && !is_single() && !is_search() && !is_archive() && !is_author() && !is_category() && !is_paged() or is_search()) {
            ?>
&nbsp;with&nbsp;<?php 
            comments_popup_link('Leave a <span>Comment</span>', '1&nbsp;<span>Comment</span>', '%&nbsp;<span>Comments</span>', 'commentslink', '<span class="commentslink">Closed</span>');
        }
        ?>
<br /><?php 
        the_tags('Tags: ', ', ', '<br />');
        ?>
</p>
						
				</div>
	
				<div class="itemtext">
					<?php 
        if (is_archive() or is_search()) {
            the_excerpt();
        } else {
            the_content("Continue Reading &raquo;");
        }
        ?>
	
					<?php 
Example #27
0
				 
		<?php 
}
?>
		<?php 
the_excerpt();
?>
		<?php 
wp_link_pages(array('before' => '<nav class="page-link">' . __('Pages:', 'magazine01'), 'after' => '</nav>'));
?>
	
	</div>
	<!-- .post-content -->
	<footer class="clearfix">	
		<p class="taxonomies">			
			<span><?php 
_e('Categories', 'magazine01');
?>
:</span> <?php 
the_category(', ');
?>
<br />
			<?php 
the_tags('<span>Tags:</span> ', ', ');
?>
		</p>		
	</footer>
</article>
<!-- .post -->
    			
Example #28
0
        ?>
</p>
	                		
	                	</header>
	                	
	                	<section class="entry fix">
	                		<?php 
        the_content();
        ?>
							<?php 
        wp_link_pages(array('before' => '<div class="page-link">' . __('Pages:', 'woothemes'), 'after' => '</div>'));
        ?>
						</section>
											
						<?php 
        the_tags('<p class="tags">' . __('Tags: ', 'woothemes'), ', ', '</p>');
        ?>
					
					</div>
	                                
	            </article><!-- .post -->
	
					<?php 
        if (isset($woo_options['woo_post_author']) && $woo_options['woo_post_author'] == 'true') {
            ?>
					<aside id="post-author" class="fix">
						<div class="profile-image"><?php 
            echo get_avatar(get_the_author_meta('ID'), '70');
            ?>
</div>
						<div class="profile-content">
Example #29
0
        ?>
</a></h2></div>
			<div class="rich-content">
				<?php 
        the_content(__('Read more...', 'isimple'));
        ?>
				<?php 
        wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Page', 'twentyeleven') . '</span>', 'after' => '</div><div class="c"></div>', 'link_before' => '<span class="current">', 'link_after' => '</span>'));
        ?>
			</div>
			<div class="under">
				<div class="tags-category"><span class="categories"><?php 
        the_category(' ');
        ?>
</span><span class="tags"><?php 
        the_tags('#', '#', '');
        ?>
</span></div>
				<div class="date-comment"><a href="/<?php 
        the_time('Y/m/j');
        ?>
"><?php 
        the_time(__('Y/m/j', 'isimple'));
        ?>
</a><?php 
        comments_popup_link(__('No comments', 'isimple'), __('1 comment', 'isimple'), __('% comments', 'isimple'), '', __('Comments off', 'isimple'));
        ?>
</div>
			</div>
		</div>
		<!--<div class="shadow"></div>-->
				<div class="post-entry">
					<?php 
        the_content(__('Read more &#8250;', 'responsive'));
        ?>
					<?php 
        wp_link_pages(array('before' => '<div class="pagination">' . __('Pages:', 'responsive'), 'after' => '</div>'));
        ?>
				</div>
				<!-- end of .post-entry -->

				<?php 
        if (comments_open()) {
            ?>
					<div class="post-data">
						<?php 
            the_tags(__('Tagged with:', 'responsive') . ' ', ', ', '<br />');
            ?>
						<?php 
            the_category(__('Posted in %s', 'responsive') . ', ');
            ?>
					</div><!-- end of .post-data -->
				<?php 
        }
        ?>

				<div class="post-edit"><?php 
        edit_post_link(__('Edit', 'responsive'));
        ?>
</div>

				<?php