Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   Conditional Link in the Footer (http://forum.bytesforall.com/showthread.php?t=15909)

imagineds Nov 9, 2011 12:00 PM

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 } ?>
%date('F jS, Y')% | %tags-linked('Tags: ', ', ', ' | ')% Category: %categories-linked(', ')% | %comments('Leave a comment', 'One comment', '% comments', 'Comments are closed')% %edit(' | ', 'Edit this post', '')%


juggledad Nov 9, 2011 01:04 PM

what version of Atahualpa and WP?
What is the url?


All times are GMT -6. The time now is 02:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.