theblueli
Forum Replies Created
-
Forum: Plugins
In reply to: [wpForo Forum] Shortcode for signup form and login form?I have tried something like this [wpforo item=”sign-in”]
But not able to pre-select the login tabMy aim is to redirect non-login user to the sign-in endpoint when they visit the forum page.
Thought I might able to do something like this
if ( is_user_logged_in() ) {
echo do_shortcode( ‘[wpforo]’ );
} else {
echo do_shortcode( ‘[wpforo item=”sign-in”]’ );
}Any ideas how it may work?
ThanksForum: Plugins
In reply to: [wpForo Forum] How to change the base slug “community”?Thanks!
Forum: Plugins
In reply to: [wpForo Forum] Is there a way to clone/duplicate user groups?I realised I can use sub-user group. So it will not be needed
Thanks I get it now. I need to disable sync user role in order to assign user to a group.
either way. we must create separate user roles to achieve it, is it correct?
Forum: Plugins
In reply to: [WooCommerce] Filter by category on the wp admin product sectionThank you!! This is what I am looking for.
Forum: Plugins
In reply to: [WooCommerce] aAttribute option custom order questionWell, This is weird I did what exactly you did 2 days ago. It did not make any changes. But today I checked again. The option is now in the custom order.
Because of cron job? Redis Cache thing…?Anyway, it is resolved…
thanksForum: Plugins
In reply to: [WooCommerce] aAttribute option custom order questionThis does not seem to work as well, I also tried to switch sort from custom to Name, Term ID. not working at all. Wonder if this option is not meant to do a custom order for dropdown.
Thanks
Yes, it works!! Thank you for correcting the mistake!!
to create an Oxygen Builder template in their setup, that holds the markup portions from the templates, and then load all of the javascript portions through the enqueue scripts system.
Hi sorry for the late reply. I am not very techy.. wish I could understand what you mean. I think I should give it up.. have tried some other way but with no success. I just want to change the No results matched your query into another language. I edit the plugin template directly…any update I just go there and change the lines again.
I am trying to make the text a different language as the site is a multi-language site. I did something like this below doesn’t the condition does not work. Does not seem to be the question related to the plugin. Hope you don’t mind me asking… if we want to use a WP function like this one get_locale(). Usually, how should we do that? Thanks
<script type="text/html" id="tmpl-autocomplete-empty"> <div class="autocomplete-empty"> <?php $current_language = get_locale(); if ($current_language = zh_HK){ echo esc_html_e( '沒有結果符合您的查詢 ', 'wp-search-with-algolia' ); }elseif ($current_language = en_HK){ echo esc_html_e( 'No results matched your query ', 'wp-search-with-algolia' ); } ?> <span class="empty-query">"{{ data.query }}"</span> </div> </script>This is so wried I cannot replicate the issue today..
Now I have no issue.
btw I think this is the parameter when the issue occurred.
wp-admin/edit.php?s&post_status=all&post_type=product&product_cat=new-arrival&product_type&stock_status&seo-filter&schema-filter=none&filter_action=Filter&paged=1Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi supports Chinese Character?My case was installed on the root. I think.
/phpjieba/cjieba/dict
After a couple of tries no successes… I gave up.
Relevanssi is already good enough at reading Chinese characters though
Thank you anyway.Forum: Plugins
In reply to: [WP Search with Algolia] How do you index ACF fields?Yes the variable should work… Later I found that I made a mistake so I deleted my content @@
So it is the Push settings button… I wondered what it does. Now It is all working finally. Thanks!! OrzForum: Plugins
In reply to: [WP Search with Algolia] How do you index ACF fields?Hi… In the end, the snippet from the algolia example does work…
But this is stupid. We can’t use the bulk button ‘Re-index search page records’ after adding the snippet. Instead, I have to go autocomplete section find my post type ‘product’ and reindex from there.
Now I can see the ACF data is indexed from the Algolia dashboard…
It seems the bulk reindex button won’t add a new attribute, but once the attribute is added via the reindex button from autocomplete section. bulk reindex button able to update those attributeI have also added a filter like this algolia_posts_product_index_settings
But it is not searchable, I can see the value from the Algolia dashboard, but when searching the keyword. It shows nothing.
I will continue tomorrow.. exhausted..- This reply was modified 3 years, 11 months ago by theblueli.
Forum: Plugins
In reply to: [WP Search with Algolia] algolia-search-highlight broke my elementYes.. it is odd. Would be a bug.
Anyway does not matter we can add a span instead of using alt text and apply a class .sr-only to hide the text if needed..sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }