Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Plugin theme requirements?
asnorth
Newbie
Posts: 5
Post Plugin theme requirements?
on: May 17, 2012, 02:50

Hi
Thank you for providing me with a free copy of your new custom search form plugin. I got it working fine on the default twenty eleven theme but it won't work with my actual site theme (ultimatum). Please could you tell me the plugins theme requirements (ie search.php etc) for the plugin to work so I can speak to the theme developer to get it working.
Thanks
Tony

Jeff
Administrator
Posts: 26
Post Re: Plugin theme requirements?
on: May 17, 2012, 13:14

The search gets triggered by looking at the $wp_query object to see if a search is being performed.

if ($wp_query->is_search && $wp_query->query_vars['s'] == 'CSF_search' && is_numeric($_GET['CSF_form_id']))

The $wp_query->query_vars['s'] variable is set from the search form as well as the $_GET['CSF_form_id'] variable. The theme might be hooking in somewhere and interfering with the search form. Without some trouble shooting I'm not sure what the problem is. Is ultimatum a paid theme or can I download it for free? I've ran the plugin on several themes and haven't had any problems with it not showing search results.

asnorth
Newbie
Posts: 5
Post Re: Plugin theme requirements?
on: May 18, 2012, 05:40

Thanks for your response. It's a paid theme so I've given the info you provided above to their support forum to see if they come up with an answer.

Thanks
Tony

asnorth
Newbie
Posts: 5
Post Re: Plugin theme requirements?
on: May 23, 2012, 10:42

Hi
Got a response from the theme developers, they have said the following:

We do not have an altered search widget we use the regular WP search widget. May you ask them (wpmason) if something needs to be changed in loop

Thanks
Tony

Jeff
Administrator
Posts: 26
Post Re: Plugin theme requirements?
on: May 23, 2012, 11:01

Nothing needs to be changed in your theme. Your themes default search results should be bypassed because Custom Search Forms uses the pre_get_posts filter with a priority of 100 and will modify the posts that are returned in a search result. You can forward them the code for our plugin if you would like to see if they can get it working. Or else I would need access to their code to see where the problem is. What version of wordpress are you using? This was developed on 3.3.2 and has been tested back to 3.1.

asnorth
Newbie
Posts: 5
Post Re: Plugin theme requirements?
on: May 23, 2012, 11:09

Thanks very much, I'm trying on 3.3.2. I'll pass on the info and see where we get. Your plugin works awesome on the default twenty eleven theme so I'm sure to use it in the future too. Have you considered offering a developers licence?
Thanks
Tony

Jeff
Administrator
Posts: 26
Post Re: Plugin theme requirements?
on: May 23, 2012, 11:12

We currently offer 3 licenses. For $99.99 you get the plugin with support and updates for unlimited sites.

https://www.wpmason.com/our-plugins/custom-search-forms/purchase/?s2-ssl=yes

asnorth
Newbie
Posts: 5
Post Re: Plugin theme requirements?
on: May 27, 2012, 02:58

Ok, so i've still been unable to get the plugin to work with my theme (framework) would you be able to take a look and see if you can see anything obvious that is causing the problem? The framework is a large file (around 16mb) plus it's a complicated one to setup, would it be easiest to send the files to you or give you access to my test site?
Thanks
Tony

Jeff
Administrator
Posts: 26
Post Re: Plugin theme requirements?
on: June 15, 2012, 13:24

Sorry, I didn't see you post until just now. You can give me access to your site if you want. That would be the best solution to figuring out what the problem is. I will need ftp and wp-admin access to track down the bug. You can email usernames and passwords to info@wpamson.com.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.115 seconds.