public
Created

  • Download Gist
gistfile1.php
PHP
1 2 3 4 5 6 7
<?php
$title = get_the_title();
$link = get_permalink();
 
echo do_shortcode( '[popup url="' . $link . '" width="400" height="600"]' . $title . '[/popup]' );
 
?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.