• Resolved displayednes

    (@displayednes)


    I have installed the plugin and added in functions.php the code from here https://wpjobmanager.com/document/tutorial-adding-a-salary-field-for-jobs/ and yet this one become of the front end.

    I also don’t know how to rearrange this and the values under the salary list in the dropdown is not working specifically these parts:

    function filter_by_salary_field() {
    	?>
    	<div class="search_categories">
    		<label for="search_categories"><?php _e( 'Salary', 'wp-job-manager' ); ?></label>
    		<select name="filter_by_salary" class="job-manager-filter">
    			<option value=""><?php _e( 'Any Salary', 'wp-job-manager' ); ?></option>
    			<option value="upto20"><?php _e( 'Up to $20,000', 'wp-job-manager' ); ?></option>
    			<option value="20000-40000"><?php _e( '$20,000 to $40,000', 'wp-job-manager' ); ?></option>
    			<option value="40000-60000"><?php _e( '$40,000 to $60,000', 'wp-job-manager' ); ?></option>
    			<option value="over60"><?php _e( '$60,000+', 'wp-job-manager' ); ?></option>
    		</select>
    	</div>
    	<?php
    }

    Can you help me with this?

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Cena (a11n)

    (@cena)

    Hi @displayednes ,

    We aren’t able to help with custom code requests like this, so if you need assistance, you may want to look into one of these services:

    https://codeable.io/?ref=l1TwZ

    https://studio.envato.com/

    https://jobs.wordpress.net/

    That said, first, I’d try addingthe snippet on the Salary tutorial to a plugin like Code Snippets (https://www.ads-software.com/plugins/code-snippets ) rather than directly to functions.php. This will help prevent the code from being overwritten during an update, and keep your site from crashing if you happen to enter bad/incorrect code.

    Second, I’m not able to duplicate what’s happening on your page on my test site, so I suspect there’s something else in play on your site.

    It’s possible that there might be a conflict with one of your current plugins or your theme.

    Try disabling all of your plugins except WP Job Manager and the salary snippet. Then try testing again to see if the issue persists. If that resolves your issue, you can find what was causing it by enabling each plugin one by one while continuing to test.

    If that doesn’t help, you can also try switching to the Twenty Twenty theme via Appearance > Themes, and test again. If the issue is resolved then you know it’s a problem with the theme, and you’ll need to contact the theme author for further assistance.

    Best,
    Cena

Viewing 1 replies (of 1 total)
  • The topic ‘Salary Dropdown Field under Search Button’ is closed to new replies.