Tagged: contact form
hello
where in the theme i can add a phone filed to the contact from here:
http://cliptv.co.il/
scroll down youll see it
this is not contact from 7
thanks
Site URL: hidden Theme version: 2.2Hello
Please mark up on the screenshot whare do you want to add phone number. You may use this service:http://prntscr.com/.
Regards,
Brian Johnson
thanks for the fast replay,
here: http://nimb.ws/IFt1QG
Hello
Sorry for inconvenience. There is no such option in our theme. You may add this field manually in wp-content/themes/royal/framework/theme-fuctions.php from line 1356 and wp-content/themes/royal/framework/shortcodes.php. Please perform all your customization in the Child Theme to prevent overwritting during update. The other way is to use 3-d party plugin.
Thank you for understanding.
Regards,
Brian Johnson
Hello,
I’ve edited the file wp-content/themes/royal/framework/shortcodes.php and added this code in line 256:
<div class="form-group">
<p class="form-name">
<label for="contact-phone" class="control-label"><?php _e('Phone', ETHEME_DOMAIN) ?></label>
<input type="text" name="contact-phone" class="form-control" id="contact-phone">
</div>
and edited the file wp-content/themes/royal/framework/theme-functions.php, added the code $phone = '';
in line 1372, the code $phone = stripslashes(trim($_GET['contact-phone']));
in line 1402 and the code in line 1418:
if ($phone != '') {
$body .= " or contact on phone number $phone" . PHP_EOL . PHP_EOL;
}
Please check your contact form now.
Regards,
Eva Kemp.
Hello,
Edit the file wp-content/themes/royal/framework/shortcodes.php in line 256:
<div class="form-group">
<p class="form-name">
<label for="contact-phone" class="control-label"><?php _e('Phone', ETHEME_DOMAIN) ?></label>
<input type="text" name="contact-phone" class="form-control" id="contact-phone">
</div>
Find the code <?php _e('Phone', ETHEME_DOMAIN) ?>
and translate the word.
Regards,
Eva Kemp.
thanks we got it
we have another probelm.
mobile menu is selected but still show the main menu.
we define 2 menus
1 – for mobile
2 – desktop
we did select in menus for mobile but its not showing.
also can we have a submenu on mobile?
thanks for the fast support.
Hello,
As I see the same menu is shown on mobile as you set in Appearance > Menus:
http://storage1.static.itmages.com/i/15/1013/h_1444740485_1166098_3b217c7521.png
http://storage7.static.itmages.com/i/15/1013/h_1444740539_5819639_1a80b8f2a5.png
You can create drop down menu for mobile, please read here:
http://wptavern.com/how-to-create-a-dropdown-menu-of-wordpress-categories-without-using-code
Regards,
Eva Kemp.
thanks for the fast replay:
strange on our end we see the same menu
http://storage1.static.itmages.com/i/15/1013/h_1444740485_1166098_3b217c7521.png
maybe its our cash,
we add some subcategory to the mobile menu
can you send me a screenshoot to see it its working cause we do the same as the main menu
thanks alot
Hello,
Unfortunately sub items aren’t shown for me too.
Please try to update the theme and plugins to the latest version.
Don’t forget to create back up of your files and database before starting update process!
(it’s for Legenda theme but the process is the same).
Regards,
Eva Kemp.
Hello,
Copy the files shortcodes.php and theme-functions.php to your local PC, then reupload them after theme update.
Don’t forget to create back up of your files and database before starting update process!
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.
Purchase code | Expiration date |
---|---|
d7ed5d03-cb21-4657-b20c-442972d0523c | 15 Nov 2016 |