Support » Plugin: WP Job Manager » Reorder jobs listing categories

  • Resolved natpoit

    (@natpoit)


    Hello,

    I found an old thread about this:
    https://wordpress.org/support/topic/reorder-the-job-categories-on-job-page
    But still need help

    I use listable child theme (not sure if they did something with your plugin) and tried to insert the code your mentioned in function.php (child) , it doesn’t work. Could you please help me?

    Codes I tried

    $terms = get_terms( array(
        'taxonomy' => 'job_listing_category',
        'orderby' => count,
    ) );

    /*and I tried this one*/

    $terms = get_terms( 'ob_listing_category', array(
        'orderby' => count,
    ) );

    Any help & advice would be greatly appreciated

Viewing 1 replies (of 1 total)
  • Plugin Contributor Davor

    (@davoraltman)

    Hi @natpoit,

    The first snippet should work but it also needs to be hooked via add_filter WordPress function. Can you provide me with more details on this so that I can see which filter would best suit this case?

    Also, I suggest using this plugin – https://wordpress.org/plugins/code-snippets/ – for adding custom code snippets.

    Awaiting your reply. Thanks!

    Best,
    Davor

Viewing 1 replies (of 1 total)
  • The topic ‘Reorder jobs listing categories’ is closed to new replies.