• Resolved [email protected]

    (@mercermercerblackcom)


    As per the Listify theme documentation, I inserted the code below in order to alphabetize my region list. I’m getting a syntax error. If I could figure out how to search this forum, I’d seek an answer here because i’m sure this has come up before, but there are 47 pages of discussions. Is there a way to search this forum? What am I missing?

    Anyway, here’s the code:

    <?php
    /**
    * Plugin Name: WP Job Manager – Regions – Order Alphabetically
    */

    function custom_job_manager_regions_dropdown_args( $args ) {
    $args[ ‘orderby’ ] = ‘name’;

    return $args;
    }
    add_filter( ‘job_manager_regions_dropdown_args’, ‘custom_job_manager_regions_dropdown_args’ );

    Please help!

    https://www.ads-software.com/plugins/wp-job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    You should be using the Astoundify support for this type of issue. I didn’t develop Listify theme.

    https://support.astoundify.com/register/

    I see no syntax error in the code you pasted anyway, but if you pasted into functions.php, remember to remove the <?php if there is already one in the file.

    Adam Pickering

    (@adampickering)

    Hey there!

    I’m Adam, I work for the support department of Astoundify.

    In order for us to help you as fast and efficiently as possible, I would like to invite you over to our help desk where you can safely share your website link and login details if necessary. Using our help desk it keeps everything super organized to keep the conversation going.

    Please register at our help desk or you can browse our theme resources centre which contains many detailed video tutorials and theme documentation. Once logged in, feel free to create a new support ticket here.

    We are looking forward to helping you over on our help desk.

    Cheers! Adam

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Alphabetize Region List’ is closed to new replies.