Giannis
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Listing Search generates wrong URLIt depends on what you want to do with it. If it is for debugging purposes, you can access everything. The specific function is in
class-job-manager-job-tags-shortcodes.php
file.If you want to modify in a way that the code is not overwritten when you update the plugin, then no.
Forum: Plugins
In reply to: [WP Job Manager] Listing Search generates wrong URLYes this code is from WP Job Manager and it exists in
job-filters.php
template.You can have a look at this page on how you can override this template with your own version: https://wpjobmanager.com/document/developer-reference/themes/template-overrides/
Forum: Plugins
In reply to: [WP Job Manager] Listing Search generates wrong URLSo when I do a search in the ‘verzeichnis’ page (https://www.terrarium-wissen.de/verzeichnis/) I am redirected to a page with a URL similar to what you sent. However, when I navigate back the URL is normally set back to https://www.terrarium-wissen.de/verzeichnis/ again. So it is not possible to reproduce the issue.
Something, that I have observed though, is that the https://www.terrarium-wissen.de/verzeichnis/ page is custom made and as this forum is about supporting WP Job Manager plugin only, this page is outside the scope of our support.
Let us know if you think that you found an issue with the plugin itself and apologies for not being able to provide any help here.
Forum: Plugins
In reply to: [WP Job Manager] Listing Search generates wrong URLHey @naturundtierverlag I gave it another go and again I can’t see the issue. When I click the link that you sent I get a screen that just dsiplays the ‘MEINING TERRARISTIK’ listing which looks correct.
I then try different categories (e.g. ‘Sonstiges’) and I get different results. When I try other categories, I also verify that a different category id is sent in the AJAX request that fetches the listings.
You can also verify this yourself by opening the Web Developer tools in Chrome or Firefox, open the network tab and check the payload of the
jm-ajax/get_listings
requests that are sent to the server when you perform a new search.On a side note, if you expect the URL to get updated to reflect the category change, this will not happen as the updates happen by an AJAX call and this is not reflected in the URL.
Forum: Plugins
In reply to: [WP Job Manager] Job entries should remain on index after expirationHey @jobhunter99,
you can achieve this with the following snippet:
function always_allow_job_listing_indexing( $index_job_listing, $post ) { if ( 'expired' === $post->post_status ) { return true; } return $index_job_listing; } add_filter( 'wpjm_allow_indexing_job_listing', 'always_allow_job_listing_indexing',10,2 );
Feel free to modify the
always_allow_job_listing_indexing
function to suit your needs.Forum: Plugins
In reply to: [WP Job Manager] Search not working (keywords and location)Hello @hanaherehere,
I imagine that you solved your issue as you marked this issue as solved. Let us know if you need any more help.
Forum: Plugins
In reply to: [WP Job Manager] Listing Search generates wrong URLHello @naturundtierverlag,
I have tried today and if I understand correctly, the search page is working correctly, is this right? Did you manage to find what the issue was? Was it caused by WP Job Manager?
Forum: Plugins
In reply to: [WP Job Manager] Can I jobs list be updated dynamically from dbHello @nakulbageja,
can you specify what you mean by ‘jobs inventory’? Do you mean the jobs in the frontend?
If yes although possible it would require a lot of custom development work in the frontend and it isn’t possible out-of-the-box. The simplest way to achieve that would be to add some JavaScript in the frontend that polls the
get_listings
endpoint and loads the new listings to the page.Hope that helps!
Forum: Plugins
In reply to: [WP Job Manager] Keyword search field is not workingHello,
I have tried to replicate the issue but wasn’t able to. It seems like the issue is specific to your installation.
If you want to try and investigate yourself I can give you the following starting points. WP Job Manager’s search uses the default search functionality provided by WordPress and WPQuery (argument
$s
). If you want to have a look at the code, everything happens inWP_Job_Manager_Ajax::get_listings
andget_job_listings
methods. There are various filters in these methods and in WPQuery that might be used by other plugins to cause this behavior, so you will need to look into each one and try to find what is causing this.Unfortunately we can’t provide any installation-specific troubleshooting through the forums so if the above doesn’t help I would suggest to hire a developer to look into this further.
Hope that helps!
Forum: Plugins
In reply to: [WP Job Manager] Export Expired JobsGlad that you worked this one out! Let us know if you need anything else!
Forum: Plugins
In reply to: [WP Job Manager] Skills autosuggestion in ResumesHello @gvarona,
first I would like to point out that the forums are for issues that relate to the core WP Job Manager plugin. Any issues with our paid plugins should be reported through our support form.
With that said, indeed this is the way that the plugin works at the moment but it is a great idea for an improvement so I have forwarded it to the development team to prioritize it accordingly. However, I don’t currently have an ETA of when this is going to be implemented.
Thank you for helping us improve the plugin! I will resolve the issue for now but feel free to reopen or post a new question if you need anything else.
Forum: Plugins
In reply to: [WP Job Manager] Way to show submitted content message on job dashboard?Hello @hastibe,
although I have not tested it, I have thought of a way to achieve that.
First, when you redirect in the snippet above, you can add a URL argument (add_query_arg function can help with that) to specify that the user just submitted a job.
Then you can override the job-dashboard.php template and check for the above argument (you can use the $_GET superglobal for that) right before the jobs table and display the notice if the argument exists.
Hope that helps!
Hello @bluecap,
we have tried to reproduce this error but we weren’t able to. Moreover, I inspected Sensei’s code and couldn’t find anything that would cause this error. This means that this is probably triggered by a customisation in your installation.
In this error, PHP complains that function
course_image
is called statically while it is not a static method. To further debug the issue you should look for occurrences of something like this in any customizations that your site has:add_action( 'sensei_single_course_content_inside_before', array( 'Sensei_Course', 'course_image') ...
Once you find this you should change it to:
add_action( 'sensei_single_course_content_inside_before', array( Sensei()->course, 'course_image' ) ...
Hope that helps!
Giannis
Hello @jpattavina33
quiz answers are stored in
wp_commentmeta
. The entry inwp_commentmeta
is linked to an entry inwp_comment
which has acomment_type
value of ‘sensei_lesson_status’.The value of the quiz answers is stored in an entry with a
meta_key
equal to ‘quiz_answers’. The entry with ameta_key
equal to ‘questions_asked’, contains a list of the questions that the user answered.If you want to see how these are stored and retrieved, you can have a look at
Sensei_Quiz::save_user_answers
andSensei_Quiz::get_user_answers
.Hope that helps!
GiannisForum: Plugins
In reply to: [Add Descendants As Submenu Items] Option not showing on customized themePlease ignore my previous response. I posted it in the wrong forum.