Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
The final error message is important there.
It indicates that the system runs out of memory when trying to load the active theme. Most likely it was already on the edge of running out of memory, and by adding 1 more plugin it broke.
Ajax search pro does not load or execute anything on the admin back-end, unless you are exactly on its settings pages, to prevent any compatibility issues and to increase performance, so it’s most likely not related to this exact plugin.
You can try increasing the memory limit programatically by editing the wp-config.php file in your wordpress folder, by adding these lines:
[php]
ini_set(‘memory_limit’,’512M’);
define(‘WP_MEMORY_LIMIT’, ‘512M’);
[/php]512 MB should be more than enough, but of course it depends on the installation (plugins count, theme etc..)
Ernest Marcinko
KeymasterHi!
Sorry for the late answer. I had a similar ticket asking about the isotope margin issue, and I was able to implement it. I can’t suggest a quick fix, this turned out way more complicated than I thought as the “gutter” parameter was not working properly so I had to implement a fix as well.
I’m attaching the pre-release version of the plugin to this reply. To install it, just deactivate and delete the current one, and install this one. Your options and data will remain in the database.
Then make sure to clear your cache if you have any, and on the <span class=”code”>Theme Options -> Isotopic Results</span> panel you can adjust the margin between the items 🙂
Please note that this is not the final version, so it may contain bugs.
Ernest Marcinko
KeymasterHi!
I’m attaching a pre-alpha version of the next release, that should solve this issue. Unfortunately there is no quick workaround, as multiple files are involved.
You can safely deactivate, uninstall the current version. The instance data and the options will stay in the database.Ernest Marcinko
KeymasterHi again!
I’m guessing photographers are users. The problem is that you are using an old version of the plugin (4.0) which does not support search in users yet. The current version (4.6) however does.
If you want, you can update your plugin to the newest version by following this guide. Please follow it carefully to make the transition smooth.
After that, you will be able to see a new option panel on the General Options -> User search, where you can activate searching for users (photographers).
Ernest Marcinko
KeymasterHi!
Sorry for the late response, I had a few tickets ahead of your responses I had to take care of yesterday.
I think I’m probably getting the picture of what you need. Putting an OR relation between the category/term selectors and the post_type selectors is not going to work. You might think the search selects items matching the post type, then matching the category selectors, and then returning the matching elements from both subsets – but it’s not as simple like that. There are for example elements without terms, or missing selectors for terms, which make the query 100 times more complicated.
I’ve made the change in the code from “AND” operator to “OR” operator between the post_type and the terms query, you can try the search now, but I don’t think it will give you the expected results.I removed the category header texts on the Layout Options panel and applied some custom CSS to make it look better, so it now displays as a single list of custom post type and category selectors.
And for the results group ordering. Well that’s currently not possible to change. Someone else asked the same thing a week ago or so, and I tried to make it work for him, but I couldn’t. That part of the plugin is probably one of the oldest (almost 2 years), and that time I wasn’t thinking of a possibility of changing the order of the groups in the results (per custom post type). The current state of that code is not ready for this modification, the only thing I can do is re-write that whole section from scratch. It’s of course planned, and the next thing on the features list, as it’s a valid request to have that – it just didn’t came up until previous week, and I didn’t think of that feature earlier, I’m sorry.
Ernest Marcinko
KeymasterCurrently: 185.9.112.194
Will let you know if changes and I’m blocked.
Ernest Marcinko
KeymasterHi!
I gladly help you if I can. I’m attaching a modified version to this post, please try installing it. I think I might know why the virus scanner was reporting the issue…
Let me know if this works, and I help with the other problems as well.
Ernest Marcinko
KeymasterHi!
I’m trying to access this page: http://villedrummond.oktanecms.ca/nouvelles/
But I’m getting a timeout error. I tried to ping, but it’s not responding, looks like it’s offline (or firewall?). Let me know when it’s back online, or in case you need my IP for firewall rules.
December 9, 2015 at 11:14 am in reply to: Use Custom Excerpt in place of Description for Results? #6969Ernest Marcinko
KeymasterHi!
I see you use the latest version, which actually might be able to pick up stuff from the content builder. When I check the source of the description in the results, I see a few unfinished HTML tags, which might cause the description not to show up.
I was not able to log in with the details, can you please check them? Also, I have a suggestion which might fix the problem. Open the Advanced Options -> Content panel. Then remove everything from the text field next to the HTML Tags exclude from stripping content option. Also, make sure that the Run shortcodes found in post content option is enabled. Like so: http://i.imgur.com/0ZUvXxp.png
This should remove all HTML tags possible from the content, leaving only the text visible.
On the same option panel you can also select to display custom field content instead of the description: http://i.imgur.com/5weqltd.png
Ernest Marcinko
KeymasterHi!
I’m trying to access the page, but it requests a .htaccess authorization. Can you please share the username and password?
To safely add the details you can upload a .txt file attachment. It’s only visible to only me and you.
Ernest Marcinko
KeymasterHi!
I’ve just checked and I found one possible misconfiguration, but maybe it is intentional. On the General Options -> Behavior panel the Trigger search when Typing was turned OFF: http://i.imgur.com/LUwNsDP.png
When I turned on and typed “leopard”, then I got the desired results: http://i.imgur.com/MDyp5s2.png
Ernest Marcinko
KeymasterHi!
Yes, there indeed a 2 pixel gap there. I noticed after I released the current update. I’ve changed up a few lines of CSS and it’s causing that basically.
As a very quick temporary fix, try this custom CSS:
[html]
.item.asp_isotopic_item .asp_content {
margin: 0 !important;
}
[/html]Plugin version 4.6.1 is coming soon, fixing this issue permanently as well 🙂
Ernest Marcinko
KeymasterGreat!
I’m glad it’s working 🙂
Ernest Marcinko
KeymasterHi!
You might be uploading the incorrect file. Make sure you downloaded the installable wordpress file: http://i.imgur.com/tMXeKOC.png
If yes and it’s still not working, then there might be a folder permission issue or something wrong with your host.
Alternatively you can try uploading the plugin manually via FTP. Please check the instructions on how to do so.
Ernest Marcinko
KeymasterHi!
1. Try changing that to this:
[php]
<p>Deel van: <?php
$related_p_ids = get_post_meta($post->ID, ‘deel_van’, true);
$to_echo = array();
foreach ($related_p_ids as $pid) {
$to_echo[] = "<a href=’".get_permalink($pid)."’>" . get_the_title($pid) . "</a>";
}
if ( count($to_echo) > 0 )
echo implode("<br>", $to_echo);
?></p>
[/php]This puts a line break inbetween items.
2. Well, in this case you can try something like:
add_filter( ‘asp_result_author_after_prostproc’, ‘asp_author_from_cf’, 1, 2);
function asp_author_from_cf($author, $post_id) {
[php]
$authors = get_the_terms( $post_id, "auteur" );
$author_names = array();
if ( is_array($authors) ) {
foreach ($authors as $a) {
$author_names[] = $a->name;
}
$author = implode(" | ", $author_names);
}return $author;
}
[/php]This should get all authors and if finds any, then adds them all to the author field separated by “I”.
3. As for the term order. I think I have a solution for you 🙂
After researching I found one plugin, that works. Install this plugin: https://wordpress.org/plugins/post-terms-order/It’s working great, it lets me re-order every taxonomy term for every post. Here is how I did it: http://i.imgur.com/ta2qJRx.png
It’s a bit time consuming to do it for every post, but it works flawelessely. -
AuthorPosts