Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $activities_label = get_post_meta(get_the_ID(), "activities_label", true);
- ...
- while($query->have_posts()) :
- ...
- if (false !== strpos($activities_label, '|') && false !== strpos($activities_label, PHP_EOL)) echo $activities_label;
- endwhile;
- //view
- Blue Elephant
- 400 thb|Rose
- 200 thb
- 300-600 thb|Blue Lagoon
- The Blue Lagoon
- 400 thb|Rose
- 200 thb
- 300-600 thb|Blue Lagoon
- Scandic Bar
- 400 thb|Rose
- 200 thb
- 300-600 thb|Blue Lagoon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement