Home › Forums › Basel support forum › functions.php and js
functions.php and js
- This topic has 6 replies, 2 voices, and was last updated 6 years, 4 months ago by Artem Temos.
-
AuthorPosts
-
December 6, 2017 at 2:16 am #27347
VansarenParticipantI was looking for “mailto” in functions.php in order to change the “href” with an actual email address so I do not have to use a contact form nor type in the email, but guess what, I couldn’t find it 🙂 where is?
Moreover, inside functions.js there are various small errors and alerts underlined by WP, just in case.
December 6, 2017 at 8:18 am #27384
Artem TemosKeymasterHi,
Mail social button can be customized in the file
basel/inc/shortcodes.php
. We don’t know why WP says about some errors in the functions.js file. Everything is correct there and it works without any errors.Regards
December 7, 2017 at 5:32 pm #27780
VansarenParticipantDone, thank you!
In this file I can add other social button, like the missing instagram, what about the css code that is going to display the icon and the field in Theme settings/Social?ty
About the mistakes, they are not big mistakes that’s why it works, however they are there.
4. Strings must us singlequote
22. Expected “===” and instead saw “==”
180. Statement body should be inside ‘{}’ braces
349. Missing semicolon
407. ‘e’ is defined but never used
and so on.
December 7, 2017 at 6:51 pm #27801
Artem TemosKeymasterSorry, but we don’t have an instruction how to add options to Theme Settings. It requires additional code customization and is out of our theme support scope.
Regards
December 10, 2017 at 12:26 am #28103
VansarenParticipantI understand Artem, but Basel it’s an eCommerce theme and you’ve missed the most important icon in terms of eCommerce sales, instagram…
Anyway, what I have to do with the mentioned code error in the functions.js
December 10, 2017 at 12:28 am #28104
VansarenParticipantAlso, how it works with WP Bakery updated, does it come with your license like visual composer or nope?
tyDecember 10, 2017 at 11:55 am #28148
Artem TemosKeymasterVisual Composer and Revolution slider come bundled with our theme but they can’t be activated with our purchase code. Actually, you don’t need to do this. Only in case you want to get free premium support from its author, you can purchase it from codecanyon. But it is not necessary since we will always provide you with the latest updates.
And you don’t need to worry about functions.js file, it doesn’t have any problems that may break your website.
The Instagram icon is available for “Follow us” style of social buttons in our theme. And you can set your profile page link in Theme Settings -> Social profiles.
Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register