Forums › Forums › Search & Filter Pro › Media file as hyperlink
- This topic has 12 replies, 2 voices, and was last updated 8 years ago by Anonymous.
-
Anonymous(Private) October 4, 2016 at 8:33 am #61770
Hi there!
I am willing to create a search form on my page http://www.wiskundepagina.nl. However, I am not totally content with the way images are displayed. I want pictures to be displayed as documents (as a hyperlink), no as an image itself. Is this possible?
Kind regards,
Stan Thijssen
Trevor(Private) October 4, 2016 at 11:22 am #61849Hi Stan
Q. I want pictures to be displayed as documents (as a hyperlink), no as an image itself. Is this possible?
A. It depends which Display Results method you are using. If you are using As a Shortcode, then editing the results.php template file can probably achieve your goal. If you are using one of the other Display Results methods, then what appears in the results is determined by your theme and its template files. You would have to customize your theme files.Q. Is it possible to have a search form on some specific page, instead of in the sidebar on the right?
A. I assume that your theme allows only standard placement of widgets in that sidebar, yes? This depends on your theme. If you can create a page, and you have some means of placing a text area, you can instead place the form shortcode (shown in the form design on the right) and the theme may well allow it to work. Again, this is theme dependent.Anonymous(Private) October 4, 2016 at 11:29 am #61852Hi Trevor,
Thanks for your fast reply! I already managed to place a second search form on a specific page. 🙂 However, obtaining image results as hyperlinks isn’t working yet. How and where should I edit the results.php template file?
Kind regards,
Stan Thijssen
Anonymous(Private) October 4, 2016 at 11:48 am #61864https://www.mupload.nl/img/nbq9k7indyo4j.17.23.png, this is the way it looks right now, while this: https://www.mupload.nl/img/glkil56otatg3.17.15.png is the way I want it to look. I’ll have a look at the link you just sent.
Kind regards,
Stan Thijssen
Anonymous(Private) October 4, 2016 at 1:05 pm #61870I tried to fix it with help of the link you just sent, but unfortenately, I can’t find my theme folder at all. I thought I found a list with some of these folders (via Editor), but I wasn’t able to add another folder overthere. Furthermore, I couldn’t find a folder/file called: wp-content\plugins\search-filter\templates\results.php…
-
AuthorPosts