建立一个WordPress网站并不一定很复杂。但如果你做错了,你最终可能会得到一个看起来很业余和无聊的网站。但是,如果您学习如何安装高质量和专业的WordPress主题,它可以彻底改变您的网站。(WordPress)
是否要购买WordPress主题或使用免费的WordPress主题取决于您。但是,如果您愿意在一个主题上投入少量资金,那么很有可能会看到更好的结果。
在本指南中,您将了解在哪里可以找到WordPress 主题(WordPress Themes)、如何将它们加载到您的网站上,以及如何在WordPress上安装和配置主题。
为 WordPress 主题准备您的网站(Site)
在WordPress(WordPress)上安装主题之前,您需要准备一些基本的东西。
- 托管在Web 主机服务器上的网站(web host server)
- 您网站上安装(WordPress platform installed on your website)的当前WordPress 平台
- 您注册的域指向正确的网站(domain pointing to the correct website)
如果您有一个基本的网络托管帐户,您很可能必须通过上述手动步骤来安装您自己的WordPress平台。然而,许多网络主机只需单击一个按钮即可为您的网站提供WordPress安装。(WordPress)
如果您使用的是WordPress.org而不是您自己的网络托管帐户,那么您不必担心设置。WordPress已安装并准备安装新主题!
一切准备就绪并登录WordPress管理面板后,您就可以在WordPress上安装主题了。
寻找你的 WordPress 主题
您可能不知道这一点,但您实际上可以立即安装一些随WordPress基本安装一起提供的免费WordPress主题。
要查看这些,只需从左侧导航面板中选择外观并选择(Appearance)主题(Themes)。
在此窗口中,您可以浏览WordPress(WordPress)附带的许多已安装的主题。
要切换到其中任何一个,只需将鼠标悬停在该主题上并选择激活(Activate)。如果这些都不适合您,您可以选择列表底部的添加新主题块。(Add New Theme)
这将带您进入一个窗口,您可以在其中浏览许多其他免费的WordPress主题,您可以上传到您的WordPress网站并在其上使用。
如果这些(these)都不好看,并且您想安装自己的主题,则需要在线查找。有许多网站提供您可以购买的高级WordPress主题。(WordPress)一些最受欢迎的包括:
还有无数的个人主题设计师网站,您可以在其中找到由一个设计团队创建的整个WordPress主题集合。(WordPress)
一旦您找到并购买了您的主题,您就可以下载它。您通常将主题文件作为ZIP文件下载到本地 PC。获得该文件后,您就可以开始安装 WordPress 主题了。
如何安装 WordPress 主题
在安装主题之前,您需要准备文件。使用Windows 资源管理器(Windows Explorer),导航到您购买并下载到 PC 的文件。右键(Right)单击您下载的 ZIP 文件(ZIP file you downloaded),然后选择全部提取(Extract All)。
这会将所有包含的WordPress主题文件提取到另一个文件夹(无论您将文件提取到何处)。这些提取的文件将包含许多额外的文件夹和文件。其中一个文件将是一个 .zip 文件,其前面有主题的名称。
这是您需要从WordPress打开以安装主题的文件。返回(Back)WordPress管理页面,选择Appearance并(Appearance)选择Themes。在主题窗口的顶部,选择Add New。
返回您的WordPress管理面板,选择Appearance,然后选择Themes。选择添加新主题(Add New Theme)。
在主题(Themes)窗口顶部(您可以在其中浏览可用的免费主题),选择上传主题(Upload Theme)。
这将打开一个新框,您可以在其中选择选择文件(Choose File)。这将打开一个文件浏览器窗口,您可以在其中导航到下载并保存您购买的主题的ZIP文件的位置。(ZIP)
导航到提取的文件并选择具有主题名称的ZIP文件。(ZIP)
选择文件,然后选择窗口底部的打开按钮。(Open)这将带您回到WordPress管理面板中的上一个窗口。
选择立即(Install Now)安装以安装主题。
在此窗口中,您将看到主题文件的解压和安装进度。该过程完成后,您将看到状态更新说明。
激活您的 WordPress 主题
在WordPress(WordPress)上安装主题后,当您返回主题(Themes)窗口时,您会看到它列为新的可用主题块。
将鼠标悬停在此块上并选择激活(Activate)按钮。您的新主题现已安装并激活!
大多数高级主题(如果您已购买)通常附带设置、文档,有时甚至是向您展示如何配置和使用主题的操作视频。
当您在管理面板的仪表板上(Dashboard)选择时,您可能会在主题选项卡上看到其中的一些(如果您的主题附带了一个)。
即使您已经激活了主题,您也可能需要在主题设置本身中激活主题。并非所有主题都是这种情况,但对于某些主题,您需要导航“激活(Activate)”按钮的设置并选择它。
当您第一次安装主题时,您会期望您的网站会神奇地看起来就像演示一样。不幸的是,这种情况很少见。通常,您需要对主题的所有组件进行一些配置,以使演示首先看起来如此出色。
如何配置您的 WordPress 主题(Your WordPress Theme)
幸运的是,您不需要了解编码(know coding)或任何太复杂的知识就可以让您的主题正常工作。
事实上,许多主题都带有您可以上传的文件,这些文件将使网站看起来就像演示一样,具有所有格式甚至大部分演示内容。
您可以通过选择Appearance并查找任何显示Import Demo的内容来执行此操作。
您将能够选择您喜欢的演示并选择导入(Import)按钮以导入使演示看起来正确的所有文件和配置设置。
完成此操作后,当您预览您的网站时,它会发生变化,但可能看起来仍然不太正确。
这是因为大多数主题都需要活动插件(active plugins)。在安装主题后导入插件时,它们通常被导入为非活动状态。
通过在WordPress 管理(WordPress Admin)面板的左侧导航菜单中选择插件来解决此问题。(Plugins)从子菜单中选择已安装的插件(Installed Plugins)。
在此窗口中,您需要向下查看每个插件并在其下方选择激活。(Activate)
完成后,再看看您的网站预览。您会看到该站点现在的格式与您查看的演示一样。
您需要做的就是开始用您自己的内容替换演示内容!
您还可以通过从左侧菜单中选择外观并从子菜单中选择(Appearance)自定义(Customize)来进一步自定义主题。这将打开一个主题自定义窗口,其中包含主题开发人员编写的所有可用设置配置。
您可以在此处自定义网站徽标、标题和文本格式、主页布局等内容。
通常演示导入会为您调整所有这些设置,以使站点看起来像选定的演示。如果您尚未导入演示设置,那么您可以在这里手动配置主题外观和布局。
安装WordPress主题不需要任何编程或高级WordPress知识。它所需要的只是上传和激活主题,然后花时间学习如何根据自己的喜好自定义主题。
How to Install a Theme on WordPress
Buildіng a WordРress website doesn’t have to be complicated. But if you do it wrong, уou could end up with a site that looks amateurish and boring. However, if you learn how to install a WоrdPress theme that’s high quality and profеssional, it can completely transform your site.
Whether you want to buy a WordPress theme or use a free WordPress theme is up to you. But the odds are good if you’re willing to invest just a modest amount into a theme, you’ll see much better results.
In this guide you’ll learn where to find WordPress Themes, how to load them onto your site, and how to install a theme on WordPress and configure it.
Preparing Your Site For a WordPress Theme
There are a few basic things you’ll need in place before you can install a theme on WordPress.
If you have a basic web hosting account, you may very well have to go through the manual steps above to install your own WordPress platform. However many web hosts provide the WordPress installation for your website with just the click of a button.
If you’re using WordPress.org instead of your own web hosting account, then you don’t have to worry about setup. WordPress is already installed and ready to install new themes!
Once you have everything ready and you’re logged into the WordPress admin panel, you’re ready to install a theme on WordPress.
Finding Your WordPress Theme
You may not know this, but you can actually instantly install a number of free WordPress themes that come with the WordPress basic installation.
To see these, just select Appearance from the left navigation panel and select Themes.
In this window you can browse a number of already installed themes that come with WordPress.
To switch to any of those, just hover the mouse over that theme and select Activate. If none of these look good to you, you can select the Add New Theme block at the bottom of the list.
This will take you to a window where you can browse through lots of other free WordPress themes you can upload to and use on your WordPress site.
If none of these look good and you want to install your own theme, you’ll need to find one online. There are numerous websites that offer premium WordPress themes that you can purchase. A few of the most popular ones include:
There are also countless individual theme designer websites where you’ll find a whole collection of WordPress themes created by one design team.
Once you’ve found and purchased your theme, you can download it. You usually download theme files as a ZIP file to your local PC. Once you have that file, you’re ready to start your WordPress theme installation.
How To Install a WordPress Theme
Before you can install the theme, you’ll need to prepare the files. Using Windows Explorer, navigate to the file you purchased and downloaded to your PC. Right click on the ZIP file you downloaded, and select Extract All.
This will extract all of the contained WordPress theme files to another folder (wherever you extract the files to). These extracted files will contain a lot of additional folders and files. One of those files will be a .zip file with the name of the theme in front of it.
This is the file you’ll need to open from WordPress to install the theme. Back in the WordPress admin page, select Appearance and select Themes. At the top of the themes window, select Add New.
Back in your WordPress admin panel, select Appearance, and select Themes. Select Add New Theme.
At the top of the Themes window (where you were able to browse through available free themes), select Upload Theme.
This will open a new box where you can select Choose File. This will open a file browser window where you can navigate to where you downloaded and saved the ZIP file of the theme you purchased.
Navigate to the extracted files and choose the ZIP file with the theme name.
Select the file and then select the Open button at the bottom of the window. This will take you back to the previous window in the WordPress admin panel.
Select Install Now to install the theme.
In this window you’ll see the progress of the theme files getting unpacked and installed. Once the process is completed, you’ll see a status update saying so.
Activate Your WordPress Theme
Once you’ve installed your theme on WordPress, when you return to the Themes window you’ll see it listed as a new available theme block.
Hover over this block and select the Activate button. Your new theme is now installed and activated!
Most premium themes, if you’ve purchased one, usually come with settings, documentation, and sometimes even how-to videos showing you how to configure and use the theme.
When you select on the Dashboard in the admin panel, you may see some of this on the theme tab (if there is one that came with your theme).
Even if you’ve activated the theme, you may need to activate the theme inside the theme settings itself. This isn’t the case with all themes, but with some you’ll need to navigate the settings for an Activate button and select it.
When you first install a theme, you would expect that your site will magically look just like the demo did. Unfortunately, this is rarely the case. Usually, you’ll need to configure a few things to all of the components of the theme that made the demos look so good in the first place.
How To Configure Your WordPress Theme
Luckily, you don’t need to know coding or anything too complicated to get your theme working right.
In fact, many themes come with files you can upload that’ll make the site look just like the demo, with all of the formatting and even much of the demo content.
You can do this by selecting Appearance and looking for anything that says Import Demo.
You will be able to select which demo you liked and select the Import button to import all of the files and configuration settings that made the demo look right.
After you’ve done this, when you preview your site it will change but it still may not look quite right.
This is because most themes require active plugins. When plugins are imported after you install a theme, they’re usually imported inactive.
Fix this by selecting Plugins in the left navigation menu in the WordPress Admin panel. Select Installed Plugins from the submenu.
In this window, you’ll want to go down each of the plugins and select Activate underneath it.
When you’re finished, take another look at your site preview. You’ll see that the site is now formatted just like the demo you viewed.
All you need to do is start replacing the demo content with content of your own!
You can also customize the theme further by selecting Appearance from the left menu, and selecting Customize from the submenu. This will open a theme customization window, with all of the available setting configurations that were programmed into it by the theme developers.
This is where you can customize things like the site logo, header and text formatting, homepage layout, and much more.
Usually demo imports will tweak all of these settings for you so that the site looks like the selected demo. If you haven’t imported a demo setup, then this is where you can manually configure the theme appearance and layout yourself.
Installing a WordPress theme doesn’t require any programming or advanced WordPress knowledge. All it requires is uploading and activating the theme and then taking the time to learn how to customize that theme to your liking.