Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1314661
    Richard H
    Participant

    The blog layout in my site is strange. I have posts which do show on my blog page but only a small amount of text is shown, with no header and no featured image. Posts themselves have a narrow box at the top of the pages and I have now suddenly got the following error:

    Warning: in_array() expects parameter 2 to be array, string given in (etc etc) themes/x/framework/functions/global/portfolio.php on line 112

    Warning: Invalid argument supplied for foreach() in (etc etc) /themes/x/framework/functions/global/portfolio.php on line 128

    I just want a 2 column blog post that shows featured image, blog post title, snippet and “read more” link. Any idea where I have gone wrong?

    #1314662
    Richard H
    Participant
    This reply has been marked as private.
    #1314893
    Jade
    Moderator

    HI there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1315486
    Richard H
    Participant
    This reply has been marked as private.
    #1315552
    Thai
    Moderator

    Hi There,

    The blog page can’t use the portfolio template, I changed to default template then everything is working fine again.

    Cheers!

    #1315624
    Richard H
    Participant

    I had been trying to set the blog up as portfolio as per the recommendation made to someone else in a different thread. It didn’t work so I changed it back, I must have forgotten to change the default template. That doesn’t solve the problem though. The error code has gone which is great but the look of the blog is rubbish and I am unable to find the way to change it (as per my original post).
    I have attached some screen shots of what I mean.
    I would like a 2 column blog page which shows post titles, featured image and excerpt followed by “read more” hyperlink. At the moment I have a one column blog with no title and no image and lots of these thing horizontal rectangles (see screen shots)
    The rectangles show on blog overview page and at the top of individual pages too. I would like help addressing these problems please.

    #1315679
    Paul R
    Moderator

    Hi,

    Please remove the following code in Custom > Edit Global CSS in the customizer.

    
    .single .entry-featured .entry-thumb {
       display: none !important;
    }
    .entry-featured .entry-thumb {
       display: none !important;
    }
    header.entry-header {
        display: none;
    }
    

    Thanks

    #1315838
    Richard H
    Participant

    Aah, that’s what was buggering things up! Thanks SO much!!

    #1315918
    Joao
    Moderator

    Glad to hear it,

    Joao

  • <script> jQuery(function($){ $("#no-reply-1314661 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>