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 »

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



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 03:07 PM.


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