mattapex
Forum Replies Created
-
Thanks… but the above code would still lead to GBP / YEAR being appended, whereas we have some hourly, daily or monthly pay rates and these will vary from job to job, rather than being consistent across our platform for all jobs.
Forum: Plugins
In reply to: [WP Job Manager] Conflict with alternate plugin for showing salarySame here. Had to manually edit the wp-job-manager-template.php file to remove the text for USD/YEAR as a temporary workaround.
Downgrading and re-updating the plugin, then removing the custom code from my child theme’s functions.php file seems to have resolved the issue. Now we just need to sort out the USD/YEAR default text issue!
I’ve had to manually edit the wp-job-manager-template.php file to remove the text, which is a complete workaround and obviously only temporary.
Is there a more permanent fix available? Or do we need to wait for 1.36.3 now?
This is the code that was used previously:
// add salary field to WP Job Manager add_filter( 'submit_job_form_fields', 'frontend_add_salary_field' ); function frontend_add_salary_field( $fields ) { $fields['job']['job_salary'] = array( 'label' => __( 'Salary or rate info', 'job_manager' ), 'type' => 'text', 'required' => true, 'placeholder' => 'e.g. £40,000 or Competitive salary + benefits', 'priority' => 7 ); return $fields; } // add salary field to admin dashboard add_filter( 'job_manager_job_listing_data_fields', 'admin_add_salary_field' ); function admin_add_salary_field( $fields ) { $fields['_job_salary'] = array( 'label' => __( 'Salary or rate info', 'job_manager' ), 'type' => 'text', 'placeholder' => 'e.g. e.g. £40,000 or Competitive salary + benefits', 'description' => '' ); return $fields; } // display salary field on front end add_action( 'single_job_listing_meta_end', 'display_job_salary_data' ); function display_job_salary_data() { global $post; $salary = get_post_meta( $post->ID, '_job_salary', true ); if ( $salary ) { echo '<li style="color:white;">' . __( 'Salary:' ) . ' ' . esc_html( $salary ) . '</li>'; } }
Forum: Plugins
In reply to: [WP Job Manager] [jobs] page is not loading Jobs after updating@helpfuljobs I had that initially too in 1.36 but then realised I could hold CMD down and de-select options, and this seemed to work. There were still the other issues though, so it’s a good job the 1.36.1 update has resolved those too.
Forum: Plugins
In reply to: [WP Job Manager] [jobs] page is not loading Jobs after updating@helpfuljobs – In the admin dashboard, go to Job Listings >> Settings >> Job Visibility and de-select all options in each of the boxes. This makes it so that non-logged in users can view the jobs. I have no idea why this has been enabled by default to restrict visibility!
- This reply was modified 2 years, 9 months ago by mattapex.
Forum: Plugins
In reply to: [WP Job Manager] [jobs] page is not loading Jobs after updatingThanks for the update. I can confirm that I’ve tested the 1.36.1 version on a staging site and it’s not having any of the issues that I reported previously.
Forum: Plugins
In reply to: [WP Job Manager] [jobs] page is not loading Jobs after updatingWe had the same issue with the 1.36 update too, breaking the site, affecting the layout, making company logos huge, etc. – so we also rolled back to the previous version.
To do this, download the old release (1.35.3) from the github here: https://github.com/Automattic/WP-Job-Manager/releases – scroll down to v1.35.3, click on Assets, and choose the zip file.
Then go back to your admin dashboard, Add New Plugin and upload the zip file you just downloaded. Once the upload finishes you’ll see a warning sign that says the upload version is older than the current version, so just accept that and the downgrade will be completed.
Forum: Plugins
In reply to: [WP Job Manager] Grid layoutThanks. I’m aware there are other themes that have grid layout, but I wanted to know if there was something I can do with code snippets, or a sample page template that could be adapted into my existing theme(s) without having to change the entire site theme.
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] option is not showing in menusFurther to my earlier post… the theme creator responded and said:
“The theme overloads WP core nav menu renderer if you have option “Theme Options – Menu – Enable MegaMenu addon” enabled. Seems like you just need to disable this option to avoid a conflict.”
When I disabled the MegaMenu addon in the theme options, this resolved the issue with the user menu options not displaying.
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] option is not showing in menusThanks for the update. We’re using AMAX theme (https://themeforest.net/item/amax-responsive-multipurpose-wordpress-theme/11458572)
I’ll post to their support area to see if they’re aware of this problem and report back if/when I get an answer.
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] option is not showing in menusI’m also experiencing issues with the options not displaying. No errors are showing in the dev tools console though. Is there an update pending? Or any way of identifying what’s stopping this working… it’s very frustrating!
Forum: Plugins
In reply to: [Caldera Forms - More Than Contact Forms] Modal text link not workingSame issue here. The button works fine, but the text link doesn’t. No error messages or console errors either. Any solution?
To be clearer… I should have said that the forms are displaying in a modal pop-up. Not sure if this affects things at all?