Hi all, thanks for your time and your suggestions.
Could anyone please suggest how to remove the author and date information below from the blog post page?
28-02-2022
by XXXXX XXXX
I have followed this guide from ecom and cleared cache but it didn't work . I am also using an ecom theme but there is no option for "page_content.pre.tpl" ,it is now page_extra.pre.tpl and I assume TEMA means current theme so chose my theme - emerald. I searched for author and deleted this line to check
{__("by")} {$subpage.author}
But it still appears.
Here is the path:
design/themes/emerald_theme/templates/addons/blog/hooks/pages/page_extra.pre.tpl
Here is the code in the tpl
{if $page.page_type == $smarty.const.PAGE_TYPE_BLOG}
{if $subpages}
{capture name="mainbox_title"}{/capture}
{include file="common/pagination.tpl"}
{foreach from=$subpages item="subpage"}
{if $subpage.main_pair}
{include file="common/image.tpl" obj_id=$subpage.page_id images=$subpage.main_pair image_width=$addons.ath_emerald_theme_settings.blog_img_width|default:387 image_height=$addons.ath_emerald_theme_settings.blog_img_height|default:132 }
{$subpage.timestamp|date_format:"%d"}
{$subpage.timestamp|date_format:"%b"}
{else}
{$subpage.timestamp|date_format:"%d"}
{$subpage.timestamp|date_format:"%b"}
{/if}
{$subpage.page}
{__("by")} {$subpage.author}
{/foreach}
{include file="common/pagination.tpl"}
{/if}
{if $page.description}
{capture name="mainbox_title"}{$page.page}{/capture}
{/if}
{/if}
Thank you