Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $value = get_field( "цитата" );
- if( $value ) {
- echo "
- <div class="about-block__text">
- <h2>$value</h2>
- <div class="social">
- <a class="svg" href="">
- <svg>
- <use xlink:href="<?php echo get_template_directory_uri(); ?>/img/sprite-inline.svg#icon_fb"></use> // и данная ссылка просто не выполняется
- </svg></a>
- <a class="svg" href="">
- <svg>
- </div>
- </div>";
- } else {
- echo "<div class="about-block__text" style=" display: none"></div>";
- }
- ?>
Add Comment
Please, Sign In to add comment