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 »

[SOLVED] Add property in index.php


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 Jan 24, 2010, 05:33 AM
miseroprospero's Avatar
miseroprospero
 
4 posts · Jan 2010
Budapest
Send a message via Skype™ to miseroprospero
Hi everybody!!!
I'm trying to add a calendar icon besides the post title. It' supposed I should add this:

<div class="the_date"><span class="date_m"></span> <span class="date_d"></span></div>

before this:

<?php the_permalink(); ?>

in the index.php page, but there is nothing like that. Is there any other place?
Where should I work to add those instructions?

I found another thread talking about that, but unfortunately not solved....

Thanks in advanced!!!
  #2  
Old Jan 30, 2010, 12:58 AM
pakacil
 
20 posts · Jan 2010
Quote:
Originally Posted by miseroprospero
I'm trying to add a calendar icon besides the post title.
something like this ... (click to enlarge)
Click image for larger version

Name:	cal_title.jpg
Views:	432
Size:	26.7 KB
ID:	370

this is what i tried
on Atahualpa Options, go to Post & Pages section
• go to Style POSTS & PAGES tab

i added this code to HEADLINE Box
PHP Code:
backgroundurl(http://localhost/wp/wp-content/themes/atahualpa/images/cal.jpg) no-repeat left center; 
note: i uploaded a calendar image to ..atahualpa/images directory before

then, make an arrangement of title position in HEADLINE Box: Text, like this
PHP Code:
padding0 0 0 45px
hope it works like you want...
  #3  
Old Jan 30, 2010, 04:01 AM
miseroprospero's Avatar
miseroprospero
 
4 posts · Jan 2010
Budapest
Send a message via Skype™ to miseroprospero
Thanks!!
I've done it, looks like it leave the space, but cannot see the image.
Uploaded and its with the others...

Try
  #4  
Old Jan 30, 2010, 04:34 AM
pakacil
 
20 posts · Jan 2010
can you tell me your calendar image size and the custom background code that you added to HEADLINE Box?

if i'm not wrong...
you have 110 x 90 pixels image size, my recommendation is resize it to maximum 37 pixels (or less) height.
so it will be suitable for your title size.

be sure that the code in HEADLINE Box is...
PHP Code:
backgroundurl(http://www.miseroprospero.org/blog/wp-content/themes/atahualpa/images/date06.jpg) no-repeat left center; 
and be sure that the url must be refer to your image.

Last edited by pakacil; Jan 30, 2010 at 04:45 AM.
  #5  
Old Jan 30, 2010, 05:57 PM
miseroprospero's Avatar
miseroprospero
 
4 posts · Jan 2010
Budapest
Send a message via Skype™ to miseroprospero
Hi!
Looks like will be harder...
So, I tell u what I've done:

Resized the image to 33x27 pixel

Name:  date07.png
Views: 400
Size:  3.8 KB

Uploaded to images (Atahualpa)

and:



and:



Maybe I should "allow" it appearance, from another place...

Thanks for your help!!
  #6  
Old Jan 30, 2010, 06:14 PM
pakacil
 
20 posts · Jan 2010
I see the problem now, you just have to change the url of background image in your HEADLINE Box.

don't use that http://localhost/wp/... which i gave you first, because it's just for an example and that address is just my localhost or offline. I'm sorry, forgot to tell you about it.

you must use your blog address http://www.miseroprospero.org/blog/..., look at my 2nd comment, there you'll find a code

in other words:
simply change http://localhost/wp to http://www.miseroprospero.org/blog

Last edited by pakacil; Jan 30, 2010 at 06:17 PM.
  #7  
Old Feb 1, 2010, 07:11 AM
miseroprospero's Avatar
miseroprospero
 
4 posts · Jan 2010
Budapest
Send a message via Skype™ to miseroprospero
Oh my god...
I'm really stupid. Sorry.
Well, know it's ok. Dealing with sizes, margins, etc...
And to put the code in the right place, cause not working yet.
Thanks a lot for your help!!!

Bookmarks

Tags
calendar, icon, index.php, post title

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird Error With Code in Loop as Opposed to index.php adum Post-Kicker, -Byline & -Footer 1 Oct 10, 2009 04:48 AM
[SOLVED] 3.4.2: where to make changes that used to be in index.php? bcorrigan New Versions, & Updating 2 Jul 13, 2009 10:52 AM
[SOLVED] HELP! I tried to add something to my function.php page mgofootball Header configuration & styling 1 Jun 25, 2009 12:35 PM
Add custom php/js menu below header dmtompki Header configuration & styling 6 Jun 23, 2009 10:03 AM
make index.php be a "page" and blog postings go to different php page zhidoni Atahualpa 3 Wordpress theme 0 Jun 21, 2009 04:25 PM


All times are GMT -6. The time now is 07:44 AM.


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