Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #516641

    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

    #517178

    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

    #517764

    Well done, it’s working.
    thank you.
    Resolved

    #517932

    Hi,

    Great, glad we could help :-)

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Quote post title like in a Standard one’ is closed to new replies.