Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

Conditional Link in the Footer


  #1  
Old Nov 9, 2011, 01:00 PM
imagineds
 
1 posts · Nov 2011
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', '')%
  #2  
Old Nov 9, 2011, 02:04 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what version of Atahualpa and WP?
What is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Footer + Img + Link chycoo Post-Kicker, -Byline & -Footer 12 May 22, 2011 08:06 PM
[SOLVED] link in footer chris46 Post-Kicker, -Byline & -Footer 2 Jan 29, 2011 02:43 AM
Conditional PHP issue MyJourneytoMillions Center area post/pages 6 Feb 10, 2010 04:11 PM
Forum Link in Footer clothahump Post-Kicker, -Byline & -Footer 10 Nov 26, 2009 07:10 AM
Adding a link to the Footer of my post Hamlet Post-Kicker, -Byline & -Footer 2 May 21, 2009 07:50 PM


All times are GMT -6. The time now is 12:10 AM.


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