Hello,
How could I render the Quote post title like in a Standard one : <h1 class=”post-title entry-title” itemprop=”headline”>?
I don’t want a quote instead of the post title.
Thanks
Hey Anton!
Thank you for using Enfold.
Please add this in the functions.php file:
/**
* Function for posts of type quote: title is wrapped in blockquote tags instead of h1
*/
function avia_quote_content_filter($current_post)
{
if(!empty($current_post['title']))
{
//$current_post['title'] = "<div class='". avia_offset_class('meta', false). "'><h1 class='first-quote'>".$current_post['title']."</h1></div>";
$current_post['title'] = "<h1 class='first-quote' ".avia_markup_helper(array('context' => 'entry_title','echo'=>false)).">".$current_post['title']."</h1>";
}
return $current_post;
}
Regards,
Ismael
Well done, it’s working.
thank you.
Resolved