Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="col-md-3 col-sm-6 col-xs-12 portfolio_item mix
- <?php
- $tags = wp_get_post_tags($post-ID); // Получает метки текущего поста
- if ($tags){
- foreach($tags as $tag){
- echo ' '.$tag->name;
- }
- }
- ?>
- ">
- <div class="col-md-3 col-sm-6 col-xs-12 portfolio_item mix
- <?php
- $tags = get_tags(); // Получает все метки сайта
- if ($tags){
- foreach($tags as $tag){
- echo ' '.$tag->name;
- }
- }
- ?>
- ">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement