Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Custom post types, fields & taxonomies
Search
Braulio Aquino
August 30, 2014
Programming
0
130
Custom post types, fields & taxonomies
Presentación del WordCamp Lima 2014
Braulio Aquino
August 30, 2014
Tweet
Share
More Decks by Braulio Aquino
See All by Braulio Aquino
¿Cómo comenzar a realizar trabajos con WordPress?
braulioaquino
0
1.7k
Automatización en WordPress: Hooks & Cron
braulioaquino
2
240
Un mejor WordPress para tus clientes
braulioaquino
1
300
Columnas personalizadas en listado de contenidos del wp-admin
braulioaquino
1
99
WordPress: Action & Filter Hooks
braulioaquino
1
240
Herramientas y recursos para editores
braulioaquino
0
220
De Blogger a WordPress
braulioaquino
0
46
Wordpress y el contenido externo
braulioaquino
0
150
Generando un API en JSON con WordPress
braulioaquino
0
410
Other Decks in Programming
See All in Programming
Rethinking UI building strategies @ SFI 2024
letelete
0
270
Hanami and htmx
bkuhlmann
0
210
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
データアナリストが行うDatabricksを活用したETLの自動化事例
shinoa
0
270
Git Lint
bkuhlmann
4
750
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
150
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
SIMD Parallel Programming with the Vector API
josepaumard
0
170
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Fragment Composition of GraphQL
quramy
6
910
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
150
ゆるい個人開発のススメ
kuroppe1819
10
990
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Ruby is Unlike a Banana
tanoku
96
10k
Atom: Resistance is Futile
akmur
259
25k
Happy Clients
brianwarren
92
6.4k
Writing Fast Ruby
sferik
621
60k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Automating Front-end Workflow
addyosmani
1356
200k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Transcript
Custom post types, fields & taxonomies Braulio Aquino
Custom post types No te quedes en páginas y entradas.
¿Páginas? • Suelen ser permanentes. • Son individuales. • Pueden
estar jerarquizados.
¿Entradas? • Actualización continua. • Orden cronológico. • Clasificación de
contenido.
Custom post types El motivo por el cual “WordPress no
es sólo para blogs”.
Custom fields No te quedes en títulos y contenido.
Campos comunes • Título. • Contenido. • Extracto. • Autor.
Custom fields • Subtítulo. • Dirección. • Correo de contacto.
• Archivos de descarga. ! Todo lo que necesites.
Custom taxonomies No te quedes en categorías y etiquetas.
Categorías • Puede usar jerarquías. • Clasificación general.
Etiquetas • No usa jerarquías. • Clasificación particular.
Custom taxonomies Formas de clasificación personalizadas.
Custom post types codex.wordpress.org/ Function_Reference/ register_post_type
Custom post types <?php register_post_type( $post_type, $args ); ?>
Custom post types Plugin: Custom Post Type UI
Custom post types • single-posttype.php ! • archive-posttype.php
Custom fields codex.wordpress.org/ Function_Reference/ add_post_meta
Custom fields <?php echo get_post_meta( $post->ID, 'custom_field', true ); ?>
Custom fields Plugin: Advanced Custom Fields
Custom taxonomies codex.wordpress.org/ Function_Reference/ register_taxonomy
Custom taxonomies <?php register_taxonomy( $taxonomy, $object_type, $args ); ?>
Custom taxonomies • taxonomy-taxonomy.php ! • taxonomy-taxonomy-term.php
Custom taxonomies Plugin: Ultimate Taxonomy Manager
Custom post types, fields & taxonomies Braulio Aquino @braulioaquino !
[email protected]
braulioaquino.com