Duration 9:51

How to Add CDN Link in wordpress | How to Use CDN in Wordpress Website

1 117 watched
0
6
Published 30 May 2023

How to use CDN in wordpress website? How to add CDN link in wordpress? Adding CDN links in wordpress is simple. You just need CDN links for required library. So how to add font awesome in wordpress using cdn link? Go to cdnjs website and search for fontawesome. Copy CSS link tag. Go back to wordpress. Under appearance, go to theme file editor. This will open current active theme files in file editor. Open header and footer files of active theme. Paste CSS in head section of theme. If you want to add bootstrap in wordpress theme. Go to cdnjs, copy script tag and css link tag and paste in header file and footer file. If you see the page source, you will see that fontawesome and bootstrap linked in source. If you dont want to add cdn links in theme files, you can do it via plugins as well. Go to plugins and search 'header footer'. There are many plugins that allow code injection in wordpress. - Header, Footer and Post Injections is a good plugin. - WPCode is a good plugin. If you use one of these plugins, now in case you change theme, CDN links will still be there because these are coming from a plugin. This is how you can add CDN links for bootstrap and fontawesome in wordpress. But this is not the only way. You can also find specific plugins for fontawesome and bootstrap. Search for fontawesome from plugins page. Fontawesome plugin is from fontawesome team. It can be used to add fontawesome to wordpress website. Search twitter bootstrap. Bootstrap Shortcodes Ultimate can be used to add bootstrap to wordpress. It also provides helpful shortcodes to add bootstrap elements into the site. This was all about using CDN links in WordPress. How about adding CDN support for whole website? Adding CDN support for wordpress website. From plugins search for cloudflare. Cloudflare plugin helps connect wordpress to CDN for free. It has performance and security benefits as well. After you use cloudflare with wordpress, your website assets will be served via CDN, cloudflare will protect your website from attacks, it will also give you free SSL for lifetime, does not matter which web host you use. So use cloudflare, to server your website content via CDN, to secure your site, and to get free SSL. You will need a free account from cloudflare. Go to cloudflare website and signup for free account. Then activate cloudflare plugin and link your wordpress site to cloudflare account and its done. I have shown this process in a seperate video linked below, where I showed how to get a free SSL for lifetime. - How to Get Lifetime SSL Certificate Free Anywhere (For ANY website, For ANY webhost) /watch/AclIRMNK2geKI So this is how you can add CDN links to wordpress site, or serve your site via CDN for free. There are other CDN networks out there as well. I like cloudflare because it has free option. If you are new to the channel, subscribe to learn more about web development, web application development, editing wordpress source code, how to create a website using wordpress, developing landing pages in wordpress, working with child theme wordpress, custom wordpress theme development, wordpress plugin development, how to build a website with wordpress, create a website with wordpress and related web development areas. You can also make money online by learning and using the skills that we share on this channel. Thank You! 👍 LIKE VIDEO 👊 SUBSCRIBE 🔔 PRESS BELL ICON ✍️ COMMENT ⚡Channel: /@ webstylepress ⚡Website: https://www.webstylepress.com ⚡FaceBook: https://www.facebook.com/webstylepress ⚡Twitter: https://twitter.com/webstylepress ⚡GitHub: https://github.com/webstylepress #cdn #WebStylePress #WordPress #WordPressTutorial #WordPressForBeginners #WebDevelopment

Category

Show more

Comments - 0