Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (is_tax('actors'))
- {
- echo "<img src='".do_shortcode('[xy_actors field="profile-image"]')."' />";
- }
- elseif (is_tax('directors'))
- {
- echo "<img src='".do_shortcode('[xy_directors field="profile-image"]')."' />";
- }
- elseif (is_tax('writers'))
- {
- echo "<img src='".do_shortcode('[xy_writers field="profile-image"]')."' />";
- }
- elseif (is_tax('dramas'))
- {
- echo "<img src='".do_shortcode('[xy_dramas field="profile-image"]')."' />";
- }
- elseif (is_tax('movies'))
- {
- echo "<img src='".do_shortcode('[xy_movies field="profile-image"]')."' />";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement