kibus90
Forum Replies Created
-
Hello,
I found the solution.
WooCommerce > Settings > Products > Inventory
and then Hold Stock (minutes) I changed for 15. Thank you!
Forum: Plugins
In reply to: [NSFW] [Really Simple CAPTCHA] Validation returns always false.Thank you for your fast reply.
I found the problem!
The captcha is generated a few times – because the fields are generated in the loop. And image contains different prefix and hidden field also…. so they could not be validate!
Forum: Plugins
In reply to: [WP Job Manager] В url вакансии только titleЗдравствуйте, Hi @madesty
I created especially for you the function to update the slugs from titles in you all job listings ?? It will be create a slug from the “Job title” ??
So, first what you have to do it is:
1. Add this code to your functions.php
https://pastebin.com/raw/mgES1Md6
2. Then create a new page named “xd” add in content paste:
[updateSlugForListings]Go to page yourpage.com/xd/
PAGE HAS TO EQUAL TO /xd/You gonna see first step. Click for “add custom field”
Then refres page (once per 5 secounds) till moment you see message:
“All your post contains all necessary fields!”
Then click on another link you will see.
Then the same – refres page till you see info:
“All slugs are updated!”From now your all permalinks are updated. You can delete the function and page. ??
If you have any questions, please let me know!
I do not know what do you mean, but…
Her you have a code to remove the box with company name and website:
.single_job_listing .company{ display:none }
here for remove the box with bookmarks plugin:
.job-manager-form.wp-job-manager-bookmarks-form{ display:none }
To make less code, you can use just this:
.job-manager-form.wp-job-manager-bookmarks-form,.single_job_listing .company{ display:none }
You have to add it to:
In WP-Admin you choice “Appearance -> Customize -> Custom CSS
And paste the above code.I hope you needed it. If not, please let me know ??
Forum: Plugins
In reply to: [WP Job Manager] Show Category/Type Titles on ArchivesHi @wallacelin ,
I do not know what do you mean exactly.
If you want to change <title> for job_category etc. and you are using Yoast SEO, then you have to use the following function in your functions.php:
add_filter('wpseo_title', 'filter_product_wpseo_title'); function filter_product_wpseo_title($title) { if( is_tax( 'job_listing_category') ) { $title = 'Your title'; } return $title; }
If you want to just in HTML names of your single taxonomy, here you are:
Code for current single taxonomy:
<?php single_term_title(); ?>
And here little bit longer version:
<?php $tax = $wp_query->get_queried_object(); $tax_term = $tax->name; $tax = get_taxonomy($tax->taxonomy); $taxonomy = $tax->label; echo "Current slug: <b>".$tax_term."</b>"; echo " | It is in: <b>".$taxonomy;"</b>" ?>
If you have any questions, please let me know.
Okey, I found out where is a problem!
The problem is with the Google API.
I created a function to get respond from Google API and I got this result:
Array ( [error_message] => API keys with referer restrictions cannot be used with this API. [results] => Array ( ) [status] => REQUEST_DENIED )
I created a new Google API and I restricted it just for IP server (before I restricted the API for websites e.g: mywebsite.com)
Now geocodding works for WP Job Manager.
Hi @richardmtl
Unfortunately there is not…
For this and for all which are listed.
https://olexy.pl/wpjm/index.php/job/company-name-amsterdam-netherlands-2-front-end-developer/And also with full address… The custom fields are empty.
Screenshot:
https://prnt.sc/ph3icz- This reply was modified 5 years, 5 months ago by kibus90.
I am using it just to avoid indexing my domain via Google. ?? I do not have any problem with expending it.
Hi @richardmtl
Thank you for your advice ??
But it does not mean about Google Tools. It means even I want to aplly a custom code (FacetWP) for Searching location, then I am missing many job offers, because they have not this custom fields (location coordination).
But before I put e.g. “Amsterdam, Netherlands” then the fields were filled in. Now it is not happening… In anyway…
Even I try to put full address, there is nothing happening. I think that there is not a problem with content of this field… I think it is something with Google…
Forum: Plugins
In reply to: [WP Job Manager] Border@marimanga Hi,
Please give a link to see it. ?? Because we can not help you with live code.
Hi!
Thank you for your reply.
Here is the exapmle:
https://olexy.pl/wpjm/index.php/job/company-name-londyn-2-front-end-developer/Most of time I add via job sumbission form (or just with option “duplicate”)
But I see that there is not working in anyway.
You can login here and try it:
On this installation there is only the WP Job Manager. And Google API is setted in settings.
P. S. The fields also is not addef after edit job location through the job submission form.
- This reply was modified 5 years, 5 months ago by kibus90.
- This reply was modified 5 years, 5 months ago by James Huff. Reason: credentials removed
- This reply was modified 5 years, 5 months ago by Jan Dembowski. Reason: Expanded short links
Forum: Plugins
In reply to: [WP Job Manager] How to display categories on single job listingHere you are:
<?php $terms = get_the_terms( $post->ID, 'job_listing_category' ); if ( $terms && ! is_wp_error( $terms ) ) : $jobcats = array(); foreach ( $terms as $term ) { $term_link = get_term_link( $term ); $jobcats[] = '<a href="'.$term_link.'">'.$term->name.'</a>'; } $print_cats = join( " / ", $jobcats ); ?> <span class="job-category"><?php echo $print_cats;?></span> <?php endif; ?>
@richardmtl O I forgot write it – of course I have it. ?? The maps are loading and searching. But new added/edited locations do not have lang and lan… I tried already almost everything I guess.
Forum: Plugins
In reply to: [WP Job Manager] Clear Job Listings transientsHi,
There is function to update date for job listings:$post_id = get_the_ID(); //get ID post $date = 2019-09-16 16:03:00; //set date which you want $gmtdate = get_gmt_from_date($date); //get GMT date for post $my_args = array( 'ID' => $post_id, 'post_date' => $date, 'post_date_gmt' => $gmtdate ); wp_update_post( $my_args ); //update post wp_publish_post( $post_id ); //update all information about post to make sure that it is okey
I hope it will help you ??
- This reply was modified 5 years, 6 months ago by kibus90.
Forum: Plugins
In reply to: [WP Job Manager] Changing the job slug/permalink