虎扑足球文档 v1.0
First of all, Thank you so much for purchasing this template and for being my loyal customer.
You are awesome!
You are entitled to get free lifetime updates to this product + exceptional support from the author directly.
本帮助文档旨在指导您完成每一个定制步骤。请仔细阅读,以了解本平台的构建方式及正确的编辑方法。进行定制需要具备基础的 HTML 和 CSS 知识,您可以参考下方链接学习。
学习 HTML 基础您需要以下软件来定制本平台。
如果您能在此本地查阅此文档,则表明您已成功下载并解压了安装包。文件结构如下:
Estica/
├── Documentation/
├── www/
│ ├── css/
│ │ ├──/
│ ├── fonts/
│ ├── images/
│ ├── js/
│ │ ├──/
│ │
│ ├── php/
您需要定制的是“HTML”文件夹。请将安装包中的“HTML”文件夹复制并粘贴到您的项目文件夹中。(此操作有助于您避免覆盖原始文件,若出现问题,您可在此处找到原始文件。)
以下是本平台包含的 HTML 页面列表
确定首选的首页布局后,请将文件名重命名为 index.html。上传至服务器时,必须使用此名称才能使其成为默认页面。
配置咨询表单,请遵循以下步骤。
要接收邮件,首先需要设置您的电子邮箱地址。请在代码编辑器中打开 `/php/contact.php` 文件。然后,您可以修改电子邮件 ID 和主题。请参见下方示例。
/* * ------------------------------------ * Contact Form Configuration * ------------------------------------ */ define( "RECIPIENT_EMAIL", "info.thememor@gmail.com" ); // Your email ID here
如果您希望用户在成功提交表单后跳转到其他页面(如“感谢页”或“成功页”),通过本平台可以轻松实现。打开 index.html 文件,只需在 `<form>` 元素中添加 `data-redirect="/path/to/thanks.html"` 属性即可。例如:
<!-- // NOTE THE data-redirect attribute --> <form action="php/contact.php" method="POST" data-redirect="success.html">
或者,如果您不希望用户跳转,而是停留在当前页面,只需将 `data-redirect` 属性值更改为 `none`。
此步骤用于配置页脚的 Mailchimp 订阅表单。首先,您需要从 Mailchimp 获取相关信息。
获取 API 和列表 ID 后,打开 `/php/subscribe.php` 文件,并添加您的 API 密钥和列表 ID。您还可以根据需要配置更多选项,例如双重验证、发送欢迎邮件以及姓名等 MMERGE 标签。请参见下方示例。
/* * ------------------------------------ * Mailchimp Email Configuration * ------------------------------------ */ $apiKey = 'YOUR_MAILCHIMP_API_KEYS_HERE'; /*Your Mailchiimp API Key*/ $listId = 'LIST_ID_HERE'; /*Mailchimp List ID*/ $double_optin = true; /*Set False if you don't need to verify user enmail */ $send_welcome = true; /* Send Welcome email to new users */ $email = $_POST['email']; $fname = ''; $lname = '';
如果您希望用户在成功提交表单后跳转到其他页面(如“感谢页”或“成功页”),通过本平台可以轻松实现。打开 index.html 文件,只需在 `<form>` 元素中添加 `data-redirect="/path/to/thanks.html"` 属性即可。例如:
<!-- // NOTE THE data-redirect attribute --> <form action="php/subscribe.php" method="POST" data-redirect="success.html">
或者,如果您不希望用户跳转,而是停留在当前页面,只需将 `data-redirect` 属性值更改为 `none`。
完成所有定制后,下一步是将您的“即将上线”模板上传到实时托管服务器。为此,您需要从服务提供商处购买托管计划和域名。
从信誉良好的服务商处购买托管服务
Once you have registered a domain name and Hosting, You will get FTP details from your hosting provider. Use that login details to connect with your server. You will need an FTP Software for this such as FileZilla. Connect with your server and open /public_html folder in your server. Then copy all HTML, CSS and JS files from your local machine to your root /public_html folder in
your server. Please note the HTML files should be in the Server's root folder. If your local project is in /your-folder/ Do not upload the folder directly. Instead open the folder and select all HTML files and
CSS, JS folders and upload.
一个快速且优化的网站取决于多个因素,需要实施这些因素才能达到预期效果。有多种优化技术可供选择,它们必将对您的网站性能产生积极影响,我们希望与您分享其中一些技巧:
This is probably one of the Most Important Techniques you should definitely implement in order to bump up your Website's Loading Speed. GZip 压缩 is used to compress the Files that are delivered when loading a Website. It covers HTML, CSS, Javascript & Font Files along with other miscellaneous text files. Where as 浏览器缓存 also covers Images & Videos apart from including the above files. This is used to saves the Static Data in your Browser itself so that when you open the Next Pages on the Same Website, the content does not gets Downloaded again, loading the Website fast.
可以使用 Apache Web 服务器上的 `.htaccess` 文件来启用 GZip 压缩和浏览器缓存。您可以在此处获取相关代码:https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess,以在您的服务器上启用这些模块。
We tend to use Lots of Images on our Websites but we often do not make efforts to Compress & Optimize them. Remember, the Larger the Image, the more time it takes to download and therefore this slows your website loading times affecting User Experience. Your customer will leave your website if it does not load within 3-5 Seconds which adversely affects your Sales. Therefore, it is important to Resize, Optimize & Compress your Images before using it on your Website. Here are some Tips which might come handy in optimizing images:
<img> Tag without resizing it. The
size/resolution of the Image matters since it is not recommended to use an Image size of 1200px x 800px in a Content Size of 300px x 200px as this is unnecessary.
Resize it to 300px x 200pxIt is also recommended that you 合并与压缩 all your CSS Files to a single CSS File & all Javascript Files to a single JS File since 压缩 reduces the size of the File
and 合并 the files helps in reducing the number of HTTP requests made to the server. This is also an Important Factor in increasing the speed of your website. There are several tools available
online to Minify your CSS & JS Files. Our recommendations are:
CSS use CSS Minifier and JavaScript use Javascript Minifier.
You can use a CDN to further speed up your website. You can use the CDN to deliver static files of your website like CSS, JS, Images & Font Files. There are several CDN Hosting Providers available on the Internet but we would recommend MaxCDN or CloudFlare. 注意: CDN setup requires Extra monthly Fees to setup, so it is completely optional & according to your needs. Cloudflare also has a Free plan, you can try that for free.
检查 Google Page Speed 评分
我们非常感谢以下框架、插件和图片的制作者。我们使用它们来增强此登陆页面的功能。由于版权限制,演示中看到的图片不包含在下载包中。
If you have purchased an earlier version and want to upgrade your website to the newwer version of this template, You can follow the steps. In each update, we will keep a changelog or version history, where we will keep the log of all changes made. We will list out the Changes made, Features added and Pages modified. So it will be easier for you to replace the existing. If you have modified a file which has latest update, for example, CSS, Open both page in a code editor and use a Comparison Sofware or an Online Tool like Diff Now to compare changes in both files. Then you can manually copy paste the changed lines without affecting your file. NOTE: We recommend that you keep a separate file for new additions or changes if possible.
Initial Version
如果您喜欢此模板,请访问您的下载页面进行评分:http://themeforest.net/downloads。您的评价对我意义重大 :)
请注意,您购买的是一个价格实惠的模板,而非全职网页设计机构的服务。偶尔我们会协助进行小型调整,但由于其性质,这些请求的优先级较低。请保持耐心、礼貌和尊重。我们将尽快回复您的问题。
我的产品支持范围包括:联系客服
再次感谢您购买此模板并成为我们的忠实客户。