Forums › Forums › Search & Filter Pro › https://
- This topic has 1 reply, 2 voices, and was last updated 8 years, 11 months ago by Ross.
-
Anonymous(Private) December 4, 2015 at 6:25 pm #31463
Hi Ross,
I am creating a special “just for facebook” (on our project) page which goes in iframe and it’s shown in additional facebook tab.
Of course, facebook needs https://, which I also managed for this page. But I get a problem – after performing filtering from the dropdown, it is refreshing the results with http://.
You can try it in a browser without being logged in facebook when you check this url:
https://www.facebook.com/iAllgaeu.de/app/337680106275807/?ref=page_internal
(the results are still not styled)For this particular search, I am using shortcode method, the search form and the results shortcodes are on the same page, and it is performing the search via ajax.
What is the best way you recommend to make a custom change in the code (and where), because I need to reload the results using https:// just for this specific page (and NOT for the rest of the search pages)?
Thanks in advance!
Ross Moderator(Private) December 8, 2015 at 1:29 pm #31705Hi Gerrit
Under Display Results, what Display Method are you using?
If you are using shortcode, you can you can simply change the Results URL to include https.
If you do not want https on the rest of your site, I would advise to duplicate the search form, and change this setting.
Alternatively, if you wanted to hack the code you would need to look in the shortcode class (
public/includes/class-search-filter-display-shortcode.php
)Here you need to modify the urls generated for
action=
anddata-results-url
– if you use ajax (with shortcode display method), there is also an ajax url generated here – which I guess you will want to convert to https.Thanks
-
AuthorPosts