• Resolved aburrow

    (@aburrow)


    I’m trying to fix an unusual problem with wordpress theme pinboard, at least I think the issue is with the pinboard theme.

    I’ve submitted four posts which are appearing on the frontpage of my wordpress site.

    All Images are the same size. Below the image’s of some I have 3 lines of text below 1 I only have 2 lines. In the main post/s there are over 10 lines of text.

    I think it’s because of the image with 2 lines of text (however not 100% sure). The images are not being displayed in the gridview correctly.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi aburrow

    Can you please post your site URL cause it will be easy for us to debug.

    Best Regards!!!

    Thread Starter aburrow

    (@aburrow)

    As this site isn’t live I’m unable to post a link.

    Would a screen grab do?

    Hi aburrow

    Unfortunately sorry to say we cannot find problem in screen grab only cause we need to inspect some element and check what actually the problem is.
    As far as I know the variation in lines is due to the content of your post.
    Keep your content a little more in every post and see what will be the result.
    You can post screen shot as well.

    Best Regards!!!

    Thread Starter aburrow

    (@aburrow)

    Dropbox link

    I will look at the content of our posts as well.

    We’ve move the site into PROD it should be visible

    pcb.net.au

    Hi aburrow

    In main theme file functions.php you will find functions as shown below:

    if ( ! function_exists( 'pinboard_excerpt_length' ) ) :
    /**
     * Change the number of words shown in excerps
     *
     * @since Pinboard 1.0
     */
    function pinboard_excerpt_length( $length ) {
    	if( pinboard_is_teaser() ) {
    		if( has_post_format( 'aside' ) )
    			return 36;
    		else
    			return 22;
    	} else
    		return 50;
    }
    endif;
    
    add_filter( 'excerpt_length', 'pinboard_excerpt_length' );

    The above function determines excerpt length in different condition.
    Sometimes same number of length may appear in 2 lines sometimes 3 lines cause the number of letter is not same in every words.
    So if you want same number no matter what the condition is you can just return you desired number in above function.

    Best Regards!!!!

    Thread Starter aburrow

    (@aburrow)

    Worked a treat.

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Formatting of Posts not correct on frontpage’ is closed to new replies.