TheRajdeep
Forum Replies Created
-
Thanks, @denis_golovin for the quick response. Appreciated. Any ideas how long it may take?
Forum: Plugins
In reply to: [Slideshow Gallery LITE] Gallery stopped working@danielmarsch it should be fine with updating wordpress, but don’t update the plugin yet until plugin author confirms that this issue is fixed.
- This reply was modified 7 years, 8 months ago by TheRajdeep.
Forum: Plugins
In reply to: [Slideshow Gallery LITE] Gallery stopped workingEmail me at: [email protected]
Forum: Plugins
In reply to: [Slideshow Gallery LITE] Gallery stopped workingHi Daniel, there was some issue with code files, I guess due to updated WordPress. Try renaming your old gallery plugin from ftp or file manager, and then upload this new plugin (same plugin, just updated for code to work). I hope it works for you as well. https://www.dropbox.com/s/b85bfdn0vva507k/slideshow-gallery.zip?dl=0
Hi Pete,
We have latest version 1.8.9.3, but still it is charging two times with stripe payment gateway. Any ideas?
Thanks.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom search fields not workingHi Greg,
Thanks for your quick reply.
Is it possible if we use single select field? I used below code and single select field didn’t work:
$form["field"][] = array( "name" => "smoking1", "type" => "adverts_field_select", "order" => 25, "label" => __("Smoking", "adverts"), "max_choices" => 1, "options" => array( array("value"=>"Yes", "text"=>"Yes"), array("value"=>"No", "text"=>"No"), ), "meta" => array( "search_group" => "visible", "search_type" => "half" ) );
Your suggestions would be highly appreciated.
Thanks.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom search fields not workingHi Greg,
Thank you so much for your help so far. There is one last issue where I am still having trouble.
I am not sure where exactly we replace the dropdown “Select Options” text in the custom search fields. I want it to be something like “Select Internet availability”, “Select Furniture Options” etc., Here is the link for your reference: https://housesforrent.sydney/
Thanks a lot.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom search fields not workingHi there,
I used the code as me and Greg have pasted above. There were some issues and Greg was great in helping with that.
Thanks.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom search fields not workingHi Greg,
Thank you so much for the help. That worked. ?
However, I have used many custom fields (you may check here: https://housesforrent.sydney/post-ads/ ). Most of them are radio boxes and text fields.
Could you please check and confirm what I am doing wrong in this code? It doesn’t seem to work.
{"type" => "adverts_field_select" } $form["field"][] = array( "name" => "smoking1", /* This is my custom field name */ "type" => "adverts_field_select" "order" => 25, "label" => "Smoking", "is_required" => false, "validator" => array( ), "max_choices" => 2, "options" => array( array("value"=>"Yes", "text"=>"Yes"), array("value"=>"No", "text"=>"No"), ), "meta" => array( "search_group" => "visible", "search_type" => "half" ) );
Could you please also confirm where exactly I need to change in case I want to include text box or radio boxes in the below code:
function search_by_category_query( $args ) { if( ! adverts_request( "ad-category" ) ) { return $args; } $args["tax_query"] = array( array( 'taxonomy' => 'advert_category', 'field' => 'term_id', 'terms' => adverts_request( "ad-category" ), ), ); return $args; }
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Custom search fields not workingHi Greg,
Thanks for your reply.
The fields show, but searching by them doesn’t work.
I’ve used below code as suggested on above documentation link:
add_filter( 'adverts_form_load', 'search_by_category_form_load' ); /** * Adds category dropdown into search form in [adverts_list]. * * @param array $form Search form scheme * @return array Customized search form scheme */ function search_by_category_form_load( $form ) { if( $form['name'] != 'search' ) { return $form; } $form['field'][] = array( "name" => "advert_category", "type" => "adverts_field_select", "order" => 20, "label" => __("Category", "adverts"), "max_choices" => 10, "options" => array(), "options_callback" => "adverts_taxonomies", "meta" => array( "search_group" => "visible", "search_type" => "full" ) ); return $form; }
add_filter( 'adverts_list_query', 'search_by_category_query' ); /** * Adds tax_query param to WP_Query * * The tax_query is added only if it is in $_GET['advert_category'] * * @param array $args WP_Query args * @return array Modified WP_Query args */ function search_by_category_query( $args ) { if( ! adverts_request( "advert_category" ) ) { return $args; } $args["tax_query"] = array( array( 'taxonomy' => 'advert_category', 'field' => 'term_id', 'terms' => adverts_request( "advert_category" ), ), ); return $args; }
It is used here: https://housesforrent.sydney/ I’ve put them for your review.
Please let me know in case of any other questions.
Thanks.Forum: Themes and Templates
In reply to: [PixelHunter] Pagination change issueHi Hemant,
Thanks for your reply. It helps. However, we are using child theme and it is giving issue with it. It works fine on home page, but when using pagination, it overwrites child theme and shows main theme’s footer. Please visit https://infographicsfrenzy.com/ click on pagination and check the footer change.
Please suggest if there is a way around it. Thanks a lot.
Forum: Fixing WordPress
In reply to: Unable to Log In –Cookies Are Blocked Due To Unexpected Output?I found this article very helpful: https://emlev.com/how-to-fix-error-cookies-are-blocked-due-to-unexpected-output/