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 » New Versions, & Updating »

[SOLVED] Animate Category Menu Bar / Custom Post Date Not Working After Update to 3.6


  #1  
Old May 23, 2011, 06:16 PM
sar
 
17 posts · Aug 2010
After updating to 3.6.7, I have noticed that the Animate Category Menu Bar option is not working. I have it set to yes, but it is not working as it was on 3.6.4.

Also, the code that I added to Add HTML/CSS Inserts in 3.6.4 for a custom post date is no longer working. I know that I cannot use PHP in this section any longer and would like to know where else I can put the code to make it work in 3.6.7. The code is below.

Thank you in advance for your assistance.


.date {
background: url('<?php bloginfo('template_url'); ?>/images/datebox.gif') repeat-x scroll top left;
display: inline;
float: left;
width:80px;
text-align:center;
color:#FFFFFF;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
border:1px solid #000000;
margin: 30px 10px 10px 10px;
}
.date-inside {
border:2px solid #FFFFFF;
padding:2px;
}
.date .date-day {
font-size:22px;
}
  #2  
Old May 23, 2011, 06:36 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Did you apply the BUGFIX's?

you need to change the <?php bloginfo('template_url'); ?> to the full path
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 23, 2011, 06:45 PM
sar
 
17 posts · Aug 2010
Juggledad,
Thanks for the quick response! I have not yet applied the bugfix's. (I am still a bit of a newbie...Do I need to apply all eight and do you have a thread on the proper way to do this?). Also, I am not sure what you mean by changing to the full path for the custom post date portion of my question. Any additional help you could provide would be appreciated.
Thanks again!
  #4  
Old May 23, 2011, 07:09 PM
sar
 
17 posts · Aug 2010
Juggle Dad,
Thanks for your first post. I found the thread on describing how to apply the bug fixes. Everything is working great again.
Thanks!!!
  #5  
Old Jun 21, 2011, 12:49 PM
sar
 
17 posts · Aug 2010
Juggledad,

My custom post date has stopped working again in 3.6.7. I have checked everything possible and cannot figure out why this is not working.
Code below:

Added to CSS / HTML Insert:

.date {
background: url(/sitename/blog/wp-content/themes/atahualpa/images/datebox.gif);
display: inline;
float: left;
width: 80px;
text-align: center;
vertical-align: middle;
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
border: 1px solid #000000;
margin: 30px 10px 10px 10px;
}
.date-inside {
border: 2px solid #FFFFFF;
padding: 2px;
}
.date .date-day {
font-size: 22px;
}


Added to edit post/page info items in kickers:

<div class="date">
<div class="date-inside">
<div class="date-month"><?php the_time('M'); ?></div>
<div class="date-day"><?php the_time('d'); ?></div>
<div class="date-year"><?php the_time('Y'); ?></div>
</div>
</div>



Please note - working on local server.

Any help would be appreciated!
Thanks again!
  #6  
Old Jun 21, 2011, 02:06 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Because of WordPress requirements most php does not run in the theme options.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Jun 21, 2011, 02:17 PM
sar
 
17 posts · Aug 2010
Thank you for the reply. I had everything exactly where I specified and it was working in 3.6.7 up until a few days ago. Where should I put the PHP (that is currently located in the kickers) to get this to work again?

Thanks!
  #8  
Old Jun 21, 2011, 02:24 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I don't know how it could have worked with 3.6.7. The only way I would know of getting php code to work there is to create a new widget area in the kicker area and then use a php aware widget for you code.

The php code for new widget areas is one piece of code that will work in 3.6.7.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Jun 21, 2011, 02:39 PM
sar
 
17 posts · Aug 2010
Can I place it in the php functions file somewhere? If so, would I need to add something additional to tell it to go to the kicker? Or, is there another way to have a 80px by 80px box display the post date?

Thanks!
  #10  
Old Jun 21, 2011, 08:41 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You could just use the codes as outlined in the Post/Page Info items area. For instance something like the following put the Month, Day, and Year over one another. Then you could style it with a class of kicker-date.
HTML Code:
<div class="kicker-date">%date('F')%<br />%date('jS')%<br />%date('Y')%</div>
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #11  
Old Jun 22, 2011, 08:24 AM
sar
 
17 posts · Aug 2010
Thank you!!!! That worked perfectly. Below is the code that I added to the kicker section (I added a border). I adjusted they styling in the CSS inserts.

<div class="kicker-date">
<div class="kicker-date-inside">%date('j')%<br />%date('M')%<br />%date('Y')%</div>

Thanks again!

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to delete author and date under the post/category title ikllc Post-Kicker, -Byline & -Footer 3 May 1, 2011 08:05 PM
[SOLVED] Horizontal Category Menu Bar Not Working in Wordpress v2.8.4 harpek Header configuration & styling 1 Aug 12, 2009 03:04 AM
category pages - with just the linked title, author, date of each related post janey73 Atahualpa 3 Wordpress theme 2 Jun 25, 2009 02:11 PM
The %date-modified('F jS, Y')% in post footer not working Glottis Post-Kicker, -Byline & -Footer 11 Apr 11, 2009 05:52 AM


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


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