Beispiel #1
0
</a></div>
<div style="width: 132px;  float: left; display:block;height: 50px; line-height: 50px; text-align: center; background: #00468c; -moz-border-radius-topright: 10px;-webkit-border-top-right-radius: 10px;
border-top-right-radius: 10px;"><a style="color: #fff; font-size:16px; font-weight:bold;text-decoration: none;" href="http://www.octagram.ru/mydiler/"><?php 
_e('Dealers', 'octa');
?>
</a></div>

 

<div style="background: #f2f5f8;clear:both;display: block;float: left;width: 700px;padding: 20px 0;" >
<span style="padding-left: 30px; color: #b4bbc2; font-size: 14px; "><?php 
_e('Cities', 'octa');
?>
</span><br><br>
<?php 
$archive_tags = post_type_tags('install');
foreach ($archive_tags as $tag) {
    echo '<a style="padding-left: 30px; line-height: 36px;color: #383737; font-size: 16px; width: 25%; float: left; display: block;font-weight: bold; text-decoration: none;" href="' . get_tag_link($tag->term_id) . '">' . esc_html($tag->name) . '</a>';
}
?>
	</div><div class="clear"><br><br></div>

<?php 
$term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
global $wp_query;
query_posts(array_merge($wp_query->query, array('post_type' => 'install', 'posts_per_page' => 10)));
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
Beispiel #2
0
        <a class="col-xs-offset-2 col-xs-8 col-sm-offset-3 col-sm-6 featured-news" href="<?php 
            the_permalink();
            ?>
">
            <?php 
            the_post_thumbnail('large', ['class' => 'img-responsive']);
            ?>
            <?php 
            the_title();
            ?>
        </a>
      <?php 
        }
        wp_reset_postdata();
        // display the featured news tags
        $archive_tags = post_type_tags('news');
        if ($archive_tags) {
            ?>

      <div class="tags-container">
        <div class="col-xs-offset-2 col-xs-8 col-sm-offset-3 col-sm-6">
          <span class="tag-header">Tags</span>
          <?php 
            foreach ($archive_tags as $tag) {
                ?>
            <a href="<?php 
                echo get_tag_link($tag->term_id);
                ?>
"><?php 
                echo esc_html($tag->name);
                ?>
Beispiel #3
0
<article>
			<h4>Popular Resource Topics</h4>
			<br/>

	<ul style="margin: 0;">

	<?php 
$archive_tags = post_type_tags('ercs', 'whitepapers');
foreach ($archive_tags as $tag) {
    echo '<h5><a href="' . get_tag_link($tag->term_id) . '">' . esc_html($tag->name) . '</a></h5>';
}
?>

	</ul>
</article>