symmetrical blog snippets

Discussion in 'ButterBelly WordPress Theme' started by vesity, Aug 13, 2014.

  1. vesity

    vesity Member

    Joined:
    Oct 3, 2013
    Messages:
    241
    Likes Received:
    0
    Hi! How do I force the size of the frames/rectangles which contain the blog thumbnails and text snippets? I want all the blog thumbnails/snippets to all line up symmetrically. Thanks!
     
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Add these lines in functions.php file
    Code:
    // for excerpt
    function custom_excerpt_length( $length ) {
            return 50;
        }
        add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    
    This will solve your issue.

    Thanks & Regards
    Yogesh Bhade
     
  3. ih2001

    ih2001 New Member

    Joined:
    Jul 30, 2014
    Messages:
    9
    Likes Received:
    0
    This did not work. I added this to my functions.php and that code showed up on the top of my home page. Can you show step by step how to do this please?
    Thanks
     
  4. vesity

    vesity Member

    Joined:
    Oct 3, 2013
    Messages:
    241
    Likes Received:
    0
    This didn't work...
     
  5. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Add these lines in functions.php file as shown in screenshot.
    Code:
    // for excerpt
    function custom_excerpt_length( $length ) {
            return 50;
        }
        add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
    This will solve your issue.

    Thanks & Regards
    Yogesh Bhade
     

    Attached Files:

  6. ih2001

    ih2001 New Member

    Joined:
    Jul 30, 2014
    Messages:
    9
    Likes Received:
    0
  7. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41

Share This Page