Need help to add this to my theme.
-
Need help to add this to my theme. I followed your instructions. I opened single.php, post.php, page.php in my theme but I did not Find “<?php while (have_posts()) : the_post(); ?>”
PLease help.
Thanks
********************************************************************************************
Open wp-content/themes/<YOUR THEME NAME>/index.php (You may place it in single.php, post.php, page.php, etc also)
Find: <?php while (have_posts()) : the_post(); ?>
Simply add this code inside the loop where you want the email link to display: if(function_exists(’email_link’)) { email_link(); }
********************************************************************************************
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need help to add this to my theme.’ is closed to new replies.