zahedkamal87
Forum Replies Created
-
Forum: Plugins
In reply to: [Secure Custom Fields] WYSIWYG converting Entities to HTML“1 week, 5 days ago” and still waiting for a response. Thank you ??
Hi, I’m not talking about getting the price. What i wanted to know is that, plugin doesnt apply tiered price if i add products by ‘add_to_cart()’ function?
Forum: Plugins
In reply to: [WP Job Manager] Custom job search form with Category not working properly@jakeom thanks for the response.
As its a kinda problem that After adding a Category, refreshing the page, doesnt remove it/them, is there any JS way to remove them? within the plugin i mean.Thank you
Forum: Plugins
In reply to: [WP Job Manager] Custom job search form with Category not working properlyI tried this –
jobs/?search_keywords=experience&search_location=&search_categories[]=9
I get jobs where “experience” is found. But not “category” doesnt work.
“If the URL of the page contains a query string and location or keywords is set, the values in the query string will populate the location and keywords fields instead of the above options.”
— Copied from here – https://wpjobmanager.com/document/shortcode-reference/Does that mean, only Keywords and Location get read from URL, but not Categories (search_categories)?
Hope this is not some kinda support that require “paid” service.
Thanks
Forum: Plugins
In reply to: [WP Job Manager] Custom job search form with Category not working properlyIts fine if you cannot help. But i guess its within support (Free) to tell how can i manipulate ajax part?
Forum: Plugins
In reply to: [WP Job Manager] Custom job search form with Category not working properlyNo..
When i had the search form with category dropdown name “search_categories”. It didnt work at all. So i changed it to “search_category”. And have these codes –add_filter( 'job_manager_get_listings', 'add_job_search_by_categories', 10, 2 ); function add_job_search_by_categories ($query_args, $args) { if ( ! empty( $_GET['search_category'] ) ) { $categories = is_array( $_GET['search_category'] ) ? $_GET['search_category'] : array_filter( array_map( 'trim', explode( ',', $_GET['search_category'] ) ) ); $field = is_numeric( $categories[0] ) ? 'term_id' : 'slug'; $operator = 'all' === get_option( 'job_manager_category_filter_type', 'all' ) && sizeof( $categories ) > 1 ? 'AND' : 'IN'; $category_tax = array( 'taxonomy' => 'job_listing_category', 'field' => $field, 'terms' => array_values( $categories ), 'include_children' => $operator !== 'AND' , 'operator' => $operator ); $query_args['tax_query']['relation'] = 'AND'; $query_args['tax_query'][] = $category_tax; } return $query_args; }
Also tried to get AJAX to work by doing this, but it doesnt work at all –
add_filter( 'job_manager_get_listings_args', 'add_job_search_by_categories_ajax', 10, 1 ); function add_job_search_by_categories_ajax ($query_args) { $queries = array(); parse_str($_SERVER['QUERY_STRING'], $queries); if ( isset($queries['search_category']) ) { $query_args['search_categories'] = [$queries['search_category']]; } return $query_args; }
visit here – https://www.portmanrecruitment.com
I added a search form at top of every page, and job page is located at – https://www.portmanrecruitment.com/jobs.Suppose, if i search jobs on category “Adults”, results shows jobs under “Adults” category. But when you click on “Load more listings”, it loads jobs from all categories! Keywords and Location works fine.
Thank you..
Forum: Plugins
In reply to: [WP Job Manager] Custom Meta job searchThanks
Forum: Plugins
In reply to: [PropertyHive] Search By Address doesnt work on “Building Name / Number”It worked! Thanks for responding fast!
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] Using wp_pagenavi in PaginationThanks
Forum: Plugins
In reply to: [Estatik Real Estate Plugin] Using wp_pagenavi in PaginationI found it and already took care of it. But having another issue. In “archive-properties.php”, everytime i visit the archive page from via a category/type etc, i’m getting 5 items per page, even though in settings i’ve 10. Can you please tell is there is something i’ve to do show 10 items per page?
Thanks ??