Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
WordPress does not allow putting shortcodes to menus unfortunately. The only possible way is to edit the corresponding PHP file and put the search shortcode before or after the menu element.
Ususally the header menu is displayed in the header.php file in your active theme directory. You will have to use the PHP shortcode of the plugin: https://goo.gl/DLrp2n
Ernest Marcinko
KeymasterHi!
I guess you want the results container to push down the content.
On the Layout Options -> Results layout panel you can change that: http://i.imgur.com/FiiLOmu.png
Ernest Marcinko
KeymasterHi!
Currently there is Google Analytics integration implemented, where keywords appear as page views. I’m looking to improve this tracking method further for the next release – to track keywords as events.
Ernest Marcinko
KeymasterHi!
Interesting. The theme might use a different method of displaying articles on the blog page.
Can you add temporary ftp and back-end details to your test server so I can check on the code what exactly is going on? It appears to me that the plugin might detect that it’s displayed on a single page, when actually it isn’t. I would like to investigate why.
To safely add the details you can edit your initial post in this thread, or upload a .txt file attachment. Both methods are safe and visible to only me and you.
Ernest Marcinko
KeymasterI’m behind an ISP router and I cannot set up port forwarding.
Since your FTP server requires active mode and it does not allow connections from behind routers, so it throws me off.
On your first screenshot I see an option to swap to passive mode. Try changing the “Par défaul” to “Passif”. That might enable me to connect from behind a router firewall.
Ernest Marcinko
KeymasterHi!
The keyword coloring is a known issue with the current release, fix coming soon. Until then, you can use these custom CSS codes to fix that:
For the text color:
[html]p.asp-try {
color: #000000 !important;
}[/html]and for the keywords colors:
[html]p.asp-try a {
color: #FF0000 !important;
}[/html]Just replace #000000 and #FF0000 with the desired color codes or color name.
The results content is pushing down on my screen. Maybe it was just a caching issue.
Ernest Marcinko
KeymasterI can connect now, but I get an empty directory.
I’ve tried active/passive mode on.I got this in one of the clients error log from the server:
500 I won’t open a connection to 192.168.0.107 (only to 159.253.111.145)
December 16, 2015 at 9:26 am in reply to: Override default WordPress search results page not working #7088Ernest Marcinko
KeymasterThat might be an issue even if the universal is enabled. YOAST changed the global analytics variable from “ga” to something like “__gaTracker” some time ago – just found it on their plugin page.
I’ve coded ajax search pro based on the official google analytics code, so it uses the “ga” variable, which is not defined in your case.I can implement to check for that other variable in the upcoming version, but if YOAST decides to change that for whatever reason, it’s not going to work again…
December 16, 2015 at 8:43 am in reply to: Override default WordPress search results page not working #7086Ernest Marcinko
KeymasterHi!
Make sure you are using the Universal Analitics code, otherwise it won’t work: https://developers.google.com/analytics/devguides/collection/analyticsjs/
If you use a plugin to print the analitics code, look for an option to enable universal mode, it will do the trick 🙂
Ernest Marcinko
KeymasterHi Shaun!
I’m afraid this is not possible. Some themes have something like this included – like the default search bar is opened below the icon or something.
The only option you have here is to build some kind of drop down and place the shortcode there.
Ernest Marcinko
KeymasterHi!
Someone had a similar issue with it’s host just a week ago. It detected the hooks.php file as a false positive and deactivated it automatically.
I’ve made a research on his server and the base_64 encoding of a string caused it, so I’ve replaced that with another solution.
I’m attaching that working version to this post. Please try installing it, I’m hoping it solves the problem.
December 15, 2015 at 3:04 pm in reply to: Override default WordPress search results page not working #7078Ernest Marcinko
KeymasterI’m really hoping I can make it work before christmas.
I’ve made the comments working on a test environment so far, but it’s not working properly yet and the code is a total mess. I’m hoping to use the same method for users, terms and other types of results as well. The biggest problem seems to be the correct fetching the range of results based on pagination, because of the mixed content. It’s crucial for the best performance.
This is currently the top priority alongside with other improvements, so as soon as the next update is out – this is going to be in it (at least partially if I can’t make it work with everything).
Ernest Marcinko
KeymasterDang, it didn’t send my previous message, I sent it back on friday 🙁
I could not log in via FTP, the url seem to be incorrect? Tried FTP and SFTP, ftp. prefixed, but I’m getting a timeout error that the server does not exists.
Can you please check it?
Ernest Marcinko
KeymasterI see what you mean now. Not the whole image is displayed.
It’s because it fills the whole result area with the image resized by the exact ratio. It’s so called “cover” background mode.I believe you can force the image to display as “whole” with the following CSS:
[html]
.results .item .asp_item_img {
background-size: contain !important;
background-repeat: no-repeat !important;
}
[/html]that should force the image to the center without repeating.
Ernest Marcinko
KeymasterHi!
What exactly is the problem with the resizing there?
-
AuthorPosts