Im looking for something like this:
<?php mailchimpSF_signup_form(array("placeholder" => "value")); ?>
Hi there brainfruit,
I’m not sure I’m totally clear on what you’re looking to accomplish, but the code added to the site via the shortcode will be located in the mailchimp_widget.php plugin file, if you’d like to customize the PHP. The shortcode itself cannot be customized.
If you can provide me a bit more info on what you’re wanting to change I’ll be happy to help troubleshoot further.
One thread which I think may be useful for you is this one about field placeholder text:
https://ww.wp.xz.cn/support/topic/display-text-in-input-field-and-select-all-on-click?replies=4#post-6317378
-Kath
Hi mc_kath,
thanks for your reply.
I have added the Sign-Up-Form via php and I want to add a value to the placeholder-tag.
My question is. Can the php-function pass any Parameters and if yes are they documented anywhere?
Thank you for your help.
Hi brainfruit,
As far as I know, the shortcode itself cannot be changed, but the plugin file can be altered and customized. This does mean that each instance of the widget and placement of the shortcode will match whatever is set up in the mailchimp_widget.php plugin file.
There are other ways to manipulate the placeholder text:
– https://ww.wp.xz.cn/support/topic/place-field-name-inside-the-field?replies=11
– https://ww.wp.xz.cn/support/topic/display-text-in-input-field-and-select-all-on-click?replies=4
Perhaps one of those solutions will help to achieve something similar.
Let me know if there’s anything else I can help with.
-Kath
Hi Mc_kath,
thanks, this solved my problem.
But if I update the PlugIn I might loose the changes I made 🙁