John Havlik WordPress user since 2005 Plugin developer since 2006 Breadcrumb NavXT (~600k downloads) Administrator for Weblogs.us WordPress.

Slides:



Advertisements
Similar presentations
The Power Of Custom Types John Havlik
Advertisements

WordPress Installation for Beginners Sheila Bergman
Improving Your WordPress Productivity July 24, 2011.
Wordpress Theme Hacks Nearly Anyone Can Do Afraid you might "break something" by mucking around in your theme? With a little determination, and just a.
STAY CALM Custom Post Types Smell Your Fear. WHO AM I? Christine the designer, coder, and WordPress Specialist doesnt sound as good. Yes! This presentation.
Wordpress Workshop 101 Presented by Will Hardison.
WordPress Themes.
@beckyddesign Beckydavisdesign.com Take Control of Your Site with WordPress.
Greg Sennema library.wlu.ca/blogs/technolibrarian Library Blogs using WordPress Greg Sennema Electronic Services Librarian Wilfrid Laurier University Session.
WordPress Getting Started. What is the purpose of a classroom web page or blog? It is a web site that maintains an ongoing chronicle of information. A.
WordPress Basics Creating a profile!. Stage Two: Sign in Sign in, and from the homepage, in the My Blogs tab, click on the Dashboard. Youll be whisked.
Blogging AP: Mobile Marketing. Get Mobile! There is no delight in owning anything unshared. ~ Seneca, a Roman philosopher.
Blogging 102 Getting Customized!. Choosing your theme A WordPress Theme is the design of your blog. Much like every magazine has its own unique design,
©2011 Quest Software, Inc. All rights reserved.. Andrei Polevoi, Tatiana Golubovich Program Management Group ActiveRoles Add-on Manager Overview.
WordPress from Start to Finish Day 3: Working with plugins (
Getting Started with WordPress David Grogan
Web Site Integration using WordPress MySql A presentation (that should have been made) to WordPress Meetup By Peter Mantos; Mantos I.T.Consulting, Inc.
WordPress from Start to Finish Day 1: Installing and Using WordPress Looking at the WordPress database.
What is jQuery Mobile? How to use it? Doncho Minkov Telerik Corporation Technical Trainer.
Moving stuff around on your Drupal web pages Alex Bergin / Dept. Agriculture &
Wordpress. Background Content Management System Why we use it How it works – PHP – MySQL.
USING WORDPRESS. WEEK 1 1.Why WP? 2.Setting Up WP 3.Exploring the Admin screen 4.Page Organization 5.Posting 6.Polls.
WI.org Site Training Laura Peterson 3/31/2014.
Accessible WordPress Theme Development AccessU 2011 Pat Ramsey slash25 code
Introduction to WordPress. Learning Outcomes Describe WordPress Compare and contrast the difference between a WordPress hosted blog and a hosted blog.
WORDPRESS WEBSITE WORKSHOP Part 1: Building a Web Presence with WordPress Karen & Brad Trivers (902)
Content Management, Working with WordPress Svetlin Nakov Telerik Corporation
WPML Translation plugin is the best option when you need to translate your Wordpress website into multiple languages. The plugin makes it easy to translate.
Wordpress as a content management system Building a better website with content management systems | June 12, 2009.
Content Management, Working with WordPress Svetlin Nakov Telerik Corporation
Jiří Balej, Martin Podborský, Petra Čačková.  Tools, which enables to produce content without source code knowledge  Text document ◦ MS Word/OO Writer.
What is Wordpress?  WordPress has a web template processor. Users can re-arrange widgets without editing PHP of HTML code; they can also install and.
Bones – HTML5 Wordpress Theme Development
Wordpress Tools Codesign PPTV Group. WordPress Mobile Edition Link: ss-mobile-edition/
Launch Your WordPress site in One Hour By Bret Phillips For slides, codes, and notes: Web Devils WordPress.
Web Sites for amateur radio. So You want to make a Web Site? There are several things you need to know about web sites before you start to think about.
WordPress Web. WordPress Blogging system with full content management Personal publishing system Built on PHP scripting language and MySQL relational.
WordPress Fast Track. What Is WordPress? Learn what WordPress is Know why WordPress is a popular tool in making websites and blogs Discover some of the.
WordPress Plugin Development A Starter Guide For Beginners.
Mary Immaculate College 9 th Nov. Objectives Participants will be enabled to: Create and maintain your school’s website using Scoilnet Blogs Add other.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
#RefreshCache Arena + WordPress Russell Todd Solutions Architect North Point Ministries (with a side.
Web Analytics See what’s working… and what’s not.
1 Reverse a String iPhone/iPad, iOS Development Tutorial.
WordPress for Beginners February 2, 2014 Facebook.
Presented by Karen Porter UM School of Business Administration & ImpactOnlineMarketing.com Getting Familiar with the Dashboard.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
…for beginners Class #2. Reminders Tues 7/21, 7/28, 8/4: 7-9:30pm at CMU 243 (UW) WiFi (UW) user: event0960, pass: aEBk_uYXf_uUMm class website (new slides!):
How EPA/ORD Moved to Drupal 7 Jessica Dearie U.S. EPA, Office of Research and Development Office of Science Information Management.
Learn What’s New in WordPress4.0 Presented by: SunTecOSS.
Views: From the Beginning John Fiala Twitter: jcfiala Vintage Digital.
WordPress development companies. Wordpress custom theme design.
Introduction To Simple WordPress Plugin Development
Intro to WordPress (Using XAMPP)
CiviCRM CMS Integration
What is a Blog? short for Weblog journal on a website
CONSTRUCTING A LARGE INFORMATIONAL SITE 700+ Posts – 1 Menu
WordPress Plugins Popular WP Plugins: Sliders, Forms, Contacts, SEO, Forum, Photo Gallery, e-Commerce WordPress Plugins SoftUni Team Technical Trainers.
PHP Training at GoLogica in Bangalore
WordPress Development
WordPress Plugins.
Easy Way to Improve Your 404 Page Template in Wordpress If you want to improve your 404 error page. So we are here to explain to you how to improve your.
Many North American countries asked us a way to produce a responsive slider with Soliloquy in WordPress? If you would like to grasp, then you're on the.
PHP question and answer script | Answer script from PHP Script Directory.
IEEE WordPress Tutorial: Twitter
Samer Koda IEEE-SEM – Section Student Representative IEEE-SEM-SA – Webmaster 12/7/2018.
WordPress Development
WordPress Portfolio Plugin Know More About WordPress Portfolio Plugin.
How To Add Custom Widget Areas to WordPress Themes.
WordPress Development
Presentation transcript:

John Havlik

WordPress user since 2005 Plugin developer since 2006 Breadcrumb NavXT (~600k downloads) Administrator for Weblogs.us WordPress expert for Ingroup Design Personal site: mtekk.us

Motivation Basic Usage (More) Advanced Usage CPT Showcase (Demos) bbPress WP E-Commerce Meteor Slides

Creating a site with a portfolio Must keep projects separate from a news section Try categories Resort to hidden categories to keep things straight This doesnt work well with plugins

(and some custom taxonomies)

Custom Post Types (CPTs) are post types you define. Posts, pages, attachments, custom menus are types WordPress defines Come in 2 flavors Hierarchical Flat

bbPress 2.0+ WP e-Commerce 3.8+ (GetShopped) Meteor Slides

Use register_post_type($post_type, $args); $post_type is the unique post type string (20 char max, no uppercase or spaces) $args is the array of arguments to customize the CPT Call using a hook into the init action Do this in a plugin functions.php is not portable between themes

add_action('init','create_my_project'); function create_my_project() { register_post_type('project', array( 'labels' => array( 'name' => __('Projects'), 'singular_name' => __('Project') ), 'public' => true, 'has_archive' => true) ); }

Make it unique BAD: projects GOOD: mtekk_projects Max length of 20 characters No: s p a c e s UPPERCASE wp_ prefix Naming Your CPT

Key attributes to look at: labels – array of labels show_ui capabilities – array of permissions supports – array of features rewrite – array of rewrite related stuff hierarchical Checkout the Codex for more: nce/register_post_type

Custom Post Type UI

An advanced use of CPTs and custom taxonomies

Templates for the frontend: single-{posttype}.php (since 3.0) archive-{posttype}.php (since 3.1) Custom WP_Query instance: $projects = new WP_Query(array('post_type' => 'project', 'posts_per_page' => 10)); while($projects->have_posts){$projects- >the_post(); /*your code here*/} Can do this anywhere Can use get_posts() wrapper for WP_Query Displaying CPTs

When for anything post or page like Most things that would have required a custom table in the past Products for a ecommerce site Events for event calendars When you want WordPress to do most of the heavy lifting Attachments, featured images, Dashboard UI, templates, etc.

types-in-wordpress-3-0/ post_type Resources