Evert
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Styling IssueLooks like the theme is injecting css classes into the job list (‘two-col-left’ and ‘col8’). Have you contacted ColorLabs?
Forum: Plugins
In reply to: [WP Job Manager] Styling IssueLooks good to me!
Forum: Plugins
In reply to: [WP Job Manager] Job Listings aren't showingDid you disable the Job Manager plugin? Looks like you have both Job Manager and WP Job Manager activated resulting in a conflict.
Forum: Plugins
In reply to: [WP Job Manager] Export jobs to external site using XMLIf you want an XML file you can use the built in export function. It’s under Tools.
Forum: Plugins
In reply to: [WP Job Manager] Please help…. somebody?Did you see WordPress codex and this post that checks for user roles?
/** * Checks if a particular user has a role. * Returns true if a match was found. * * @param string $role Role name. * @param int $user_id (Optional) The ID of a user. Defaults to the current user. * @return bool */ function appthemes_check_user_role( $role, $user_id = null ) { if ( is_numeric( $user_id ) ) $user = get_userdata( $user_id ); else $user = wp_get_current_user(); if ( empty( $user ) ) return false; return in_array( $role, (array) $user->roles ); } // example use for the current user if ( appthemes_check_user_role( 'customer' ) _e( "You've got access dude!", 'appthemes' ); else _e( "Sorry man, no luck.", 'appthemes' ); // example use for a specific user $user_id = 23; if ( appthemes_check_user_role( 'customer', $user_id ) _e( "You've got access dude!", 'appthemes' ); else _e( "Sorry man, no luck.", 'appthemes' );Forum: Plugins
In reply to: [WP Job Manager] Export jobs to external site using XMLThe easiest way is by using the WordPress feed and limiting it to job listings only.
http://www.fourleafed.com/feed/?post_type=job_listingJust make sure to replace fourleafed.com in the example with your domain name.
Forum: Plugins
In reply to: [WP Job Manager] How to make the shortcodes work?You are using the plugin ‘Job Manager’ on your website. This forum and the documentation you are referring to is for the plugin named ‘WP Job Manager’.
Forum: Plugins
In reply to: [WP Job Manager] How to make the shortcodes work?I don’t see any references back to the WP Job Manager files in your source code. Are you sure the (WP Job Manager) plugin is active?
Forum: Plugins
In reply to: [WP Job Manager] How to make the shortcodes work?What happens when you try
[jobs per_page="20" orderby="title" show_categories="false"]Forum: Plugins
In reply to: [WP Job Manager] Jobs PageYou’re welcome!
Forum: Plugins
In reply to: [WP Job Manager] Jobs PageFormulated this way it can be answered: edit the Sign in link in the template file account-sigin.php (line 23).
🙂
Forum: Plugins
In reply to: [WP Job Manager] Jobs PageThat’s a question you should ask in a different forum, it’s of topic and not related to the WP Job Manager plugin.
Forum: Plugins
In reply to: [WP Job Manager] correct handling of /jobs/ vs /job/ folderswhich option should be applied to make this work, my question remains, where what and how?
Answer: in this file on line 54 replace
'slug' => _x( 'job-category', 'Job category slug - resave permalinks after changing this', 'wp-job-manager' ),with
'slug' => 'jobs/category',If you want to use the filter you’ll have to wait for a next release from @mike.
in the case of a job listing website only the categories and their subcategories are the one you would optimise for organic listings
My solution to your problem: create pages for all your job categories and use the shortcode with the addition of the category you want to show on that page
[jobs categories="category-1-slug"][jobs categories="category-2-slug"]Forum: Plugins
In reply to: [WP Job Manager] Jobs PageYes, that’s possible, but you will need to edit the template file and the javascript since the filtering is done through AJAX.
Adding the select box is fairly easy.
<select name="filter_job_type[]" class="<?php echo sanitize_title( $type->name ); ?>"> <?php foreach ( get_job_listing_types() as $type ) : ?> <option value="job_type_<?php echo $type->slug; ?>"><?php echo $type->slug; ?></option> <?php endforeach; ?> </select>Add your replacement code in ‘job-filter-job-types.php’. Once you have that in place you need to edit the javascript in ‘plugins/wp-job-manager/assets/js/ajax-filters.min.js’. Since this is a core file I’d suggest wp_dequeue_script() to remove the default file and wp_enqueue_script() to add your replacement.
Untested, but replacing ‘:input[name=”filter_job_type[]’ by ‘:select[name=”filter_job_type[]’ should get you in the right direction.
Forum: Plugins
In reply to: [WP Job Manager] correct handling of /jobs/ vs /job/ folders