Title: sd1's Replies | WordPress.org

---

# sd1

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/users/sd1/replies/page/2/?output_format=md) 
[→](https://wordpress.org/support/users/sd1/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Third-party plugin shortcode](https://wordpress.org/support/topic/third-party-plugin-shortcode/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/third-party-plugin-shortcode/#post-8526839)
 * Hi Shelby
 * Thanks for your offer to help.
 * I think the problem lies with the theme, Genesis Framework.
 * Is it possible to PM you the live link? I don’t see a way to PM you on your profile.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Third-party plugin shortcode](https://wordpress.org/support/topic/third-party-plugin-shortcode/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/third-party-plugin-shortcode/#post-8517830)
 * Another issue that I have noticed is that the ‘read more’ is linking back to 
   the archive page rather than the single event page, is this normal?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FooGallery Owl Carousel Template] scrollperpage](https://wordpress.org/support/topic/scrollperpage/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/scrollperpage/#post-8407718)
 * Oh that’s great, thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FooGallery Owl Carousel Template] scrollperpage](https://wordpress.org/support/topic/scrollperpage/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/scrollperpage/#post-8407699)
 * Thank you. In the meantime, is there any way I can override the settings in functions.
   php for example using ScrollperPage?
    -  This reply was modified 9 years, 7 months ago by [sd1](https://wordpress.org/support/users/sd1/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FooGallery Owl Carousel Template] scrollperpage](https://wordpress.org/support/topic/scrollperpage/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/scrollperpage/#post-8404289)
 * See footer of this page microfinance-pasifika.org
 * If you click on a dot, the full page of images scrolls but the autoplay doesn’t
   scroll per page, it advances images only one by one. The autoplay should work
   like the footer on this page bwtp.org
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FooGallery Owl Carousel Template] scrollperpage](https://wordpress.org/support/topic/scrollperpage/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/scrollperpage/#post-8398024)
 * Sorry I should have been more clear. My settings are already set to disabled 
   Navigation and enabled Pagination but the autoplay scrolls per item not per page.
   Is there a way to ensure the autoplay scrolls per page?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] hyperlink inside no results found message](https://wordpress.org/support/topic/hyperlink-inside-no-results-found-message/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-inside-no-results-found-message/#post-7596609)
 * OK that didn’t work. What I’m trying to achieve is for the code to be output 
   as an actual hyperlink from the echo which is within the filter, rather than 
   output as a string with a href etc.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] hyperlink inside no results found message](https://wordpress.org/support/topic/hyperlink-inside-no-results-found-message/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/hyperlink-inside-no-results-found-message/#post-7596608)
 * Thanks Geoff, the problem is I had tried that already but the link is output 
   as a string rather than a hyperlink. So the result looks something like this:
 * No events found. Views past events [here](https://wordpress.org/support/users/sd1/replies/?output_format=md#).
 * Instead of something like this:
 * No events found. View past events
    - here
 * .
 * .
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Search by Post Date](https://wordpress.org/support/topic/search-by-post-date/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/search-by-post-date/#post-7074756)
 * If you insert the first block of code above in your theme’s function file, then
   the fields should show up on the search form on the front-end. If you used my
   edited code above, did you enter the correct form ID? Are you using a child theme
   and if so, did you remember to edit the child theme’s function file rather than
   the parent theme’s function file?
 * If you are still having trouble, post your function file code here and I will
   take a look. I’m not an expert but maybe I can help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Perform the search instantly when options are selected](https://wordpress.org/support/topic/perform-the-search-instantly-when-options-are-selected/)
 *  [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/perform-the-search-instantly-when-options-are-selected/#post-6338832)
 * I will try with the default theme and report back but I am thinking it might 
   be a problem with the server configuration since it works perfectly on my localhost
   setup. Is there a line of code that I can maybe add to the htaccess file to test
   if I can prevent this problem? the other thing I have noticed is that sometimes
   the “there is error” appears for a few seconds first and then the results show
   up and other times, “there is error” stays there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Search by Post Date](https://wordpress.org/support/topic/search-by-post-date/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/search-by-post-date/#post-7074688)
 * With some minor adjustments, I have it working, thank you so much for your assistance!
 * First in functions.php file, add the drop-down fields to the search form, including
   the form ID if applicable:
 *     ```
       add_action('uwpqsf_form_bottom', 'add_years_field');
       function add_years_field($atts){
         if($atts['id'] == '4863'){
          echo '<label>Years</label>';
          echo '<select name="byyear" >';//the name attribute is important, it will be used later.
          echo '<option value="2012">2012</option>';
          echo '<option value="2013">2013</option>';
          echo '<option value="2014">2014</option>';
   
          echo '</select>';
         }
       }
       ```
   
 * I changed:
 * `add_years_field($atts)()`
 * to:
 * `add_years_field($atts)`
 * and:
 * `if(atts['id']`
 * to:
 * `if($atts['id']`
 * Secondly, search the posts by published date:
 *     ```
       add_filter('uwpqsf_query_args', 'add_years_query','',3);
       function add_years_query($args, $id,$getdata){
          if(isset($getdata['byyear'])  ) {//only add the query if user enter the byyear input
             $args['date_query'] = array(
       		array(
       			'year' => $getdata['byyear'],
       		),
       	);
          }
         return $args;
       }
       ```
   
 * I removed this section of code:
 * `&& !empty($getadata['byyear'])`
 * I hope I didn’t do anything too drastic and thank you again for your incredible
   support.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Perform the search instantly when options are selected](https://wordpress.org/support/topic/perform-the-search-instantly-when-options-are-selected/)
 *  [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/perform-the-search-instantly-when-options-are-selected/#post-6338830)
 * I am having the same problem with the keyword search. When I enter a keyword 
   the first time, before the results are display it says “there is error”. After
   a few seconds, the results are displayed. The second time I enter the keyword,
   the results are shown without the error.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Search by Post Date](https://wordpress.org/support/topic/search-by-post-date/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/search-by-post-date/#post-7074679)
 * What I mean is the published year needs to be retrived from the database table`
   wp_posts`.`post_date`.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Search by Post Date](https://wordpress.org/support/topic/search-by-post-date/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/search-by-post-date/#post-7074677)
 * Thank you for your response and assistance.
 * I have put the code in the functions file but there are two issues:
 * – I have multiple search forms on the website and I only need to search by published
   date on one of the forms but the input field is showing up on all the forms. 
   Is there a way to identify the specific form in the code so that the input field
   only shows up on that particular form?
 * – The second issue is that it doesn’t seem to be searching by post-date. For 
   example, if I search ‘2012’, the results are posts from 2016 in descending order.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate WP Query Search Filter] Search by Post Date](https://wordpress.org/support/topic/search-by-post-date/)
 *  Thread Starter [sd1](https://wordpress.org/support/users/sd1/)
 * (@sd1)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/search-by-post-date/#post-7074569)
 * Just search by year. Sorry I should have mentioned that!

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/users/sd1/replies/page/2/?output_format=md) 
[→](https://wordpress.org/support/users/sd1/replies/page/2/?output_format=md)