Input type - Contact form 7 - wordpress

I have a newsletter sign up form on a site and I can't seem to figure out why the email section input type is set to 'tel' meaning on mobile, users get only access to the numerical keypad and not the actual keyboard. I am quite new to this, which is why I am after some help.
It is the homepage to, the subscribe form down the bottom: https://www.australianwildlife.org/
Can someone please advise how I might be able to change it to input ="email"? I have attached a screenshot where I can see it is set to input="tel"
Here is the contact form 7 code:
<div class="form-content">
<div class="subscribe_form">
<div class="row">
<div class="col-md-4 col-lg-3">
<div class="form-group mb-20">
[awctext* first-name label "First name"]
</div>
</div>
<div class="col-md-4 col-lg-3">
<div class="form-group mb-20">
[awctext* last-name label "Last name"]
</div>
</div>
<div class="col-md-4 col-lg-3">
<div class="form-group mb-20">
[awcemail* email label "Email"]
</div>
</div>
.col-md
[submit class:bttn class:secondary-alt1-bg class:btn class:radius-none class:white-color class:submit-btn class:ripple "Subscribe"]
Site

I think this is part of your theme, not so much part of contact form 7. The shortcode starts with awc, which should stand for Australian Wildlife Conservancy. Somewhere in the theme’s files these shortcodes are added. The bug should be in there.
You can start searching for awcemail on your file system in both the wp-content/themes folder and wp-content/plugins folder (since it might have been implemented in a plugin). If you cannot find it, try searching for the add_shortcode and see whether you can find out whether awcemail is a shortcode and where it is added. You can also do a file search for the following:
type="tel"
type='tel'
If that doesn't work you should found out how the code for your contact form is actually parsed. If you know which file(s) are responsible for that you might find in them where the [awcemail part is converted to the actual html.
If that doesn't work, get in contact with the developer, or post (parts of) the code in a github, for example, so we can examine it. I'm sure that if you post all the code, we are able to help you fix this bug, but that is up to you, of course.

Related

Loop with multiple custom field in different div with bootstrap 5

Ok guys.
This is the first time I've posted here on stackoverflow.
I think it's not such an impossible thing.
My client would like this page here, which I did in html5 and php via wordpress, to become interactive through the custom fields.
what the client want
I searched for many guides for a day, but I found nothing.
I would therefore need a code where the customer through the wordpress management system can load the custom fields and the gray blocks with the custom fields appear on the screen.
I tried this code, but to no avail:
<div class="col-lg-3 col-md-4 col-sm-6">
<div class="bg_light_grey block_informazioni mx-auto info mb-5">
<div class="block_informazioni_child">
<i class="far fa-dot-circle dark_blue"></i>
<h3 class="semibold dark_blue mt-2">
<?php echo "".get_name($post->ID,'',true); ?>
</h3>
<h4 class="regular dark_blue">
<?php echo "".get_post_meta($post->ID,'',true); ?>
</h4>
</div>
</div>
</div>

Spam/Stray Link in WordPress

I have the following link showing up in my wordpress site:
swinging couple erotic story
When I "view source" it is showing up here:
<body class="home page page-id-11 page-template-default cssstyle-style1 font-family-trebuchet font-size-is-large col12">
<div id="rt-header">
<div class="rt-container">
<div class="rt-grid-12 rt-alpha rt-omega">
<div id="text-2" class="widget widget_text rt-block"> <div class="textwidget"><img src="http://www.mmi-doc.org/wp-content/uploads/2013/03/Mission-Ministry-banner3.jpg"> swinging couple erotic story </div>
</div><div id="text-5" class="widget widget_text rt-block"> <div class="textwidget">.</div>
ANY suggestions where I can find this in the WORPRESS INC files? OR other location to remove it?
Thank You
This looks like you may have a hacked file. There are plugins that scan your directory to see if there are out of place files or files that have been messed with. Take a look at this one, https://wordpress.org/plugins/exploit-scanner/
Take a look at Appearance > Widgets to see if it created that widget that you could delete as well.

When I'm logged in I can see elements that disappear when I'm not logged in as Admin

I changed some sections in my Wordpress website and also added some.
The really strange thing is that when I am logged in and I see the website in the logged in view I can see the sections but when I'm not logged in I can't see that, every change at the website is not visible.
I empty the cache and tried to change some texts and every change was visible.
The plug-ins installed are:
Akismet
Contact Form 7
iThemes Security
Roots Rewrites
Soil
W3 Total Cache
WordPress SEO
WPML Media
WPML Multilingual CMS
WPML String Translation
I can't understand how resolve this problem :(
With these informations, we can only say that you must look at Wordpress Codex:
http://codex.wordpress.org/Function_Reference/is_user_logged_in
Maybe you accidentally hid some sections for not logged in users. If not, please be more spesific about your question.
Sorry, I can't see the "user logged in" function.
the code that I add is this
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
<hr/>
<h2 style="text-align: center;"><?php _e('Charter of services','fratesole'); ?><br/>
<small><?php _e('Private Hospital','fratesole'); ?></small></h2>
<p style="text-align: center;"><a class=" btn btn-primary" href="#" target="_blank" ><?php _e("Download Pdf","fratesole"); ?></a></p>
<hr class="in-btn"/>
</div>
</div>
</div>
</section>

Reverse do_shortcode() effect

i have created some basic shortcodes [row],[cols] and [img]. I can use them like:
[row cols="2" ]
[col cols="2"]In faucibus[/col]
[col cols="2"][img src="../wp-content/uploads/2014/08/32-300x300.jpeg"] [/col]
[/row]
What this makes is simple, create the following bootstrap structure:
<div class="row">
<div class="col-lg-6 col-sm-6 col-md-6 col-xs-12">In faucibus</div>
<div class="col-lg-6 col-sm-6 col-md-6 col-xs-12"><img src="../wp-content/uploads/2014/08/32-300x300.jpeg\"" alt="\"\""></div>
</div>
I have made this with do_shortcode($content) because in one shortcode can be another shortcode.
The question:
Is possible to take the html result and converted back to shortcode format based on the shortcodes functions i have already defined?
Thank you:)
I've been having the same problem to a simple front-end editor I'm building. I find Visual Composer very large for simple projects.
A possible solution is to use jQuery to read the attributes and contents of, say a div, and generate the resulting shortcode. So, in your case take the values of 'class' and convert to shortcode equivalent.
I hope this helps!

Drupal 7 annoying content output

I have tried overriding all of the following templates:
page.tpl.php
region.tpl.php
block.tpl.php
node.tpl.php
I still at the top of my content region have the following markup:
<div class="field field-name-field-content field-type-text-long field-label-above"><div class="field-label">content: </div><div class="field-items"><div class="field-item even">
Each of the above templates have nothing but the very minimum to spit out $content usually.
What am I missing?
Sounds like you're looking for field.tpl.php. It's one of those template files, like html.tpl.php, that common themes sometimes don't provide default implementations for, so it falls back on the "hidden" implementation that lives in modules/field/theme.

Resources