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 »

[SOLVED] Post info items not working in 3.6.7?


  #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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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:14 PM.


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