Okay
  Public Ticket #894156
Portfolio set up
Closed

Comments

  •  2
    Lene started the conversation


    Hi guys!

    I don't seem to manage to show more than 6 images on my front page. Even when I adjust in the theme options place to more it doesn't change. I can change to more images on a row but the total doesn't change.

    Somehow the hover color dosen't fill the preview picture in Portfolio only on front page.

    And one last thing after upgrade portfolio items are oldest to new not newest first...

    On mobile my full menu only show from Portfolio. 

    Can you help? Thanks!

    Lene

  •   [deleted] replied privately
  •   Lene replied privately
  • [deleted] replied

    Hi Lene,

    Can you please send your WP credentials again so I can take a look at these issues and I'll fix it for you.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

  •   Lene replied privately
  • [deleted] replied

    Hi Lene,

    The login information is not working, can you please correct this information and set it again:


    (view large version)

  •   Lene replied privately
  • [deleted] replied

    Hi Lene,

    I've managed to sort this out, added this code in functions.php for portfolio item ordering:

    // Fix Date Ordering in Portfolio
    add_filter( 'kalium_portfolio_pre_query', 'fix_date_ordering_in_portfolio' );

    function test_kalium_portfolio_pre_query( $query ) {
    if ( isset( $query['post__in'] ) ) {
    $query['orderby'] = 'post__in';
    $query['order'] = 'ASC';
    }
    return $query;
    }

    The order of items is now fixed.

    Also the thumbnail distance is now removed.

  •   Lene replied privately
  • [deleted] replied

    Sorry about that, missed a line of code, now images are shown again.

  •  2
    Lene replied

    Hello again

    Thanks for that. Still having some issues I'm afraid... There are a couple of portfolio posts that aren't showing. "North Energy årsrapport" and "Heia barnehage." The posts are visible backend. Any ideas? Did you restore to a backed up version?... Seems to be a problem with the backup so please dont use that...  

    And another thing when we are on the portfolio page we want all the images on one page, not divided into several pages. 

    Thanks, Lene

  • [deleted] replied

    Hi Lene,

    I saw that in this page:

    http://www.bardusdesign.no/portfolio-2/

    You have set to use Custom Query, and you have selected some products and set page to show 6 items per page, so what I did is uncheck the Custom Query, so now portfolio page uses the main query of portfolio, which shows all items in the same page.

    Do you like it?