Support » Plugin: WPAdverts - Classifieds Plugin » Featured Ads

  • Resolved exodor

    (@exodor)


    Is there a way to make the “Featured Ads” highlighted but NOT going to the top of the list?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Currently, i am afraid this is not possible, but it will be once we release version 1.2.1 which should be available this week.

    Thank you

    Plugin Author Greg Winiarski

    (@gwin)

    The version 1.2.1 is available now, if you have it installed you can try adding the code below in your theme functions.php file it should change the sorting

    
    add_filter( "adverts_list_query", "remove_sorting_by_featured", 1000 );
    function remove_sorting_by_featured( $args ) {
        array_shift( $args["orderby"] );
        return $args;
    }
    

    Thanks for the best support I ever experienced …..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured Ads’ is closed to new replies.