One place for hosting & domains

      August 2022

      Decoding WordPress: Creating a Multilingual Website

      As a website owner, accessibility should be one of your highest priorities. That’s because if a portion of your visitors can’t read your content, you’re likely missing out on an interested audience. By not making your site multilingual, your reach will be limited to visitors who are able to read your language.

      Fortunately, WordPress makes it easy to add multilingual features to your website. To do this, you can install a multilingual plugin or use translation software to add material in other languages. This way, you can offer multilingual content to users all over the world.

      In this post, we’ll explain what a multilingual website is and why you should consider creating one. Then, we’ll discuss how you can add multilingual features to your website. Let’s get started!

      An Introduction to Multilingual WordPress Websites

      Essentially, a multilingual website provides the same content in more than one language. This means, no matter how the original article is written, users can be redirected to their native language:

      Multilingual website

      Rather than only using a single language, you can add multilingual features to your website. Whether you use a multilingual plugin, Google Translate, or manual translations, you can start sharing your content worldwide.

      Multilingual Features in WordPress 6.0

      WordPress 6.0 brought many updated features, including extended Full Site Editing and site-wide blocks. However, the core software doesn’t come with multilingual functionality. Although WordPress itself doesn’t yet support out-of-the-box bilingual or multilingual features, many plugins enable you to easily translate your posts and pages.

      Fortunately, WordPress is consistently working on new features. Here is the development roadmap for WordPress’ multi-year Gutenberg Project:

      1. Easier Editing: Development of the Block Editor
      2. Customization: Full Site Editing, Block Patterns, Block Directory, and Block-based themes
      3. Collaboration: Multi-author collaboration
      4. Multi-lingual: Implementation of multilingual features

      Currently, we are in phase two of the Gutenberg Project. Therefore, if you want to build a multilingual website with just core WordPress software, you’ll have to wait for a while, as there is no current timetable on when the project will reach phase four.

      In the next few years, we should also see other Content Management Systems (CMS) become multilingual-ready. If you use a headless CMS, the future will likely bring support for multilingual content.

      Benefits of Creating a Multilingual Website

      No matter the type of content you produce, you can benefit from creating a multilingual website. Whether you run a business website or a small blog, translating your content can be an effective way to grow your audience.

      By translating your website, you can significantly increase your organic traffic. Although English is the most common language on the internet, it only makes up 25.9% of online users. That means, if you don’t translate your English content into another language, you could fail to reach a larger, global audience.

      Besides, creating a multilingual website can improve your Search Engine Optimization (SEO). If you’re trying to gain traction with English keywords, you may have noticed that these have a lot of competition. In other languages, the same keywords can be far less saturated.

      For example, the keyword ‘meal delivery’ has a high amount of searches and competition. With an expensive top-of-page bid, you may not want to use it:

      English keyword results

      However, using ‘entrega de comida’ can improve your results. By simply translating your keyword into Spanish, you can run a cost-effective ad campaign without competing with other websites:

      Spanish keyword results

      Additionally, offering content in a visitor’s native language can provide a better User Experience (UX). Instead of having to rely on Google Translate, users can immediately understand your website and find the information they’re looking for.

      This can also make your website more credible and trustworthy. When you can remove a communication barrier, users from all over the world may be more likely to trust what you’re saying.

      Types of Multilingual Plugins

      Since WordPress isn’t multilingual-ready out of the box, one effective option is to install a multilingual plugin. With these plugins, you can start publishing content in other languages. However, some multilingual plugins can offer more in-depth translations than others. Let’s look at a few different types.

      Comprehensive Multilingual Plugins

      The best multilingual plugins will enable you to translate every part of your website, from your written content to your themes and plugins. When you want to make your entire website multilingual, these plugins can be effective tools.

      One of the most popular multilingual plugins is TranslatePress. After installation, you can use its front-end editor to translate everything you can see on your website:

      TranslatePress plugin

      Additionally, by integrating TranslatePress with Google Translate or DeepL, you can set up automatic translation for all of your content. Please note that relying on a service that leverages machine translations will not work as well as having someone who can natively understand the language you are translating your content to.

      Fortunately, you can fix any mistakes that machine translations may make manually and see a live preview of these changes during the editing process.

      Polylang is another powerful multilingual plugin that enables you to translate your posts, pages, media, categories, and tags. You can even create translations any custom post types, widgets, navigation menus, and URLs:

      Polylang plugin

      Plus, Polylang can improve your multilingual SEO. By setting up HTML hreflang tags, SEO-friendly URLs, and open graph tags, Polylang can help you to start showing up in global search results.

      Both of these plugins are free to download. However, if you want to access advanced features and add-ons, you’ll likely need to purchase the premium versions.

      Automated Translation Plugins

      Alternatively, some multilingual plugins connect to automated translation services. This type of plugin can provide translations for certain parts of your website, but won’t be nearly as comprehensive.

      For example, Translate WordPress with GTranslate can make your website multilingual using Google Translate. With this plugin, you can add different languages in a widget, allowing users to easily switch to their native language:

      GTranslate plugin

      The free version of GTranslate includes statistical machine translations. With a premium version, you can access Google neural translations, which can be much more accurate. Also, the core software does not support manual revisions.

      If you’re a software developer, you may benefit from using Loco Translate. Unlike the other options on this list, Loco Translate enables you to update the language files in your theme or plugins:

      Loco Translate plugin

      Using the built-in translation editor, you can modify WordPress translation files directly in your admin dashboard. This will contain integrated automatic translation services to help you design a multilingual-ready theme or plugin.

      Get Content Delivered Straight to Your Inbox

      Subscribe to our blog and receive great content just like this delivered straight to your inbox.

      How to Create a Multilingual Website with WordPress (7 Methods)

      Translation can be the key to driving global traffic to your website. To help you get started, we’ve compiled a few different ways you can make your content multilingual.

      1. Choose a Multilingual Ready Theme

      Often, picking a theme can be an important first step in improving your website’s appearance and functionality. When you’re trying to make multilingual content, you can consider installing a translation-ready theme.

      In a translation-ready WordPress theme, the software will support translations into many languages. To achieve this, developers usually concentrate on a variety of factors including:

      • Internationalization (i18n): Theme development that focuses on easy translation.
      • Localization: The process of translating from the original language into a new language.
      • Right to Left (RTL) text: Supports languages that read from right to left, including Arabic, Aramaic, and Hebrew.

      It’s important to keep in mind that a translation-ready theme won’t automatically translate your content. It simply provides a solid infrastructure for your translated content.

      To find a multilingual theme, you can apply a filter in the WordPress Theme Directory. Here, click on Feature Filter and select the Translation Ready option:

      Translation Ready filter

      This will exclude any WordPress themes without multilingual support. After browsing these results, you can install and activate a translation-ready theme:

      Translation-ready WordPress themes

      One of the most powerful translation-ready themes is Divi. It integrates with many multilingual plugins and supports full translation of its front-end interface:

      Divi theme

      Plus, Divi’s localization covers everything from form fields to descriptions. Moreover, after you enable a right-to-left language, this theme will automatically turn on RTL mode.

      If you’re looking for a more affordable option, consider the Neve theme. Although it has a more minimalist design, it can adapt to almost any new language that you might need it to:

      Neve theme

      With Neve, every element of your theme can be translated, no matter which multilingual plugin you use. Like Divi, Neve is fully capable of using RTL text, so you’ll never have to worry about translations affecting your web design.

      2. Add a Language Switcher

      Once you find a translation-ready theme and a multilingual plugin, you can start translating your online content. To do this, you can create a language switcher. This is a dropdown menu or button that visitors can use to select a translated version of a page:

      Language switcher

      A language switcher can enable each visitor to your site to select their preferred language. This provides a quick, convenient way to translate your website without leaving the page.

      With TranslatePress, you can add a language switcher to your site in just a few steps. First, install and activate the plugin:

      Install TranslatePress

      Then, go to Settings > TranslatePress > General. In the All Languages section, there will be a default language set for your website. Here, select some alternate languages:

      Select languages

      Next, scroll down to the Language Switcher settings. With TranslatePress, you can display your language switcher with shortcodes, as a menu item, or with a floating language selection menu:

      Language Switcher settings

      For any option, you can customize the appearance of the language switcher. Using the dropdown menu, you can choose to display the language names, flags, or both:

      Language switcher display

      When you’re finished, save your changes. One way to add this feature to a page is with its shortcode. On any page or post, simply add a shortcode block:

      Language switcher shortcode

      To display the language switcher, paste this shortcode: ‘[language-switcher]’. On the front end you’ll be able to see your list of available languages:

      Front-end language switcher

      Now any visitor can easily read your website in their preferred language simply by selecting it!

      3. Enable Automatic Translation

      Another simple way to create a multilingual website is to set up automatic translation. This will translate every word of your content from one language into another. Although this may provide some awkward phrasing, it can be a quick and easy way to translate your website.

      If you decide this option is right for you, you can use the TranslatePress plugin. It provides automatic translation using either Google Translate v2 or DeepL. However, the free version will only support Google Translate.

      After you activate the plugin, navigate to Settings > TranslatePress and make sure to set your desired languages. Then, click on the Automatic Translation tab:

      Enable Automatic Translation

      At the top of the page, select Yes next to Enable Automatic Translation. Then, choose the translation engine you want to use.

      To continue setting up either Google Translate or DeepL, you’ll need to use an API key. For Google Translate, sign into your Google Cloud Console and create a project. Next, go to APIs & Services:

      APIs & Services

      At the top of the page, click on Enable APIs and Services. Search for the Cloud Translation API and enable it:

      Cloud Translation API

      Find the Credentials page and select Create Credentials. Then, click on API key:

      API key

      This will generate an API key for Google Translate:

      API key

      Now you can go back to your WordPress dashboard and paste your API key into the Automatic Translation settings. If it’s working properly, you should see a green checkmark:

      Paste API key

      When you select the Translate Site button at the top of your dashboard, this will open the visual translation editor. Here, you can select the new language and you’ll see the automatic translation on the right:

      TranslatePress editor

      If you notice anything wrong with your translation, you can also make manual edits. This can ensure that native speakers understand your content.

      4. Edit Your Site’s Translations

      If you enable automatic translation, the result might not be perfect. Since it translates on a word-by-word basis, it can sound strange to native speakers. To solve this problem, you can manually edit your translations.

      In the visual translation editor, you can click on the pen icon to view text in multiple languages. It will show the original content, as well as the new translation:

      Manual translation

      If you speak the translated language, you can change any awkward wording using the text box on the left. To help you even further, TranslatePress can provide translation suggestions:

      Translation suggestions

      By clicking on these suggestions, you can automatically update the translation. Then, click on Save translation to implement this in the front-end editor.

      Now, when visitors switch your website into the secondary language, they’ll be able to see your new changes:

      Live translation

      These edits can improve the quality of your translations. This can help make your content more relatable and understandable, rather than sounding like a stiff, automatic translation.

      5. Change Your URLs

      Along with translating your web pages, you may want to modify your URLs for your translated content. Using the Polylang plugin, you can change the language code in your links to align with the new translation.

      First, be sure to install and activate Polylang. Using the setup wizard, select the languages you want to add to your website:

      Select Polylang languages

      Continue through the setup process and return to the dashboard. Then, go to Languages > Settings and find URL modifications:

      URL modifications

      Open this section and enable Hide URL language information for default language. If you have English as your default language, this will remove the ‘/en/’ from your URL:

      Hide URL language

      This will change all your links to a structure like this:

      English URL:

      Spanish URL:

      Once you’re finished, save your changes.

      6. Add Multilingual Content

      If you don’t want to install a new plugin, there are other simple ways to include translations on your website. For instance, you can feature two different translations on the same post. Then, you can create an anchor link so readers can easily jump to the translated content.

      To do this, you’ll need to create a new post. You can start by writing the content in your native language:

      New English post

      Next, you’ll need to open a translator like Google Translate. After you choose which language to translate to, you can paste your content:

      Google Translate

      Then, copy your translations and paste them beneath the original text. Be sure to translate all the elements on the page:

      Translated post

      Once you’re finished, click on the heading for the translated section. Open its Advanced settings and find the HTML anchor:

      HTML anchor

      Here, create a unique identifier and copy it. Next, at the top of the post, add the name of the second language:


      Click on the link button to add an internal jump. For the link text, include ‘#’ followed by your HTML anchor:

      Add translation link

      Now visitors can see that there is a translated version of that new post! Anyone who reads that language can click on the link, which will take them to the translation.

      Alternatively, you can include the translation as a completely new post. In this case, the link will redirect them to another page rather than a single page jump.

      If you decide to do this, you may want to create a new category for that language. This way, native speakers can find those posts all in one place.

      7. Create a WordPress Multisite

      Instead of creating multiple versions of your posts, you can create a WordPress multisite. Essentially, this can host different translated versions of your website on a single WordPress installation.

      However, this involves customizing your database by editing site files. Since this can harm your data, be sure to backup your website beforehand.

      Then, open your wp-config.php file. Right before the ‘/* That’s all stop editing! Happy blogging. */.’ line, add this code:

      /* Multisite */

      define( 'WP_ALLOW_MULTISITE', true );

      Now you can go to your WordPress dashboard. Find Tools > Network Setup:

      Create network

      You’ll need to choose between subdomains and subdirectories. Here’s how your URLs will look with each option:

      • Subdomain:
      • Subdirectory:

      Then, review your Network Details and click on Install.

      To enable the network, you’ll need to add some information to your wp-config.php and .htaccess files. After you paste the given code, log back into your dashboard:

      Enable network

      You should now see new icons for managing your network. When you click on My Sites, you’ll be able to create a new translated website:

      Network sites

      With this method, you can add new child sites for virtually any language!

      Go Global with a Multilingual WordPress Site

      Ultimately, having a multilingual site can improve your SEO and boost your organic traffic. When you provide well-translated content, you can expand your audience to multiple countries. Furthermore, since English keywords have a high level of competition, this may be the best time to go multilingual.

      To do this, you can simply install a multilingual plugin. With TranslatePress, you can enable automatic translation, add a language switcher, and manually edit translations. Alternatively, you can use a service like Google Translate to create multilingual content.

      If you decide to build a translated version of your website, you’ll want to make sure it’s fast and secure. With a DreamPress hosting plan, you can create a high-performing WordPress website that isn’t a hassle to manage!

      Do More with DreamPress

      DreamPress Plus and Pro users get access to Jetpack Professional (and 200+ premium themes) at no added cost!

      Managed WordPress Hosting - DreamPress

      Source link

      How to Learn PHP… Fast

      PHP is a programming language that has a relatively simple but versatile syntax, making it a great starting point for beginners. However, you might still be overwhelmed by the thought of implementing PHP code for the first time.

      Fortunately, there are plenty of free resources you can use to learn PHP. Whether you watch a few YouTube tutorials or take an online course, you can quickly become familiar with this popular programming language.

      In this post, we’ll introduce you to PHP and explain the benefits of learning it. Then, we’ll show you some easy ways to get started. Ready to dive in?

      An Introduction to PHP

      PHP (PHP: Hypertext Preprocessor) is a server-side scripting language used in web development. It’s currently used on 77.6% of websites, including Facebook, Wikipedia, and Instagram:

      php official website

      Like WordPress, PHP is open-source. Originally, it was used simply to build a personal homepage. However, since its creation in 1994, PHP has evolved to accommodate more dynamic websites.

      The first thing you need to know about PHP programming is that it happens on the server. When someone tries to visit your website, your server will process its PHP code before sending any information to the browser.

      This is what makes PHP different from other scripting languages. If you’re writing HTML or CSS, this code will affect the information visitors see in a browser. However, PHP code is processed before the content loads.

      For example, a PHP script can be used as a source code for HTML. Here’s what the original PHP script can look like:

       <title>PHP Test</title>
      <?php echo '<p>Hello World</p>'; ?>

      In HTML, this will create the following output:

       <title>PHP Test</title>
      <p>Hello World</p>

      When visitors view your website, they will see the “Hello World” message in their web browser. Although PHP is powered by HTML, front-end viewers will only experience the HTML output.

      How PHP Works in WordPress

      If you download WordPress, you’ll notice that many of the files are written in PHP. This is because PHP code is the framework for the WordPress software:

      php files for WordPress

      After creating a WordPress website, your site files are stored in a MySQL database. This contains all your website’s data, including your posts, plugins, and themes.

      When someone clicks on your site link, their browser sends a request to your server. In WordPress, the server has to process PHP code to create HTML pages. Then, it can send the HTML code back to the visitor’s browser.

      Similar to other programming languages, PHP has several versions. If you’re using an outdated version, you won’t receive important bug fixes or security updates.

      As a WordPress user, it’s important to make sure to update your PHP version. WordPress recommends using PHP version 7.4 or greater. This can be the key to keeping your website fast and secure.

      Other than updating the PHP version, some website owners may never touch this code. Since WordPress comes with built-in PHP files, you likely won’t need to learn this programming language to manage your website. That being said, there are many reasons why you may want to consider becoming an expert PHP coder.

      Why You Might Want to Consider Learning PHP

      Since PHP usage has been slowly declining in recent years, you might be wondering if it’s worth learning it. Although fewer websites have been using PHP, it remains the most popular server-side programming language. Plus, it is still a vital part of many Content Management Systems (CMSs).

      In WordPress, PHP is the fundamental language behind all plugins and themes. When you want to modify these tools, you’ll likely need to use PHP coding.

      Plus, PHP is easy to learn. Its syntax is similar to HTML and even uses some embedded HTML in its code. Since you can reuse blocks of code and built-in functions, PHP is one of the simplest programming languages.

      Here are some additional advantages of learning PHP:

      • It’s free and open-source.
      • It integrates with popular databases like MySQL, Oracle, Sybase, PostgreSQL, and more.
      • It supports most web browsers.
      • It offers consistent updates to enhance security, performance, and support.

      If you want to become a web developer, it’s important to learn PHP. When creating new WordPress plugins and themes, you’ll need to know how to build and edit PHP files.

      Once you become familiar with this language, you can eventually become a PHP developer. In this position, you can write scripts to create and modify software for your clients.

      However, knowing PHP can also help you pursue other career paths, such as:

      • Cybersecurity
      • Information Technology (IT)
      • Back-end and full-stack development

      As you progress through your career in PHP development, you can look for higher-paying positions like software development management. You can even pursue directorial roles and become an information technology director.

      How to Learn PHP Fast (5 Methods)

      Although you could gain a college degree in web development, this can be an expensive option. Luckily, there are plenty of ways you can learn how to code online, without having to pay a penny. Let’s look at how you can become an expert in PHP, for free.

      1. Watch a YouTube Tutorial

      If you’re looking to learn a new skill, one of the best online resources is YouTube. By watching in-depth guides from expert coders, you can easily become familiar with PHP programming.

      Unlike other social media sites, YouTube tends to highlight the most popular videos, rather than the most recent ones. If you watch a tutorial that was published years ago, you could receive outdated information.

      To narrow your results, you can click on Filters at the top of the page. Next, select a recent upload date. You can choose your desired video length as well:

      youtube search php tutorial

      Then, you can find a video that suits your needs. One of the most popular PHP tutorials is PHP For Beginners by Traversy Media. This outlines the fundamentals of PHP:

      In this YouTube video, you can use timestamps to skip to an area you want to learn. If you watch the entire three-hour tutorial, you can learn everything about PHP, including functions, loops, arrays, and more. By following along with the voiceover, you can create your first PHP/MySQL project.

      You can also watch PHP Tutorial for Beginners – Full Course by Envato Tuts+. This is a more detailed PHP guide that takes you from an absolute beginner to an expert coder:

      envato tuts youtube learn php

      The instructor, Jeremy McPeak, starts with the basics, showing you everything you need to learn as a beginner. Then, he teaches you about variables, syntax, and how to make decisions in your code. By the end of the video, you’ll be able to write your own functions and respond to GET and POST requests.

      When you search for PHP tutorials on YouTube, you can find thousands of free videos to watch. With this method, you can watch coding in real-time rather than reading a static web page.

      2. Take an Online Course

      If you want to receive a more in-depth explanation of PHP, you can sign up for an online course. Although it can take longer to complete course modules, this can lead to a more thorough education in programming.


      Whether you’re trying to prepare for a career in web development or just learning programming languages as a hobby, you can learn how to code on Codecademy. This platform provides the free Learn PHP course, which has been taken by over 45 million people:

      Codeacademy learn php

      In 25 hours, you’ll receive a comprehensive overview of PHP, including variables, functions, arrays, loops, and more. Each module has instructions on how to immediately implement what you’ve learned:

      Codeacademy learn php exercise

      Once you follow the instructions and enter the correct coding, you can continue to the next lesson. If you need help, you can always use a hint:

      Codeacademy php exercise

      At any point, you can review key concepts using the cheatsheet. You can also browse the Codecademy community forums for that module. These links are provided at the end of each exercise:

      Codeacademy php concept review forums

      Since PHP interacts with HTML, you’ll likely need to know the basics of HTML before taking this course. Fortunately, Codecademy has a Learn HTML course that you can take beforehand.


      Another place to find PHP courses is Udemy. Here, you can join over six million users and start expanding your coding skills. Unlike Codecademy, Udemy contains many different PHP courses, so you can find the one that best suits your needs:

      udemy php courses

      With over 22,000 reviews, the most popular PHP course on Udemy is called PHP for Beginners. In this program, you can watch 37 hours of educational videos and obtain a certificate once you’re finished:

      udemy php for beginners course

      If you’re completely new to coding, this Udemy course takes you through the basics of PHP, as well as Object Oriented PHP and MySQLi. You’ll learn about custom functions, PHP security, control structures, and much more. It also teaches you how to create a content management system similar to WordPress or Joomla.

      3. Review the PHP Manual

      You can also learn the best practices of the PHP language straight from the creators themselves. In the official PHP manual, you’ll gain installation instructions, syntax advice, and Frequently Asked Questions (FAQs) from other emerging developers.

      When you first open the manual, you can read an overview of PHP and what it does. This will also list compatible operating systems and databases:

      php manual what is php

      Then, you can follow the installation and configuration guide. Depending on your operating system, you’ll see some requirements and best practices on how to get started:

      php manual how to install and configure

      One of the most helpful sections of this manual is the Language Reference. Here, you’ll find a list of outbound links about basic PHP syntax and how to start writing your own code:

      php manual language reference

      Similar to online courses, you can read how-to guides about variables, functions, operators, and much more. You’ll even learn how to handle PHP errors when they happen:

      php manual basics

      This manual also gives you information about PHP security. You can read about possible attacks, as well as error reporting:

      php manual security overview documentation

      As you become more knowledgeable in PHP, you can keep this manual for future reference. For example, you might need to look up certain functions to implement them properly:

      php manual function reference

      However, the PHP manual may not be the best option for beginners. Although its information is valuable and straightforward, it doesn’t include any interactive exercises. You’re likely better off using this as a reference during the learning process.

      4. Read a Book

      If you’re a visual learner, one way to learn PHP is by reading a book. Whether you find an online publication or go to your local library, you can find valuable information about the PHP programming language.

      PHP Apprentice is an online book that you can access for free. You can use this open-source reading material to start understanding PHP and its practices:

      php apprentice overview

      Using the table of contents, you can find a specific topic about PHP. For each chapter, there will be written explanations along with examples of coding:

      php apprentice module

      Plus, PHP Apprentice is a book that is constantly evolving. By giving feedback on its GitHub repository, you can request certain topics or more in-depth explanations:

      php apprentice code

      When learning a new skill like PHP, it can often be more convenient to read an e-book because they’re readily available online. However, you can also use your local library.

      On your library’s website, you can search its database for PHP books. Then, you can place a hold on the ones you want to read:

      learn php book recommendations

      Some libraries even let you check out e-books using an app like CloudLibrary or OverDrive. This way, you can get your hands on library books without ever leaving your home.

      Although the library can be a valuable resource for free books, you may not find the most up-to-date information. If you decide this method is right for you, you’ll want to look for books that were published in the last few years. This way, you’re not learning an outdated PHP version.

      5. Try an Interactive Tutorial

      Rather than signing up for an educational course in PHP, you can walk yourself through online tutorials. You don’t have to pay for the learning material or even create an account – you can simply open the website and start learning at your own pace. Let’s look at some options.


      W3Schools is one of the best resources for free coding tutorials. On this platform, you can learn the basics of PHP, CSS, HTML, JavaScript, and much more.

      When you click on its PHP guide, you’ll notice that there are tons of free modules to explore:

      php tutorial introduction to php

      In the introductory sections, W3Schools will outline the basic concepts of PHP, as well as everything you need to get started:

      php tutorial php installation

      When you dive into the learning modules, you can read detailed explanations about syntax, variables, operators, regular expressions, and any other PHP concept. You’ll also see coding examples on each page:

      php tutorial syntax

      By clicking on Try it Yourself, you can open a code editor in a new tab. Here, you can implement changes to the existing code and see how it’ll look on the front end:

      w3schools coding exercise

      Once you grasp the basics, you can learn more advanced concepts. W3Schools will show you how to create forms with data validation. You’ll also learn how to use PHP with Object-Oriented Programming, a MySQL database, XML parsers, and AJAX.

      When you feel comfortable with what you’ve learned, you can test your skills with quizzes and exercises:

      w3schools learn php quiz

      This can help you remember what you’ve studied. Plus, you can check whether you need to revise certain concepts and go back to those modules if needed.

      If you want to learn PHP with a simple but effective interface, you can try the interactive tutorial on Although this won’t turn you into a developer, you can use it to understand how PHP works: tutorial

      In just 11 modules, you’ll learn about variables, arrays, strings, loops, functions, and more. Like some other options on this list, includes simple explanations of concepts, followed by coding examples:

      php simple arrays

      At the bottom of the page, you can perform an exercise to test your knowledge. For example, you may have to create a new array in PHP: exercise

      Although doesn’t have a lot of modules yet, it is constantly being updated. Using its GitHub repository, developers can add new tutorials for you to learn for free.

      Start Learning PHP Today

      By learning the basics of PHP, you can jumpstart your career in web development. Since PHP is a vital part of WordPress, this skill can help you create new themes and plugins for personal or public use.

      Here are some ways you can start learning PHP as a beginner:

      1. Watch a YouTube tutorial from creators such as Traversy Media and Envato Tuts+.
      2. Take an online course on Codecademy or Udemy.
      3. Review the PHP manual.
      4. Read a book like PHP Apprentice.
      5. Try an interactive tutorial on W3Schools or

      If you want to start experimenting with PHP, you may want to create your own website. With our shared hosting plans, you can quickly launch a new site without breaking the bank!

      Web Hosting That Powers Your Purpose

      We make sure your website is fast, secure and always up so your visitors trust you. Plans start at $1.99/mo.

      shared hosting

      Source link