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