	{* ***************************************** *}
	{* for POST DETAIL and PORTFOLIO DETAIL      *}
	{* ***************************************** *}

	{if $wp->isSingular(post) or $wp->isAttachment or $wp->isSingular(portfolio-item) or $wp->isSingular(event) or $wp->isSingular(job-offer)}
		<span class="entry-date-post">
				{if $wp->isSingular(event)}
					{var $meta = $post->meta('event-data')}
					<span class="date-text">{__ 'Duration:'}</span>
					<time class="date" datetime="{$post->date('c')}">
						{$meta->dateFrom|dateI18n: 'd. F, Y'}
					</time>
						{if $meta->dateTo != ""}
						<span class="date-separator">-</span>
						<time class="date" datetime="{$post->date('c')}">
							{$meta->dateTo|dateI18n: 'd. F, Y'}
						</time>
						{/if}
				{elseif $wp->isSingular(job-offer)}
					{var $meta = $post->meta('offer-data')}
					<span class="date-text">{__ 'Validity:'}</span>
					<time class="date" datetime="{$post->date('c')}">
						{$meta->validFrom|dateI18n: 'd. F, Y'}
					</time>
					<span class="date-separator">-</span>
					<time class="date" datetime="{$post->date('c')}">
						{$meta->validTo|dateI18n: 'd. F, Y'}
					</time>
				{else}
				<time class="date" datetime="{$post->date('c')}">
						{$post->dateI18n('d. F, Y')}
				</time>
				{/if}
		</span>

	{* ********************* *}
	{* for OTHER PAGES       *}
	{* ********************* *}
	{else}
		<span class="entry-date">
				<time class="date" datetime="{$post->date('c')}">
					<span class="monthyear">
						{capture $monthFormat}{_x 'F Y', 'monthly archives date format'}{/capture}
						<a class="link-month" href="{$post->monthArchiveUrl}" title="{__ 'Link to monthly archives: %s'|printf: $post->dateI18n($monthFormat)}">
							{$post->dateI18n('M')}
						</a>

						{capture $yearFormat}{_x 'Y',  'yearly archives date format'}{/capture}
						<a class="link-year" href="{$post->yearArchiveUrl}" title="{__ 'Link to yearly archives: %s'|printf: $post->dateI18n($yearFormat)}">
							{$post->dateI18n('Y')}
						</a>
					</span>
					<a class="link-day" href="{$post->dayArchiveUrl}" title="{__ 'Link to daily archives: %s'|printf: $post->dateI18n}">
						{$post->dateI18n('d')}
					</a>
				</time>
		</span>
	{/if}

