loopforever
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Role-Based Page AccessThank you for your suggestion and reply.
Yes, there are plugins for that. However I don’t want to just install a plugin for it.Forum: Developing with WordPress
In reply to: Wp Mail Success or Failure Issueelse if … Big mistake 🙂
Thank you.Forum: Developing with WordPress
In reply to: Wp Mail Success or Failure IssueThank you for your response.
I did these but it didn’t fix the problem. Actually, I’ve tried this before.
The problem still continues. Although the form is not submitted, it sees it as wrong.
Of course I also changed this false value to a different value. The result is the same.Thank you for your answer.
But I think you didn’t fully understand me. Yes, I am already doing what you said.
I’ve created a new seller form with a form plugin. Using this form I get the Store Name and store it in the database under a meta key. So far, no problem. But how can I make it compatible with Dokan?
For example wp-admin>User >(Any vendor) Edit section,
Store Name:
I want to see this part. I hope you understand.
I replaced the array value$dokan_settings['store_name']with new values (which I got from the form) with a hook calleddokan_new_seller_created. However, it still didn’t work.Updating:
I wanted to update the thread as I’ve progressed. Actually, all I need is the store name.
If I can get the store name in the new form I created, I’ll get everything else with the new form. But what can it do for the store name?wp-content/plugins/dokan-lite/includes/Admin/UserProfile.php
The lack of a hook (filter) for $store_settings is missing here.Thank you.
There is one point I don’t understand about this. I would be glad if you help. I’m a little confused.
I am using a plugin for Vendor registration form: https://ww.wp.xz.cn/plugins/easy-registration-forms/I found the table you mentioned:
wp_usermeta
The data I want to add to the registration form is kept in an array.
meta_key: dokan_profile_settingsTherefore, a separate meta_key is not created. The data were serialized and saved by Dokan.
Now, I have created a TextField named iban in this form. Vendor will write the iban here.
The plugin I use has a meta_key field. What should I write here? With this form, for example, how can I get the “iban” in dokan_profile_settings?
For example, I use this for Last Name: ImageBecause there is a meta key named last_name.
- This reply was modified 4 years, 8 months ago by loopforever.
- This reply was modified 4 years, 8 months ago by loopforever.
- This reply was modified 4 years, 8 months ago by loopforever.
Forum: Developing with WordPress
In reply to: Using JQuery on a specific pageThank you very much for your reply. I will consider these.
Forum: Developing with WordPress
In reply to: Using JQuery on a specific pageUpdate:
From what I think it doesn’t work from the form structure.
I am working on a form. There are stages in the form:
Step-1
Step-2
…
So, there are splitters.While going from Step-1 to Step-2, Next button is pressed. With this button, the other page opens and the HTML becomes visible. Probably JQuery isn’t working because it’s late here. Because the division I want to hide is in Step-3.
(document).ready definition exists as you can see. Also,
I got the js codes in the footer. What’s more, buttons (Next), as you might guess, are hard buttons. Therefore, it is impossible to write a Trigger. So, I changed the in_footer parameter in the wp_enqueue_script function. However, it didn’t work.
Do you have another solution?- This reply was modified 4 years, 8 months ago by loopforever.
- This reply was modified 4 years, 8 months ago by loopforever.
Forum: Developing with WordPress
In reply to: Using JQuery on a specific pageThank you for your response.
Can you check this?
Where is the mistake? It doesn’t work in a way I don’t understand.
Very strange. A very simple thing to do: hide the element. However, in WordPress this does not work.(function( $ ) { $(document).ready( function(){ $( "#button-W" ).click(function() { $('.field-field-t').hide(); }); } ); })(jQuery);I even want the direct element to start as hidden. This is the actual definition:
$('.field-field-t').hide();
I wrote the button for triggering later. I thought, “Do I need a trigger?” Of course it works in the browser as above.- This reply was modified 4 years, 8 months ago by loopforever.
- This reply was modified 4 years, 8 months ago by loopforever.
Forum: Plugins
In reply to: [WooCommerce] Google PageSpeed for WoocommerceOkay. Thank you.
Forum: Plugins
In reply to: [WooCommerce] Google PageSpeed for WoocommerceI think you misunderstood me. Yes, I made these optimizations. I want to disable this CSS file (woocommerce.css) “for Homepage only” as in below code. Because this file is not used on the Homepage. This is a “large” file. The cache plugin just shrinks/compresses. This file should not work on the Homepage.
For example, I disabled the CSS styles of the blocks with the code below. Of course, this is not for the Homepage.
add_action( 'wp_enqueue_scripts', ' slug_disable_woocommerce_block_styles' ); // Disable WooCommerce front-end styles function slug_disable_woocommerce_block_styles() { wp_dequeue_style( 'wc-blocks-style' ); }- This reply was modified 4 years, 8 months ago by loopforever.
Hi @shafinahmad01,
Thank you for your valuable response. Yes, I know this plugin. But I am using another plugin. There are conflict problems. Also, too much of a plugin is a load for the site as you know.
How can I do this without a plugin?Hello again,
Yes, I was thinking of removing the whole table. CSS came to mind but I was looking for another solution. Again, the best solution is to modify the file. This is how I handled it. Thank you for your interest.Also a suggestion:
It would be perfect if you bring a feature to the plugin for Dokan. It may even be premium. I am pleased. Because you are interested in the plugin.
Thank you.- This reply was modified 4 years, 9 months ago by loopforever.
Forum: Developing with WordPress
In reply to: Cron trigger using a page the subscriber does not visitThank you very much your response.
Actually it’s a vendor plugin. Therefore, the seller must log in to the page. However, I am considering using admin_footer. Do you think such a code always works correctly ? Or do you have an alternative solution?Forum: Plugins
In reply to: [WooCommerce] Change Product Name Automatically@stuartduff thank you so much your response.