kibus90
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] How to create a short list of related jobsHello @plinth ,
You can add this code in your your custom template file where do you want to get the related jobs.
<?php /** * Related jobs */ global $post; $tags = get_the_terms( $post->ID, 'job_listing_category' ); if ( ! $tags || is_wp_error( $tags ) || ! is_array( $tags ) ) { return; } $tags = wp_list_pluck( $tags, 'term_id' ); $related_args = array( 'post_type' => 'job_listing', 'orderby' => 'date', 'posts_per_page' => 3, 'post_status' => 'publish', 'post__not_in' => array( $post->ID ), 'tax_query' => array( array( 'taxonomy' => 'job_listing_category', 'field' => 'id', 'terms' => $tags[0] ) ) ); if ( 1 !== absint( get_option( 'job_manager_hide_filled_positions' ) ) ) { $related_args['meta_query'][] = array( 'key' => '_filled', 'value' => '1', 'compare' => '!=', ); } $wp_query = new WP_Query($related_args ); if ( ! $wp_query->have_posts() ) { return; } ?> <div class="jobs-related-box"> <h3><?php esc_html_e('You may also be interested in…','wp-job-manager') ?></h3> <div class="jobs-related"> <?php while( $wp_query->have_posts() ) : $wp_query->the_post(); $id = get_the_id(); ?> <div class="job-rel"> <a href="<?php the_permalink(); ?>"></a> <h4><?php $stringx = get_the_title(); echo $stringx ?></h4> <ul> <li><i class="fa fa-map-marker"></i> <?php echo get_post_meta( $post->ID, '_job_location', true ); ?></span></li> </ul> </div> <?php endwhile; ?> </div></div> <?php wp_reset_query(); ?>
If you have questions, please let me know.
Grettings.
- This reply was modified 6 years ago by kibus90.
Forum: Plugins
In reply to: [WP Job Manager] Allow JS in listing contentHello @bugnumber9 ,
Where do you add your custom code?
It is strange it is displaying as plain text.
Grettings.
Forum: Plugins
In reply to: [WP Job Manager] Job Info on Contact Form 7 EmailHello @duomoving ,
Unfortunately, I can not help you because I do not see it physically.
Where do you want to add the shortcode ‘[wp_job_manager_job_id]’?
Grettings.
Forum: Plugins
In reply to: [WP Job Manager] Table Header for job listingHello,
I so sorry, but I do not understand what do you mean.Where do you want to add it? I see you have them:
Could you write more detalis?
Forum: Plugins
In reply to: [WP Job Manager] display only search formHello @sergioh4l
You can find how you can find this:https://wpjobmanager.com/document/template-overrides/
If you need more help, please let me know. ??
Greetings!
Forum: Plugins
In reply to: [WP Job Manager] Job Info on Contact Form 7 Email@duomoving you can do it with custom code php and jQuery. Or maybe there is some add-on to Contact Form 7.
Please let me know where are you displaying the contact form? And how do you apply it to site?
Forum: Plugins
In reply to: [WP Job Manager] Huge images on listing pageHello,
You can do it with custom single template.Then you can add this code to function.php in your theme:
add_action( 'after_setup_theme', 'my_custom_size_img' ); function my_custom_size_img() { add_image_size( 'job-offer-img', 250, 250, true); }
You can change 250, 250 for your sizes.
Then in your template ‘content-job_listing.php‘ change this:
<?php the_company_logo('job-offer-img'); ?>
I hope it will be helpfull.
- This reply was modified 6 years ago by kibus90.
Forum: Plugins
In reply to: [WP Job Manager] Allow JS in listing contentHello
Can you give an example?Because we can not help you with it without see it.
Grettings.
Forum: Plugins
In reply to: [WP Job Manager] display only search formHello,
Yes, you can do it with this:https://wpjobmanager.com/document/tutorial-creating-custom-job-search-form/
Forum: Plugins
In reply to: [WP Job Manager] Address custom fields not populating randomlyHello @jgjh151
Do you have custom template to output the listing?
If yes, just replace in the place which output the current location for this code:
<?php echo get_post_meta( $post->ID, '_geolocation_formatted_address', true );?>
I think then should not be problem ??
Forum: Plugins
In reply to: [WP Job Manager] description@shani0310 Where do you want to add it? The description
- This reply was modified 6 years, 1 month ago by kibus90.
Forum: Plugins
In reply to: [WP Job Manager] Jobs shortcode for categories not workingI am really do not know why. It should work, because before I send you I tested on my website and everything works well. Do you have turned on the cattegories in the Settings of the WP Job Manager?
Forum: Plugins
In reply to: [WP Job Manager] Not searching via locationHello,
I see you have some problems with filtering, because you get ERROR 500 with Admin Ajax:You can have some problem with plugins which does not work each other.
Or just try go to Settings > Permalinks and Save settings.Forum: Plugins
In reply to: [WP Job Manager] descriptionHi,
This code you can try:
<?php echo do_shortcode(apply_filters( ‘the_job_description’, get_the_content() )); ?>
Forum: Plugins
In reply to: [WP Job Manager] descriptionHello,
What do you mean ‘jobs description’? Where do you want to add it?