Conditional Link in the Footer
I've search and searched the WordPress site and applied many different techniques for the is_category conditional tag but they don't seem to be working for some reason. For a number of reasons I am moving the "read more" link into the post footer. BUT, there is one category (and its sub-categories) of posts where I do not want the link to appear. Any suggestions?
This is the code I currently working, but it is showing the content on all categories, not just the three I have identified. Any assistance would be appreciated. Thank you. Code:
<?php if ( is_category( array( 69, 70, 71 ) ) {?> <div id="post-footer-read-more" >Continue reading: "<a href="%permalink%">%post-title%</a>"</div><br /><br /> <?php } ?> |
what version of Atahualpa and WP?
What is the url? |
All times are GMT -6. The time now is 11:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.