Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1659459
Random Porfolio
Closed

Comments

  • eddier8812 started the conversation

    I'm trying to make a button that would redirect the user to a random portfolio page within the site.

    Think of it as a "stumbleupon.com" kind of concept. Although I am quite sure that this is very easy
    to achieve I haven’t figured it out yet. Do you have any hints for me

  •  7,095
    Oliver replied

    Hi,

    provide some more info how it should look like?

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  7,095
    Oliver replied

    With screenshots pls.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •   eddier8812 replied privately
  •  7,095
    Oliver replied

    Hi,

    In order to change order of the portfolio you need to edit file:

    /wp-content/plugins/thegem-elements/inc/content.php

    function thegem_portfolio($params)

    line 481

    check:

    'orderby' => $params['orderby'] ? $params['orderby'] : ($params['sorting'] ? 'date' :'menu_order ID'),
    'order' => $params['order'] ? $params['order'] : ($params['sorting'] ? 'DESC' :'ASC'),


    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver