walid91
Forum Replies Created
-
Hi,
My issue has been resolved, hoping for a resolution regarding the sign to the store phone number field.
Hi,
The code works without errors this time.
Thank you.
Hi,
Using the snippets plugin, I tried the code you provided, but an error appeared.
I have shared the error and the code in the snippets plugin.
Hi,
You can use layout style 2 to show child category https://prnt.sc/zfN0ZIUzPHUN
Style 2 requires the Pro version, right?
Hi,
Okey no problem if it can’t be done.
I was thinking of reducing the required number from 6 characters to 4.
Hi,
I don’t know why line number 55 came at the end of line 54, so the code didn’t work.
When I looked more precisely, I noticed this error.
The code now works for me with several types of lists.
Thank you for your help.
Hi,
Yes, I am aware that the .php code for WooCommerce will not work with your plugin.
As you mentioned, I would like to reduce the strength of the required password.
How to do it?
Thank you.
Hi,
Maybe I misspoke.
I don’t want to change the password strength for WooCommerce, but I am talking about your plugin.
What I was saying is that there is a .php code to reduce the password strength for WooCommerce which I use by the way.
Is it possible to do the same thing with your plugin?
Thank you.
Unfortunately this code does not work.
I tried the following code:
<?php if ( (‘bia’ !== $selected_type && ‘type2’ !== $selected_type && ‘type3’ !== $selected_type) && !in_array(‘price’, $hidden_fields ) ):
For the list type ‘bia’ the price is not displayed, but for “type2 and “type3” the price is always present.
Why not try a css code?
I tried on my side with the code “display: none” to make the price field disappear and it worked.
The problem is to run this code on a specific page, so that it does not run on the type of list where you want the price to appear.
Thank you.
Hi,
Did it work for ad type ‘bia’ when added first time. Please, let me know.
https://www.ads-software.com/support/topic/directory-field/#post-15902873Yes, it works without any problem.
With:
<?php if ( (‘bia’ !== $selected_type || ‘type2’ !== $selected_type) && !in_array( ‘price’, $hidden_fields ) ):
But as soon as another type of list is added, the price reappears in bia type.
Hi,
Maybe you didn’t pay attention, but I tried with one line as I showed you here:
Now I don’t have a bug, but the price is displayed on all types of listings.
(No change then).
Please look here : https://ibb.co/s28dtHy
Is there a problem in the code?
- This reply was modified 2 years, 6 months ago by walid91.
Hi,
Sorry for the delay, this is due to unforeseen occupations.
I did as you showed, but without success.
Please look here:
A critical error occurs.
Where is the problem ?
Forum: Plugins
In reply to: [Loco Translate] Problem with the synchronizationHi,
Thank you for responding.
Indeed, Loco translate tells me that there is no .POT file available with this plugin.
I will do as indicated on one of your links, i.e. copy a translation already available with the plugin and change the language.
Hi,
I made a mistake in the question, I meant to say:
Last question: if I want to add several Listing Types
for which I want to deactivate the price should I write :<?php if ( ‘bia’ , ‘other Listing Types’ !== $selected_type && !in_array( ‘price’, $hidden_fields ) ):
or
<?php if ( ‘bia’ !== $selected_type && !in_array( ‘price’, $hidden_fields ) ):
<?php if ( ‘other Listing Types’ !== $selected_type && !in_array( ‘price’, $hidden_fields ) ):Thank you.
Hi,
Indeed, with the code you sent, the price is disabled with a specific category.
I had not understood that it was necessary to rewrite the code, something I do not have the ability to do.
Last question: if I want to add several categories for which I want to deactivate the price should I write :
<?php if ( ‘bia’ , ‘other category’ !== $selected_type && !in_array( ‘price’, $hidden_fields ) ):
or
<?php if ( ‘bia’ !== $selected_type && !in_array( ‘price’, $hidden_fields ) ):
<?php if ( ‘other category’ !== $selected_type && !in_array( ‘price’, $hidden_fields ) ):Or neither of them.
Thank you.
- This reply was modified 2 years, 6 months ago by walid91.