简体   繁体   English

在WordPress网站的子域上安装主题

[英]Installing a theme on the sub domain of a WordPress site

I am working on a WordPress site which is hosted. 我正在托管的WordPress网站上工作。 I have created a sub domain on that site using CPanel. 我已经使用CPanel在该站点上创建了一个子域。 Now I want to Install a theme in the sub site and I am not able to do it. 现在,我想在子站点中安装主题,但我无法执行。 I tried the following 我尝试了以下

  1. In the Admin Dashboard, goto Appearances->Themes, Upload Zip Folder. 在管理控制台中,转到外观->主题,上传Zip文件夹。 But this would only Install the theme on the Main site and not the subsite. 但这只会将主题安装在主站点上,而不是子站点上。

  2. Try to manually upload the file to the sub domain folder through my hosting provider. 尝试通过我的托管服务提供商将文件手动上传到子域文件夹。 It doesn't work . 它不 工作

Kindly suggest ways on how to go about it. 请就如何解决提出建议。

Did you already install WordPress at the subdomain? 您是否已经在子域中安装了WordPress? You should simply be able to log into the dashboard for that install (eg at http://subdomain.example.com/wp-admin/ ), and add the theme there. 您应该只能够登录到该安装的仪表板(例如,在http://subdomain.example.com/wp-admin/ ),然后在其中添加主题。 It should not affect the main site at all. 它根本不会影响主站点。 (Both sites are entirely unrelated.) (两个站点完全无关。)

(If you're using the multisite feature, things are a bit different. In that case, you should enable it through the network admin dashboard before you can activate it on any site.) (如果使用的是多站点功能,则情况会有所不同。在这种情况下,应先通过网络管理仪表板启用它,然后才能在任何站点上激活它。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM