0

I have a WordPress Site and want to add it's codes to my SharePoint Site.

Can somebody tell me, how can I do it?

3
  • Can you please add some more details? May 19, 2020 at 11:16
  • I use SharePoint Online and have too a WordPress Website. I want to buile a Website in my SharePoint just like my WordPress Website. How can I add the Html or Javascript Codes to my SharePoint Website? May 19, 2020 at 11:44
  • I want to use the Codes that in WordPress used May 19, 2020 at 11:49

1 Answer 1

0

Create a Team site and make sure you use Classic Template.

Download and Install SharePoint Designer

In the site settings, enable Custom JavaScript. Which will allow you to open it in a SharePoint Designer.

When your site opened in SharePoint Designer, open master directory there you can either create master page with your HTML and CSS.

Or

You can replace existing HTML and CSS with your one.

There is much more activities you will need to do other than this. 😉

You can also use modern template but there you will need SPFx.

Update On modern sites in SPD

Official doc is saying no, Customizing "modern" team sites

While plenty others are saying yes,

Personally my answer is No but you can try this and if it worked please let me know.

Steps,

  1. Get SharePoint Online Management Shell
  2. Connect to SharePoint Admin
Connect-SPOService -Url https://yourtenant-admin.sharepoint.com
  1. Set DenyAddAndCustomizePages to false
Set-SPOSite -Identity https://tenant.sharepoint.com/sites/contoso -DenyAddAndCustomizePages 0
6
  • Must i to create in SharePoint a team website or a communication website? because my WordPrees's Website is not for teamwork activity. May 20, 2020 at 6:51
  • Thank's for your Help. May 20, 2020 at 6:52
  • @user13474012 Check my updated answer. May 20, 2020 at 12:17
  • thank you so much. May 25, 2020 at 11:08
  • I have installed Sharepoint Designer but i get a message: The Server could not complete your requet. how can i to Fix this Problem? May 25, 2020 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.