Title: TheRajdeep's Replies | WordPress.org

---

# TheRajdeep

  [  ](https://wordpress.org/support/users/therajdeep/)

 *   [Profile](https://wordpress.org/support/users/therajdeep/)
 *   [Topics Started](https://wordpress.org/support/users/therajdeep/topics/)
 *   [Replies Created](https://wordpress.org/support/users/therajdeep/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/therajdeep/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/therajdeep/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/therajdeep/engagements/)
 *   [Favorites](https://wordpress.org/support/users/therajdeep/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photography Management - WordPress Photo Proofing Plugin] linking woocommerce user as a client to this plugin](https://wordpress.org/support/topic/linking-woocommerce-user-as-a-client-to-this-plugin/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/linking-woocommerce-user-as-a-client-to-this-plugin/#post-9524014)
 * Thanks, [@denis_golovin](https://wordpress.org/support/users/denis_golovin/) 
   for the quick response. Appreciated. Any ideas how long it may take?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Slideshow Gallery LITE] Gallery stopped working](https://wordpress.org/support/topic/gallery-stopped-working-8/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/gallery-stopped-working-8/#post-9283612)
 * [@danielmarsch](https://wordpress.org/support/users/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 9 years, 1 month ago by [TheRajdeep](https://wordpress.org/support/users/therajdeep/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Slideshow Gallery LITE] Gallery stopped working](https://wordpress.org/support/topic/gallery-stopped-working-8/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/gallery-stopped-working-8/#post-9283357)
 * Email me at: [rajdeep.singh08@gmail.com](https://wordpress.org/support/users/therajdeep/replies/rajdeep.singh08@gmail.com?output_format=md)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Slideshow Gallery LITE] Gallery stopped working](https://wordpress.org/support/topic/gallery-stopped-working-8/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/gallery-stopped-working-8/#post-9269411)
 * Hi 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](https://www.dropbox.com/s/b85bfdn0vva507k/slideshow-gallery.zip?dl=0)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] Duplicate payment in Stripe payment gateway](https://wordpress.org/support/topic/duplicate-payment-in-stripe-payment-gateway/)
 *  [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/duplicate-payment-in-stripe-payment-gateway/#post-7562025)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdverts - Classifieds Plugin] Custom search fields not working](https://wordpress.org/support/topic/custom-search-fields-not-working/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-search-fields-not-working/#post-7354544)
 * Hi 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdverts - Classifieds Plugin] Custom search fields not working](https://wordpress.org/support/topic/custom-search-fields-not-working/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-search-fields-not-working/#post-7354541)
 * Hi 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: [http://housesforrent.sydney/](http://housesforrent.sydney/)
 * Thanks a lot.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdverts - Classifieds Plugin] Custom search fields not working](https://wordpress.org/support/topic/custom-search-fields-not-working/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-search-fields-not-working/#post-7354540)
 * Hi 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdverts - Classifieds Plugin] Custom search fields not working](https://wordpress.org/support/topic/custom-search-fields-not-working/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-search-fields-not-working/#post-7354498)
 * Hi Greg,
 * Thank you so much for the help. That worked. ​
 * However, I have used many custom fields (you may check here: [http://housesforrent.sydney/post-ads/](http://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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdverts - Classifieds Plugin] Custom search fields not working](https://wordpress.org/support/topic/custom-search-fields-not-working/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-search-fields-not-working/#post-7354431)
 * Hi 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: [http://housesforrent.sydney/](http://housesforrent.sydney/)
   I’ve put them for your review.
    Please let me know in case of any other questions.
   Thanks.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[PixelHunter] Pagination change issue](https://wordpress.org/support/topic/pagination-change-issue/)
 *  Thread Starter [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [11 years ago](https://wordpress.org/support/topic/pagination-change-issue/#post-6408268)
 * Hi 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 [http://infographicsfrenzy.com/](http://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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unable to Log In –Cookies Are Blocked Due To Unexpected Output?](https://wordpress.org/support/topic/unable-to-log-in-cookies-are-blocked-due-to-unexpected-output/)
 *  [TheRajdeep](https://wordpress.org/support/users/therajdeep/)
 * (@therajdeep)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unable-to-log-in-cookies-are-blocked-due-to-unexpected-output/page/3/#post-4826980)
 * I found this article very helpful: [http://emlev.com/how-to-fix-error-cookies-are-blocked-due-to-unexpected-output/](http://emlev.com/how-to-fix-error-cookies-are-blocked-due-to-unexpected-output/)

Viewing 12 replies - 1 through 12 (of 12 total)