By Rick Palo on Monday, 09 January 2017
Posted in General
Replies 4
Likes 0
Views 193
Votes 0
The built-in Hako theme has a side calendar element below the blog author's name (class eb-post-calendar, I believe). I would like to add that element to the elegant blue theme. How do I do that?
Hi Rick,

I'm don't quite get the exact page that you refer this to, is it in the listing page (hako theme: http://screencast.com/t/JzX9Py6K2cm ) ? Can you provide us the exact page that consist the calendar so we can point out the code for you
·
Monday, 09 January 2017 10:45
·
0 Likes
·
0 Votes
·
0 Comments
·
I was wrong; it looks like the item is in the Origami template, not the Hako. I've attached a screenshot. I am referring to the display of the date underneath the author's avatar. This appears on pages like single category display page(s).
·
Tuesday, 10 January 2017 04:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Also, the element is visible on this page, http://www.redelijkheid.nl/
·
Tuesday, 10 January 2017 09:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Rick,

Owh, Now I know, the code of calendar can be found in this file:
JoomlaFolder/components/com_easyblog/themes/origami/blogs/latest/default.main.php
which is this code:

<div>
<div class="eb-post-calendar" itemprop="datePublished" content="<?php echo $post->getDisplayDate('created')->format(JText::_('DATE_FORMAT_LC4'));?>">
<div class="eb-post-calendar-m">
<?php echo $post->getDisplayDate($this->params->get('post_date_source', 'created'))->format('M');?>
</div>
<div class="eb-post-calendar-d">
<?php echo $post->getDisplayDate($this->params->get('post_date_source', 'created'))->format('d');?>
</div>
</div>
</div>
·
Tuesday, 10 January 2017 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post