Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Edit date in index.php


 
Prev Previous Post   Next Post Next
  #1  
Old Oct 5, 2016, 06:02 AM
_kimberley's Avatar
_kimberley
 
51 posts · Dec 2011
Amsterdam
Edit date in index.php

Oke I got a atahualpa-child theme with index.php and I would like to echo date like you can see here

Code:
<?php bfa_post_headline('<div class="post-headline"><div class="date">29&nbsp;<span>okt</span></div>','</div>'); ?>
But how to echo just date number and most important, the month in 3 characters.
10 OKT, 9 DEC, etc, etc.

CSS and HTML is done, only I need to know how to echo these dates. I think something like this?
Code:
<?php bfa_post_headline('<div class="post-headline"><div class="date">'. the_date(d) .'<span>'. the_date(m) .'</span></div>','</div>'); ?>
But that doen's work
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Donde editar / where edit = index.php, footer.php etc darkleider Montezuma Theme 4 Mar 24, 2013 04:36 AM
[SOLVED] Post Footer - Edit Center Column in Index.php Big Geek Daddy Center area post/pages 2 Aug 17, 2011 04:51 PM
[SOLVED] Date/time problem in Edit POST/PAGE INFO ITEMS nikflorida Post-Kicker, -Byline & -Footer 15 Oct 27, 2010 10:59 AM


All times are GMT -6. The time now is 06:18 PM.


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