This topic has 18 replies, 3 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp
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
Hello
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
thanks
can you tell me please what line of code i need to add on the files?
thanks
Hello,
Please provide us with FTP and wp-admin panel credentials in Private Content.
Regards,
Eva Kemp.
see privet content for log in info
thanks for the suuport
🙂
Hello,
Wp-admin panel credentials are incorrect.
Please check them.
Regards,
Eva Kemp.
sorry
try this one
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.
thanks a lot
where i can translate the word PHONE?
thanks
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.
if we update the theme so we gone lose the contact form changes you did no ?
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.
Tagged: contact form, management, optimization, seo friendly, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up