What is the wordpress codex

What is the wordpress codex

The WordPress Codex is intended to be an encyclopedia of WordPress knowledge.

Founded to revitalize the collaborative documentation efforts for WordPress that began to wane on the previous document site (the defunct wiki.wordpress.org), it takes its name from codex (latin for book), the first invented form of paged volume we recognize as a book, immediately succeeding the scroll as a means to record writing.

One reason for the decline in use of the previous documentation was a certain user-unfriendliness of the tool used. We’ve chosen a new one for Codex called MediaWiki — developed by the Wikipedia team — which we think greatly enhances the user experience. Another issue with the previous wiki was in the organization of content: it developed without a structure, making it extremely difficult for users to find information. We hope to alleviate this in the WordPress Codex by implementing guidelines for its organization and by keeping a devoted group of moderators to enforce these guidelines.

As this is a wiki, anyone can contribute to it, and we encourage you to do so. To get started, please see Contributing to Codex and the Codex guidelines, written with Codex editors in mind.

All content on this site (WordPress Codex) is provided for use under the terms of the GNU General Public License.

More about Codex

This is an open wiki, and as such anyone can add to and edit most of the pages in it. For those who do, we urge you to create an account and User Page. Be sure and login before you work on the Codex, as this allows for better communication. Try the Sandbox for practicing, and edit freely. Changes can be reverted easily, so be bold in updating!

Источник

The WordPress Codex: An Invaluable Resource for Better Coding

WordPress users and developers occasionally run into things that trip them up — this applies not only to novice users but to experienced WordPress developers as well. WordPress does not provide a dedicated support team to field questions or concerns, but their support forum is very helpful and manned by experienced and knowledgeable WordPress volunteers.

You can also find answers to many questions quickly in the WordPress Codex; basically, WordPress’s user manual or help documentation guide. The Codex lives at: codex.wordpress.org and we recommend bookmarking it.

Anyone who handles WordPress development should have a firm grasp of the WordPress Codex because it’s an invaluable resource when you inevitably run into an obscure question about how WordPress’s codebase works. The Codex can be a little overwhelming and cryptic at first. But, once you understand what it covers and how it’s organized you’ll be able to look up the info you need and get right back to work on your development project.

So, let’s take a closer look at how you can make the most out of what information is available there…

12 KEY WORDPRESS CODEX PAGES YOU SHOULD KNOW ABOUT

Here is what the main page of the Codex looks like:

It looks basic enough at first glance, but there’s a lot of invaluable information here for WordPress users — especially web developers looking to tap into the CMS‘s advanced features and learn how to code better. The key is to look past the design and navigation, and ignore the fact that some pages are “incomplete”. Then, go straight for the good stuff.

Читайте также:  Как заправить принтер hp1020

But how do you find this “good stuff”?

If you’re working in an enterprise or for a large agency, you likely won’t need the WordPress basics they tend to put front and center in the Codex: What is a blog? How do you upload files? What is a color palette? It’s nice to know that that stuff is there, but you can disregard that for now. (It would serve as great training material for when you bring a WordPress novice onto your team though.)

Instead, acquaint yourself with, and bookmark, the following WordPress Codex pages. These will give you a deeper understanding of how to work in the backend of WordPress and improve your coding skills regardless of whether you build websites, themes, or plugins for a living.

1. REQUIREMENTS

The Requirements page is a very basic one. In short, it lets you know what the ideal technology is for your WordPress site’s hosting environment, including:

For agency folks, while you and your WordPress development team are well-aware of your requirements, your clients may not be. They might even insist that their outdated or insecure web hosting will suffice. By providing them with this page of requirements–and even the ready-made prompt they can provide to their web hosting provider–you can ensure that you’re always developing websites with the latest server technology.

Or you can simply advise clients to use Pagely managed WordPress hosting. Then you’ll never have to worry about this page or fulfilling those requirements again.

2. WORDPRESS CODING STANDARDS

It doesn’t matter what type of WordPress applications you build, coding standards should always be adhered to. This is beneficial for a couple of reasons. Of course, there is the end-user who is sure to have a better experience on your site thanks to clean coding practices. There is also your organization that will benefit from this as your team learns about and consistently applies quality coding to each and every project you produce.

The WordPress Coding Standards page will link you out to four resources, each of which provides guidance on how to properly code with:

These are incredibly thorough guides from the Make WordPress Core handbook and cover the standards you should use whether you develop websites, plugins, or themes for WordPress.

3. HTML TO XHTML

While the HTML coding standards guide mentioned above will likely become your end-all, be-all for coding with HTML, you may find this XHTML reference helpful too. Basically, it explains why web developers should be coding with XHTML in WordPress instead of HTML and then provides some guidelines on how to do so.

4. FINDING YOUR CSS STYLES

For those of you who use WordPress themes in your web design work, you may have encountered this issue. As a whole, you like the WordPress theme you’re working with; however, there are some elements you want to alter or do away with completely, but you can’t do so without editing the CSS. This means altering your CSS styles and knowing which code within your stylesheets will make the changes.

The Finding Your CSS Styles page will teach you how to read the stylesheet and find the right element every time. If you need a little more advanced help, you can check out this article Advanced CSS.

5. CSS TROUBLESHOOTING

The CSS Troubleshooting page is another reference you should have on hand if you code with CSS. Within this page, you’ll get a general rundown of the elements that comprise CSS as well as the various ways in which you can check for errors and bugs caused by them.

There’s a link tucked into the bottom of this page that handles how to fix browser bugs that you’ll want to check out as well. It discusses how different browsers and even on-site translations could lead to bugs in the delivery of your site to users, so it’s a good one to familiarize yourself with even if it’s not a common problem you encounter.

6. STEPPING INTO TEMPLATES

In addition to being able to code well in WordPress, you should have a good understanding of what templates are and how to use them when building a website or theme from-scratch. Stepping into Templates explains what these building blocks are as well as some best practices on how to use them.

Читайте также:  Исчез принтер как установить

7. VALIDATING A WEBSITE

There is a lot to remember in the web development process. And not only do you need to remember how to follow a consistent process and deliver outstanding results, but you need to ensure that you abide by the general standards that rule the web. Unfortunately, there are a lot of them. Fortunately, the Validating a Website page provides a checklist to make sure you tick off each one before completing and delivering your next WordPress website.

8. MIGRATING MULTIPLE BLOGS INTO MULTISITE

The Migrating Multiple Blogs into WordPress 3.0 Multisite is a short guide that provides the steps you need to take when creating a Multisite network from disparate WordPress sites. Agencies, conglomerate news sites, and other large networks will find this page useful in checking off all the boxes for a successful migration. We have another very useful article on navigating Multisite here.

9. WORDPRESS OPTIMIZATION

Regardless of the size of the WordPress site you’re building, performance optimization is an important part of your process. The WordPress Optimization page, as well as the High Traffic Tips for WordPress, offer comprehensive coverage of everything you should do to ensure each page opens quickly and without issue.

10. HARDENING WORDPRESS

Another type of optimization you should have a laser focus on when developing WordPress sites is security. While security is something a managed WordPress host can help you with, there are always steps you should take in your own process to add extra layers of security to your site.

The Codex’s Hardening WordPress covers all angles here, so keep this list on hand to serve as a reference while you develop WordPress sites. Also, be sure to read up on Data Validation. This explains the process by which incoming and outgoing data is validated and why you should pay close attention to it since it affects what your visitors experience in their browser.

11. THEME DEVELOPMENT

For anyone in the business of designing WordPress themes, the Theme Development page is for you. While this guide won’t necessarily give you step-by-step instructions on how to build a theme from the ground up, it will cover the technical specifications you should familiarize yourself with before you begin any type of WordPress theme development.

You’ll learn about the anatomy of a theme (i.e. the essential files you have to create), what templates are and how to use them, and there are tips on how to test your theme before submitting it to the WordPress repository or selling it through a marketplace.

12. WRITING A PLUGIN

For agencies in the business of creating WordPress plugins, the Writing a Plugin page is for you. This guide is similar to its theme counterpart except that it focuses more on programming tips and guidelines.

It also provides mini-guides on how to internationalize your plugin as well as update it, both of which are helpful and essential add-ons if you intend on offering your plugin through the WordPress repository.

WORDPRESS CODEX: AN INVALUABLE RESOURCE FOR BETTER CODING

As you can see, the WordPress Codex is an invaluable resource for WordPress developers and users. It simply takes some time to dig through the navigation to get a sense of where the relevant information lives in such a large document.

Hopefully, the list of key WordPress Codex pages above will point you in the right direction and get you up-to-date with WordPress’s guidelines and recommendations for better coding practices.

Источник

What is the wordpress codex

WordPress is open source web software that you can install on your web server to create your website, blog, community, or network. WordPress started out as a tool for blogging, but has evolved into a full-fledged Content Management System (CMS), capable of powering websites, networks, and communities.

For more information:

Why Choose WordPress?

One of the principal advantages of WordPress is that you are in control. Unlike remote-hosted scripts such as Blogger and LiveJournal, you host WordPress on your own server. Installation is very simple, as is the configuration. Unlike other software programs, there are not a million files to chmod nor are there dozens of templates to edit just to get your site set up and looking the way you want.

Читайте также:  Spice vdagent linux что это

Also, Blog pages in WordPress are generated on the fly whenever a page is requested, so you do not have multiple archive pages clogging up your web space. Waiting for pages to rebuild is a thing of the past because template changes are made in scant seconds.

WordPress is built following W3C standards for XHTML and CSS, ensuring that your site is more easily rendered across standards-compliant browsers. Other browsers are supported with a few hacks; it’s a reality of the web that hacks are necessary.

Aggregator support is built-in with a number of standard RSS configurations already done for you, as well as Atom. Following standards make your WordPress site easier to manage, increases its longevity for future Internet technology adoption, and helps give your site the widest audience possible.

What are WordPress’ features?

WordPress has an extensive list of features and, as it is constantly evolving, this list of features is constantly growing. Check out the up-to-date list of features.

When was WordPress first released?

WordPress started out as a fork of b2/cafelog by Matt Mullenweg and Mike Little. The first version was released in 2003.

How is WordPress licensed?

WordPress is licensed under the GNU General Public License (GPL).

What is the GPL?

The GPL is an open source license. This means you are free to modify and redistribute the source code under certain conditions. You can read more about why we chose the GPL on the License Page.

What’s the difference between WordPress.org and WordPress.com?

WordPress.com is a blog network run by Automattic. It uses WordPress software, but individual blogs are hosted and managed by WordPress.com. This is a free service with premium add-ons and upgrades.

Here at WordPress.org, you can download WordPress, the web software that WordPress.com runs on. Once you’ve downloaded it, you can upload it to a web server and run your own WordPress website.

There is useful information about this distinction on the WordPress.com website.

Can I transfer my blog from WordPress.com to a self-hosted WordPress installation?

Yes, it is possible to move from WordPress.com to a self-hosted installation. This guide from Problogger will help you through the steps.

WordPress was primarily inspired by Noah Grey’s Greymatter open-source web log and journal software. It is related to b2, sort of a second cousin twice removed. You can use WordPress to post your own stories, ideas, rants, reviews, links, pictures, etc. In addition, you can customize the look and feel of your site. Numerous themes are available and may be modified in many different ways. Through the use of WordPress Themes, you can quickly change the look and style of your site. You can also extend WordPress’ functionality through the use of Plugins. Plugins let you create the website or blog that suits your needs. As you can see, its functionality exceeds or at least is similar to what is available in most blogging tools today.

For more information:

Can I transfer my blog or website from other services to a self-hosted WordPress installation?

You can transfer any blog or website from any service you wish. We have a list of guides which will help you to transfer from your specific platform.

Do I need to know PHP to use WordPress?

The only time you would modify your WordPress website with PHP would be when integrating some of the plugins. There are a small number of plugins that still require manual edits to your files. In most cases, clear instructions are usually given within a text file with the plugin.

Other than that, you would not be changing any of the PHP files.

For advanced information check out Know Your Sources.

I don’t know what all the WordPress terms mean: where can I get help?

The WordPress Codex has a Glossary where you can find definitions of many of the key phrases associated with WordPress.

Источник

Поделиться с друзьями
КомпСовет
Adblock
detector