Meta data ve WordPressu
Aus Znalosti
Seriál o metadatech Mastering WordPress Meta Data na tutsplus:
- An Introduction To Meta Data - Part of what makes WordPress a powerful CMS tool is the ability to use the wp_postmeta table to store custom fields. These custom fields may contain additional information such as SEO fields added by an SEO plugin, or may be used to display additional front-end content.
- Understanding and Using Arrays - When you write an array manually you know what its structure is an what the name of each index is. But when you are building arrays by querying a database, you are going to need to do some detective work to determine the structure of the data returned and the names of the indexes.
- Working with Loops - it's time to learn to use loops to automate the process of outputting an array.
- Querying Posts and Users by Meta Data - how to customize the WordPress loop to return only posts with specific meta values.