php in single post
hi, how to insert a string php like Related Posts, inside the single post between footer and comments?
I do not want it to appear in the page. thanks |
To put it above the comments, and only on single post pages, put it into index.php at around line 217 right before this:
PHP Code:
PHP Code:
|
Hi Flynn,
I need to insert code in this part of the loop: <?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> I want to insert this code: <?php if ( is_single() ) { ?> <script type="text/javascript">show_banners('page_ad');</script> <?php } ?> What I'm trying to do is get my ads to appear in the same spot in all posts. I keep coming up with syntax errors because I don't know much PHP. Is this doable? Thanks |
Thank you Flynn,
I have been searching for this answer for hours!!! |
All times are GMT -6. The time now is 04:37 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.