Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $my_linkdownload = get_post_meta( get_the_ID(), 'linkdownload', true);
- if( ! empty( $my_linkdownload ) ) {
- echo do_shortcode('[pms-restrict subscription_plans="8"] <a href="' . $my_linkdownload . '" target="_blank"><img src="http://koran.pustakakoran.com/img/etc/pdf.png"> </a>[/pms-restrict]');
- }
- ?>
Add Comment
Please, Sign In to add comment