Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #560716

    Hi,

    In the following of this resolved thread, I discovered that the quote posts’ titles became now without any link and bigger then other titles: http://www.newpointdeview.com/author/anton-malafeev/page/6/

    Could you give the code to correct that, pls ?

    #560926

    Hi Anton!

    I do not see any quotes. Can you take a screenshot and highlight what your trying to do so we can get a better idea?

    Best regards,
    Elliott

    #561090

    This is normal you don’t see any quote. Because, as mentionned, I have requested in this resolved thread to make the Quote posts’ titles normal, llike all others. So, Ismael gave me this code :

    /**
     *  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;
    	}

    And now I got this result — image

    So I’d like the right code to make this title looking like others — with a link and the same font size, please.

    #561401

    Hey!

    Please try changing the code to following one

    /**
     *  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))."><a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'>".$current_post['title']."</a></h1>";
    		}
    		return $current_post;
    	}

    and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .entry-content-header h1.first-quote {
        font-size: 19px;
    }

    Cheers!
    Yigit

    #561656

    Resolved
    Thank you

    #561659

    Hey!

    You are welcome Anton, let us know if you have any other questions or issues!

    Cheers!
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Quote posts’ titles without any link and bigger then other titles’ is closed to new replies.