Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

[SOLVED] Post info items not working in 3.6.7?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 14, 2011, 12:21 AM
cfibanez
 
55 posts · Apr 2010
I have a sticky at the top of the blog homepage that does not display the date (byline) or the footer. This was achieved in 3.6.4 by editiing the post info items in the theme options. After upgrading to 3.6.7, this no longer works and the date and footer are shown in the sticky. The theme options I was using are as follows:

For the byline:
<?php if (!is_sticky() ) { ?>
<em>%date('F jS, Y')%</em>
<?php } ?>

For the footer:
<?php if (!is_sticky() ) { ?>
Category: %categories-linked(', ')% | %tags-linked('Tags: ', ', ', ' | ')% %comments('Leave a comment', 'One comment', '% comments', 'Comments are closed')%
<?php } ?>

After upgrading to 3.6.7, the date and footer appear in the sticky anyway, regardless of this code.

Please help!
  #2  
Old Jun 14, 2011, 04:34 AM
juggledad's Avatar
juggledad
 
22,245 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Search the forums, can't use php in theme options anymore
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 14, 2011, 05:47 AM
cfibanez
 
55 posts · Apr 2010
Thanks! May be you could just let me know where I can insert my php code for theme options (byline and footer) mentioned above. Cant this be inserted somewhere to achieved the same result? css.php? js.php? index.php? Elesewhere?

Many thanks!
  #4  
Old Jun 14, 2011, 06:23 AM
juggledad's Avatar
juggledad
 
22,245 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
you will want to edit the index.php and put it there. You won't be able to mix the Atahualpa variables like '%date()' with the php though.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 14, 2011, 09:54 AM
cfibanez
 
55 posts · Apr 2010
Thanks. Would it be too much to ask for help with translating those variables into php that makes sense?
  #6  
Old Jun 14, 2011, 10:17 AM
cfibanez
 
55 posts · Apr 2010
Hi juggledad, I found the way. Thanks anyhow!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Post Page Info Items Question joestyer Post-Kicker, -Byline & -Footer 1 Aug 8, 2010 04:50 AM
Sociable, NextPage, and Post/Page Info Items ... A Thank You. fromtheranks Plugins & Atahualpa 0 Jun 26, 2009 09:40 PM
Post/Page Info Items - Trackbacks Andrea Post-Kicker, -Byline & -Footer 2 Feb 27, 2009 05:13 AM
Post Info Items and new plugins technstuff Plugins & Atahualpa 9 Feb 26, 2009 07:30 PM
Post / Page Info Items - Button crashes comp, how do I add to post-footer? Image help everygirlssecret Post-Kicker, -Byline & -Footer 1 Jan 5, 2009 01:12 PM


All times are GMT -6. The time now is 11:13 PM.


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