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 » Header configuration & styling »

CSS Date Icon on posts


  #1  
Old Jun 21, 2011, 02:00 PM
CypherUK
 
1 posts · Jun 2011
Hi guys

Firstly, Thank You for everything you do to make this theme everything that it is! - You're legends!

Secondly, I'm really sorry if this has been covered elsewhere, but i can't find if it has anywhere, and also if it sounds like something dumb, i apologize !

I'm just starting to set up my theme and i came across this post http://forum.bytesforall.com/showthread.php?t=12627 about putting a date/calender icon in kicker of posts.

Just what i wanted...

Then i came across this post - http://forum.bytesforall.com/showthr...light=calendar - that detailed the change in code in 3.6.4 - Sweet!

So now i am using 3.6.7 and i notice that the add HTML/CSS section states
Quote:
Since 3.6.5 PHP code cannot be used anymore in HTML/CSS Inserts
This is fine, but in the first post, the call for the icon image was:
Code:
   background: url('<?php get_option('wpurl'); ?>/wp-content/atahualpa_images/cal-redgradient.jpg') repeat-x  scroll top left;
Now the above has a PHP call in it. So my question is, with 3.6.7, what would the new code be?

I've had a try to sort it, but i can't seem to get it working

Can someone point me in the right direction to save me pulling out any more hair ?

Many Thanks
Mark
  #2  
Old Jun 22, 2011, 08:31 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see http://forum.bytesforall.com/showthread.php?t=14303
__________________
"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 22, 2011, 09:55 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Quote:
Originally Posted by CypherUK
So now i am using 3.6.7 and i notice that the add HTML/CSS section states "Since 3.6.5 PHP code cannot be used anymore in HTML/CSS Inserts"

This is fine, but in the first post, the call for the icon image was:
Code:
   background: url('<?php get_option('wpurl'); ?>/wp-content/atahualpa_images/cal-redgradient.jpg') repeat-x  scroll top left;
Now the above has a PHP call in it. So my question is, with 3.6.7, what would the new code be?
You would just put the full path to the image such as
Code:
   background: url('http://www.yoursite.com/wp-content/atahualpa_images/cal-redgradient.jpg') repeat-x  scroll top left;
__________________
~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.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar icon for date jpreuss Post-Kicker, -Byline & -Footer 7 Jun 9, 2011 09:05 AM
I have a mysterious facebook icon on my posts–yes, I believe I looked there for it... mimilemeu Sidebars & Widgets 9 May 27, 2011 12:28 PM
[SOLVED] CSS Calendar icon not displaying correctly since upgrade to 3.6.7 GarethP Header configuration & styling 4 May 19, 2011 01:30 AM
Grouping posts by date. grimbles Center area post/pages 1 Jun 17, 2010 05:20 AM
[SOLVED] BUGFIX - 343/344 - COMMENTS FEED ICON area of the css.php has an error juggledad Old Version fixes and change logs 0 Oct 15, 2009 02:54 PM


All times are GMT -6. The time now is 12:08 PM.


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