Advertisement
paolo_bortolotti

Php

Jun 4th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. <?php foreach( $featured_posts as $featured_post ):
  2. $permalink = get_permalink( $featured_post->ID );
  3. $title = get_post_field( 'post_name' , $featured_post->ID );
  4. $string = '<span></span>';
  5. $pippo = strip_tags($string);
  6.  
  7. ?>
  8.  
  9. <?php
  10. echo $string;
  11.  
  12. echo $pippo;
  13. if ($title == $string) {
  14. echo get_the_title();
  15. ?>
  16.  
  17.  
  18.  
  19. <?php } else {
  20. } ?>
  21.  
  22. <?php endforeach; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement