eavinu
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] is_search problemOK sorry for the flood, one last update:
If I use the search in the header, Hebrew and English results are fine as both are without “archive” in body class.
When using the search inside a category there is a problem as those results do have archive in them but they don’t have tax-product_cat and hence it doesn’t have the correct layout that it should have.Hope that you manage to sort it and fix so that all the taxonomies from are taken to the secondary language as well as this is the only way to fix my issue here…
Thanks!Forum: Plugins
In reply to: [Polylang] is_search problemWhile it is not the best solution for me, for now I will change the condition to check if we have “archive” in the body class as in the regular search it doesn’t have it so it will still differentiate the results layout.
Please update me if you managed to fix the tax-product_cat issue.
I wish to thank you now but I will save it for when I mark this topic as solved 🙂
Forum: Plugins
In reply to: [Polylang] is_search problemBy the way, you can see in the English page now 2 search fields, one should be there when it is not (in_array(‘tax-product_cat’,$classes)), for the regular search results but it is showing because the tax-product_cat is missing from the body class.
Forum: Plugins
In reply to: [Polylang] is_search problemI wasn’t aware but the Edit option for posts is available for only one hour after it was posted so can’t erase the links… never mind.
Now after this new version we are almost there! A great improvement.
Now infact the is_search is working and we can see that the “archive” definition is in the body class.
The more important definition is still missing from the body class, it is for the following usage for the layout:if (in_array('tax-product_cat',$classes)) {I use this to differentiate between regular search results layout and the layout of this custom filter which is based on the search function.
You think that this can also be resolved? I think that it is still related to the custom taxonomies but you should know better…
Forum: Plugins
In reply to: [Polylang] is_search problemI understand, indeed we are using the custom taxonomies such as the product_cat and product_tag and not the regular wordpress category and tag taxonomies.
Looking forward to your solution!
Is it okay to remove the links that I added above?
Forum: Plugins
In reply to: [Polylang] is_search problemmaybe it is a problem with interaction with Woocommerce?
Any idea at all?
In Hebrew which is the main language there is no problem at all…Forum: Plugins
In reply to: [Polylang] is_search problemI will add links here as I can’t find where to message you as well 🙂
Later I will erase the links once you see them:Main language (Hebrew):
http://winners-auctions.com/?s=&product_cat=%D7%9E%D7%9B%D7%99%D7%A8%D7%94-%D7%9E%D7%A1%D7%A4%D7%A8-085&product_tag=%D7%9B%D7%AA%D7%95%D7%91%D7%95%D7%AAEnglish:
http://winners-auctions.com/en/?s=&product_cat=auction-no-085&product_tag=ketubotHere I am showing you the same category and same tag filtered in the corresponding language so you can see the exact same search results but the page layout is wrong in English.
I found that the English page is showing the content that is defined under the !is_search and the Hebrew page shows the correct content from the is_search definition that I made.
Another thing that affects the CSS and also a definition used in woocommerce.php is that in Hebrew the body class contains “archive tax-product_cat” and in English those are missing.Any idea?
Forum: Plugins
In reply to: [Polylang] is_search problemOK I forgot that there is no private reply here so I am sending you links in a message to show the problem.
Forum: Plugins
In reply to: [Polylang] is_search problemThank you for the so fast asnwer!
As a matter of fact, the product tag and category tags are not taken from the default language and the results are being shown.
The problem is that I modified woocommerce.php with some if is_search() and some if !is_search() functions.
I will add another private comment with links to show you the difference between the languages (I am just the developer not the owner of the site so I don’t want to post links to it here)
Forum: Plugins
In reply to: [WP Customer Area] private category pagesHi Vincent,
Thank you for your reply.I did create “customer-area/templates” folder in my child-theme.
Found that the main page shown to the customer after the login page is managed by the file customer-page.template.php.Now in this page it has this line:
$this->print_page_content( $args, $shortcode_content );I assume that this is the line that creates the content of the page.
I have a private page made for example and also a private file, for some reason at the moment I can only see the link to the page and not to the file for some reason.I have debug mode on, and found that the file customer-private-pages-content.template.php has the following:
while ( $content_query->have_posts() ) { $content_query->the_post(); global $post; include( $item_template ); }How should I update it or actually modify the $content_query or $item_template to include the files, and also to show the categories instead of the pages?
Am I in the right direction?Forum: Plugins
In reply to: [WooCommerce Product Navigation] Nav not working properly.Hello everyone,
I had the same problem of navigation between categories while it is necessary to limit the navigation to just inside the specific category…The solution for this is on the file plugins/woocommerce-product-navigation/woocommerce-product-navigation.php on lines 46-47:
replace the following:
$previous_link = get_permalink(get_adjacent_post(false,'',false)); $next_link = get_permalink(get_adjacent_post(false,'',true));to:
$previous_link = get_permalink(get_adjacent_post(true,'',false, 'product_cat')); $next_link = get_permalink(get_adjacent_post(true,'',true, 'product_cat'));This is also a recommendation for the plugin author to add this if another version ever comes out 🙂
Forum: Plugins
In reply to: [Polylang] call to undefined functions such as pll_ePlease disregard this post!!!
After updating to 1.5.3 the plugin was no activated and therefore the errors came…
stupid of me not to see that the plugin is not active.Thank you for your help!
I hope that this will be resolved soon…Eran
Actually it didn’t save but after a while (maybe I reopened the browser or cleared cache) and it did save so I am not sure about that.
But what can be done with the permalinks problem?
Thank you for your assistant Cais.
This is what I have in the server settings:Operating System : Linux (32 Bit)
Server : Apache
Memory usage : 10.12 MByte
MYSQL Version : 5.0.96-log
SQL Mode : Not set
PHP Version : 5.2.17
PHP Safe Mode : Off
PHP Allow URL fopen : On
PHP Memory Limit : 64
PHP Max Upload Size : 32M
PHP Max Post Size : 33M
PCRE Backtracking Limit : 500000
PHP Max Script Execute Time : 30s
PHP Exif support : Yes ( V1.4 )
PHP IPTC support : Yes
PHP XML support : YesGraphic Library
GD Version : bundled (2.0.34 compatible)
FreeType Support : Yes
FreeType Linkage : with freetype
T1Lib Support : No
GIF Read Support : Yes
GIF Create Support : Yes
JPG Support : Yes
PNG Support : Yes
WBMP Support : Yes
XPM Support : No
XBM Support : Yes
JIS-mapped Japanese Font Support : NoAlso please tell me what should I do if sometimes I try to save settings and it doesn’t save anything that I changed, I think it is related to memory?
Thanks,
eavinu