Change default order posts in search results page

WordPress Business Themes Forums Responsive Themes Car Dealer Theme Change default order posts in search results page

Change default order posts in search results page

June 28, 2016
 David
  • Josh
    Josh
    Super Guru 13,887 points

    Hello Richard,
    Try the below code under Theme Setup >General Setup >Custom css

    ul.orderby li:first-child {
    display:none;
    }
    ul.orderby li:nth-child(1) {
    display:none;
    }
    ul.orderby li:nth-child(2) {
    display:none;
    }
    ul.orderby li:nth-child(3) {
    display:none;
    }
    ul.orderby li:nth-child(7) {
    display:none;
    }

    October 12, 2016 at 12:41 pm

  • Richard
    Newbie 29 points

    ul.orderby li:first-child {
    display:none;
    }
    ul.orderby li:nth-child(1) {
    display:none;
    }
    ul.orderby li:nth-child(2) {
    display:none;
    }
    ul.orderby li:nth-child(3) {
    display:none;
    }
    ul.orderby li:nth-child(7) {
    display:none;
    }
    //added this code for the expires label
    ul.orderby li:nth-child(9) {
    display:none;

    /*thank you josh for a great help*/

    October 13, 2016 at 4:18 am
  • Josh
    Josh
    Super Guru 13,887 points

    You’re welcome Richard.Have a great day :)

    October 13, 2016 at 7:16 am
Viewing 3 posts - 16 through 18 (of 18 total)

Didn't find what you were after?

Chat with us now

or contact our support team