Return to Video

videos.videopress.com/.../05-levesque_dvd.mp4

  • 0:02 - 0:04
    How's everybody doing?
  • 0:04 - 0:06
    Sleepy 'cause it's after noon
  • 0:06 - 0:08
    and then you have lunch and you're all tired
  • 0:08 - 0:11
    and not retaining any knowledge?
  • 0:11 - 0:15
    This is going to be awesome!
  • 0:15 - 0:17
    My name's Tracy Levesque.
  • 0:17 - 0:19
    I'm from Philadelphia
  • 0:19 - 0:20
    (Cheers from Philly peeps in the audience)
  • 0:20 - 0:23
    Right! That's right!
  • 0:23 - 0:26
    I co-own a Web design and development company
  • 0:26 - 0:28
    called YIKES, Inc.
  • 0:28 - 0:32
    What I do personally is Iove creating themes for WordPress
  • 0:32 - 0:34
    I've been making websites since 1996
  • 0:34 - 0:40
    and working with WordPress since 2006
  • 0:44 - 0:46
    I would consider myself a Power User, right?
  • 0:46 - 0:51
    I'm in /wp-admin/ at least several times a day
  • 0:51 - 0:54
    I know pretty much everything you can do in there
  • 0:54 - 0:57
    I manage some content
  • 0:57 - 1:01
    I do a lot of WordPress administrative stuff
  • 1:01 - 1:06
    I install plugins and activate themes
  • 1:06 - 1:08
    so I would consider myself a Power User
  • 1:10 - 1:14
    I also know HTML, 'cause I'm a designer
  • 1:14 - 1:17
    I really love making themes for WordPress
  • 1:17 - 1:19
    so I have that skill set as well
  • 1:19 - 1:23
    HTML and CSS 'cause you have to know CSS
  • 1:23 - 1:27
    if you know HTML
  • 1:27 - 1:29
    I don't know PHP -- I really don't
  • 1:29 - 1:34
    I can, like, see kinda what's going on
  • 1:34 - 1:39
    and I can move things around and sorta follow it
  • 1:39 - 1:41
    but if you gave me a blank file
  • 1:41 - 1:43
    and said "do Hello World in PHP"
  • 1:43 - 1:46
    I'd be like "sorry"
  • 1:48 - 1:52
    So I imagine there's a bunch of folks in this room
  • 1:52 - 1:53
    that have similar skill sets
  • 1:53 - 1:57
    or maybe you've never even used WordPress yet.
  • 1:57 - 2:00
    We can do cool stuff for WordPress, too.
  • 2:00 - 2:04
    We can also use WordPress' more advanced functionality
  • 2:04 - 2:08
    That they're talking about in the room upstairs
  • 2:08 - 2:11
    and has also been mentioned down here as well
  • 2:14 - 2:15
    So, what I'm gonna do
  • 2:15 - 2:18
    is I'm going to go through a few key
  • 2:18 - 2:20
    WordPress development terms
  • 2:20 - 2:23
    that have been thrown around in this room and upstairs
  • 2:23 - 2:26
    and I going to explain what they are,
  • 2:26 - 2:30
    what they do and how you can take advantage of them as well
  • 2:34 - 2:38
    First off...The WordPress Template Hierarchy!
  • 2:39 - 2:42
    According to the Codex:
  • 2:52 - 2:54
    The translation of that is
  • 3:00 - 3:03
    Often times -- at least once -- on someone's slides
  • 3:03 - 3:06
    during a WordCamp, this chart that shows
  • 3:06 - 3:09
    exactly how this naming convention works shows up
  • 3:09 - 3:12
    It looks something like this
  • 3:12 - 3:15
    Oh my God, holy crap look at that!
  • 3:15 - 3:17
    It's like what?
  • 3:20 - 3:24
    It looks kinda complicated and overwhelming
  • 3:24 - 3:26
    and when I see it come up in a slide
  • 3:26 - 3:27
    people are like "woah"
  • 3:27 - 3:29
    But it's really pretty simple
  • 3:29 - 3:32
    You just follow along the chart
  • 3:32 - 3:35
    to see exactly what you need to name your template file
  • 3:35 - 3:37
    in order to have it apply to a certain kind of page
  • 3:37 - 3:40
    So in this example I m going to talk about
  • 3:40 - 3:43
    Category Archives, meaning that when you click on a post
  • 3:43 - 3:46
    and see the categories and you click on a category
  • 3:46 - 3:49
    and see that page of posts
  • 3:52 - 3:55
    So first I want to talk about template files
  • 3:55 - 3:57
    So when you have a theme
  • 3:57 - 3:58
    Like Twenty Twelve
  • 3:58 - 4:01
    Your theme is made up of all these PHP files
  • 4:01 - 4:03
    And some of these PHP files are template files
  • 4:03 - 4:06
    They are the files that determine how your content
  • 4:06 - 4:08
    is going to look on a page or post
  • 4:08 - 4:10
    It could be a part of the page
  • 4:10 - 4:14
    or it could control the entire page and how it's going to look
  • 4:16 - 4:19
    It's kinda like frames for your content, right?
  • 4:20 - 4:24
    Here on one side we have picture on left/words on right
  • 4:24 - 4:26
    That's what your template files do
  • 4:26 - 4:31
    They determine how the pages are going to lay out when they load
  • 4:34 - 4:38
    So these template files control the way different pages look
  • 4:38 - 4:42
    For instance, the main blog page, meaning the page you go to
  • 4:42 - 4:46
    When you see a list of all your posts, the default page for WordPress
  • 4:46 - 4:48
    A regular, plain old content page.
  • 4:49 - 4:51
    Archive pages - what an archive page is
  • 4:51 - 4:54
    Is when you have a post and you have
  • 4:54 - 5:00
    tags, categories or author or date
  • 5:00 - 5:02
    and you click on those those different parts of a post
  • 5:03 - 5:07
    and you see all posts related to that tag, category, etc.
  • 5:07 - 5:10
    That's called an archive page
  • 5:10 - 5:13
    And other pages as well they are all controlled
  • 5:13 - 5:15
    by template files
  • 5:17 - 5:20
    So going back to the WordPress Template Hierachy
  • 5:20 - 5:21
    How does that work?
  • 5:21 - 5:24
    Well, if I have a category called "kittens"
  • 5:24 - 5:30
    I just have a file named "category-kittens.php"
  • 5:30 - 5:36
    And if that file exists - when I click on that category archive
  • 5:36 - 5:38
    it's going to use that file.
  • 5:38 - 5:42
    If that file doesn't exist, it's going to look for "category.php"
  • 5:42 - 5:46
    That is the template file used to render all category pages
  • 5:46 - 5:50
    If that file doesn't exist then it's going to go to "archive.php"
  • 5:50 - 5:52
    That is the page for all archives
  • 5:52 - 5:57
    For tags, date, author, category...if it doesn't have
  • 5:57 - 6:00
    a file that applies to it it's going to use that file
  • 6:00 - 6:03
    And then, at the end of the road, is index.php
  • 6:03 - 6:09
    And that is the file used to display typically all your posts
  • 6:09 - 6:10
    Like your "blog" page
  • 6:10 - 6:14
    That's the end of the road in the Template Hierarchy
  • 6:14 - 6:19
    If no other no other file exists it's going to default to that one
  • 6:22 - 6:28
    So, in this example, I have plain old Twenty Twelve
  • 6:29 - 6:33
    I have some sample content in it
  • 6:35 - 6:38
    And here I have this one categorized as "kittens"
  • 6:38 - 6:42
    And this one I did make a "category-kittens.php"file
  • 6:42 - 6:45
    It uses the category slug
  • 6:45 - 6:49
    meaning if you look at your list of categories and it says "slug"
  • 6:49 - 6:52
    You can use "categories-[slug]" or you can use the category ID
  • 6:55 - 7:01
    So for that category I used this lovely template of awesome kittens
  • 7:01 - 7:03
    And then I also took off the sidebar
  • 7:04 - 7:07
    So that is my special template for that "kittens"category
  • 7:17 - 7:23
    If I click on "Dogs"it just uses the default "category.php"
  • 7:23 - 7:28
    Which is regular content/sidebar - everything's normal
  • 7:34 - 7:36
    So WordPress Template Hierarchy, how can we all use it?
  • 7:36 - 7:39
    Power Users, look for themes or theme frameworks
  • 7:39 - 7:44
    that allow you to create these template files
  • 7:44 - 7:48
    and apply special styles to or different layouts to
  • 7:48 - 7:51
    specific categories or tags or certain pages of a site.
  • 7:51 - 7:54
    There are theme frameworks that will allow you to do it without code
  • 7:54 - 7:55
    all drag-n-drop
  • 7:55 - 7:57
    And designers, just make them!
  • 7:57 - 8:01
    You should be using a theme that's meant to be changed or
  • 8:01 - 8:05
    a child theme of another theme that is not meant to be changed
  • 8:05 - 8:08
    but you can actually go in and just make these files yourself
  • 8:08 - 8:10
    and make your website look awesome
  • 8:13 - 8:17
    Next up is The Loop!
  • 8:20 - 8:24
    Codex says:
  • 8:27 - 8:31
    The Loop is really just a set of instructions that lives in a template file
  • 8:31 - 8:34
    that grabs content and displays in on a page
  • 8:36 - 8:40
    Or The Loop's kinda like making sandwiches
  • 8:41 - 8:50
    So when you assemble a sandwich you have a certain set of ingredients in a certain order in which you put them
  • 8:51 - 8:55
    And then you repeat the process, repeat the process until you have as many sandwiches as you need
  • 8:55 - 9:00
    It's called a "Loop" because you can repeat this loop more than once on a page
  • 9:01 - 9:06
    So in a WordPress loop there's the 2 main components
  • 9:06 - 9:09
    There's "Title" and "Content" for a page or post
  • 9:09 - 9:12
    They're like the slices of bread in our sandwich
  • 9:14 - 9:18
    And then there's additional content, aka "Metadata" which is like the ingredients in our sandwich
  • 9:18 - 9:25
    You can have author, date, featured image, categories or tags for posts, etc. etc.
  • 9:25 - 9:29
    There's a lot of additional information you can put in a page or post
  • 9:33 - 9:38
    When you are making sandwiches for people what if somebody's vegan
  • 9:38 - 9:41
    What if somebody wants wheat bread instead of white bread?
  • 9:41 - 9:50
    You can do this as well with your loop, you can have specific instructions as to what information is going to show in the loop
  • 9:50 - 9:54
    So you can say "only show posts from a certain category"
  • 9:54 - 9:58
    Or if a post has a certain tag add this style to it
  • 9:58 - 10:03
    Or if a post is tagged with a certain tag, don't show it at all
  • 10:08 - 10:14
    Here is an example of a custom loop we did for this movie blog site called "Movie Fanfare"
  • 10:14 - 10:25
    Instead of the usual layout we're using , for instance the featured image for every post
  • 10:25 - 10:29
    We're only showing tags, we're not showing categories
  • 10:29 - 10:34
    And we're using the Excerpt instead of the full content of the post
  • 10:34 - 10:37
    So this is a customized loop
  • 10:44 - 10:46
    So how everyone here can use it.
  • 10:46 - 10:52
    Power Users, same thing, use a theme or a theme framework that will allow you to modify your post page
  • 10:52 - 10:57
    And designers, just do it yourself. They WordPress Codex has a really great article called "The Loop in Action"
  • 10:57 - 11:01
    It'll show you how to modify the WordPress Loop
  • 11:06 - 11:08
    Custom Post Types!
  • 11:08 - 11:10
    We talked about Custom Post Types a lot in this room today
  • 11:10 - 11:13
    They're one of my favorite things about WordPress
  • 11:16 - 11:20
    The Codex says:
  • 11:24 - 11:27
    The translation is, you know how you have pages and posts, right?
  • 11:27 - 11:30
    Everybody familiar with Page and Posts?
  • 11:30 - 11:33
    Well you can actually make up your own
  • 11:33 - 11:37
    In addition to Pages and Posts you can make up your own post types
  • 11:41 - 11:44
    Page and Post are both Post Types
  • 11:44 - 11:49
    They're similar in that they have their own item in the Admin area
  • 11:49 - 11:55
    They have consistent input, meaning that when you when you enter a post
  • 11:55 - 11:59
    you have Title, Content, Tags, Categories, Excerpt...
  • 11:59 - 12:05
    You have these fields in the admin where it's consistent from one post to another
  • 12:05 - 12:08
    and you can choose to use as many as you want
  • 12:09 - 12:13
    And then they have, for the most part, a consistent output
  • 12:13 - 12:18
    You have template files that render page and posts a similar way every time
  • 12:18 - 12:23
    So you can really control how these things look and how they're entered
  • 12:23 - 12:26
    The information is cleaner
  • 12:26 - 12:33
    Instead of having a big content area you have these sections
  • 12:35 - 12:39
    So with Custom Post Types you can do the same thing
  • 12:39 - 12:45
    You can create a Custom Post Type, in addition to pages and posts, that follow the same rules
  • 12:45 - 12:54
    They have their own sets of fields, they're in the admin, they have their own little icon on the left hand side -- a cute little graphic for it
  • 12:54 - 13:01
    They're consistent, you can put information into fields
  • 13:01 - 13:05
    And then they render on the front of the site they are consistent there as well
  • 13:05 - 13:08
    You can make them look however you want with templates
  • 13:08 - 13:12
    So instead of just Pages and Posts you can have stuff like
  • 13:12 - 13:22
    Staff, Recipes, Products, Jobs...really anything that would benefit from having this consistent set of fields
  • 13:22 - 13:27
    that's easy to enter in all the data instead of a big content area
  • 13:31 - 13:36
    Also, along with Custom Posts Types, there are also Custom Taxonomies
  • 13:36 - 13:40
    All a taxonomy means is it's a way to group things together
  • 13:40 - 13:46
    WordPress by default has 2 taxonomies, categories and tags
  • 13:46 - 13:50
    They're a way to group information together - to group posts
  • 13:53 - 13:57
    With Custom Post Types you can also create these custom taxonomies
  • 13:57 - 13:59
    So let's say we has a post type called "Movies"
  • 13:59 - 14:05
    We could create custom taxonomies called Genre, Year, Director, Rating, etc.
  • 14:05 - 14:13
    The advantage to that is if you had a movie post you could then click on Genre, Year, Director, whatever
  • 14:13 - 14:19
    And see all of the posts related to that director, all with that rating
  • 14:19 - 14:23
    And then you could browse all of them in a list
  • 14:26 - 14:32
    An example of custom post types is we make a site for Static Guard
  • 14:32 - 14:43
    and we made them a site with 3 Custom Post Types: Products, Tips and Stylists
  • 14:48 - 14:54
    For the people who have to manage the site going forward, it's really easy
  • 14:54 - 14:59
    Instead of having to put everything into a big content area and hope that they format it correctly
  • 14:59 - 15:06
    We just made them a custom post type to enter in all the information in the back end
  • 15:06 - 15:11
    We made them a template that renders all the information in the way they want it to look
  • 15:15 - 15:23
    And then another nice thing about the custom taxonomies is that you can browse by the different taxonomies
  • 15:23 - 15:26
    We have Occasions and Seasons
  • 15:26 - 15:32
    And they can create these, add these and manage the navigation on the left-hand side
  • 15:32 - 15:38
    It's a really great way to make content management easy for site owners
  • 15:45 - 15:48
    How can you take advantage of Custom Post Types?
  • 15:48 - 16:01
    Power Users - There is a plugin made by Brad (WebDev Studios). He made a plugin that allows you to create Custom Post Types without code
  • 16:01 - 16:07
    You can just do everything visually in the admin and there are similar plugins
  • 16:07 - 16:12
    And themes that have Custom Post Types built into them where you can create them yourself
  • 16:12 - 16:17
    And designers, code your own - really! Really, you can code your own.
  • 16:17 - 16:24
    I have another talk all about custom post types for designers it's on wordpress.tv and you can check it out
  • 16:24 - 16:32
    With no PHP skills, well, very little, you can make Custom Post Types yourself
  • 16:32 - 16:33
    And it's really empowering and fun
  • 16:33 - 16:37
    I always say that WordPress makes me fancier than I really am
  • 16:41 - 16:45
    Here's the big one - Hooks, Actions and Filters
  • 16:47 - 16:53
    The Codex has a lot to say about Hooks, Actions and filters. I'm not going to read it all to your now.
  • 16:53 - 16:59
    But pretty much it says Hooks, Actions and Filters allow you to change WordPress functionality without breaking it
  • 16:59 - 17:09
    The #1 rule of WordPress development is never, ever, EVER change Core code ever!
  • 17:09 - 17:10
    Just don't do it
  • 17:10 - 17:26
    The great thing about WordPress is it allows you to tap in to it's existing functionality through hooks and then modify it
  • 17:30 - 17:38
    A hook is just a point at which WordPress allows you to tap into existing functionality and safely modify it
  • 17:38 - 17:41
    Some examples - WordPress does a lot of things, right?
  • 17:41 - 17:47
    It shows excerpts, you admin menus, custom post types, sidebars...
  • 17:47 - 17:53
    You have all these things, all these functions that happen when WordPress does its thing
  • 17:53 - 18:01
    Hooks are points at which WordPress allows you to make a function that hooks into that and changes it
  • 18:03 - 18:05
    There's two ways that you can change it
  • 18:05 - 18:09
    An Action is a hook that makes something new happen when it's triggered
  • 18:09 - 18:19
    For instance, let's say you want to add a little bit of content or a sharing button after every post
  • 18:19 - 18:25
    You can make a little function that says "when you show a post add this content after it"
  • 18:25 - 18:31
    That's an Action - something new is happening when WordPress functionality is triggered
  • 18:34 - 18:40
    Filters - a hook that modifies a WordPress function when it's triggered
  • 18:41 - 18:46
    Instead of making something new happen it modifies an existing function
  • 18:46 - 18:56
    For instance "excerpts" in WordPress are by default 55 words long
  • 18:56 - 19:05
    You can make a filter that says "instead of using 55 words I want you to show 75 words" or "I want you to show 30 words"
  • 19:05 - 19:12
    That's a filter, because you're changing functionality instead of making something new happen
  • 19:15 - 19:18
    This is now when I'm going to ask my friend Courtney to come up
  • 19:18 - 19:25
    I'm going to show you a visual illustration of Hooks, Actions and Filters
  • 19:26 - 19:28
    This is Courtney
  • 19:29 - 19:31
    Courtney: Hi
  • 19:32 - 19:35
    Ok, Courtney, so wave to everybody
  • 19:37 - 19:41
    Alright, so, waving is a typical function that human beings do, right?
  • 19:41 - 19:44
    Most people wave
  • 19:54 - 19:58
    Well, what if we put hook on her waving functionality?
  • 20:03 - 20:08
    So I wrote a little function that says "When you wave say Hello"
  • 20:08 - 20:12
    This is an Action - something new is happening in addition to the regular waving
  • 20:12 - 20:15
    Let's try it out, let's run this function
  • 20:18 - 20:23
    Courtney "Hello, Hello, Hello"
  • 20:24 - 20:27
    Awesome, my code worked
  • 20:32 - 20:36
    Alright this is an example of a filter - I am going to change her default wave
  • 20:37 - 20:41
    it says "When you wave wiggle your fingers"
  • 20:41 - 20:43
    Let's try it
  • 20:48 - 20:52
    Alright - yay! Thank you
  • 20:53 - 20:55
    Do you understand? Is it making sense?
  • 20:55 - 20:58
    Good, awesome - Hooks / Actions / Filters
  • 21:01 - 21:03
    Thank you, Courtney
  • 21:07 - 21:11
    What do Hooks, Actions and Filters do? They make WordPress awesome
  • 21:11 - 21:16
    They're the reason that WordPress is a fantastic way to build a website
  • 21:16 - 21:23
    Really, the sky's the limit with what you can do with WordPress because of Hooks, Actions and Filters
  • 21:28 - 21:32
    Power User, if you've ever used a plugin you're already using Hooks, Actions and Filters
  • 21:32 - 21:38
    Plugins hook into WordPress to do new things, additional things
  • 21:38 - 21:43
    Designers, you can just add functionality to your themes
  • 21:43 - 21:49
    There's a great article in the WordPress Codex on theme development
  • 21:49 - 21:57
    But really, if you do things like add sidebars, add menus, add post types you'll be taking advantage of Hooks, Actions and Filters
  • 22:02 - 22:12
    I have some resources: The WordPress Codex, I'm in there 50 times a day it feels
  • 22:12 - 22:19
    It has the best information on using this functionality and what it is and how to do it
  • 22:19 - 22:26
    There's also articles on more WordPress terminology than just the 4 I covered today
  • 22:26 - 22:31
    And then there's this really handy Custom Post Type Generator
  • 22:31 - 22:37
    It's web-based and you put all the information and then you hit a buttons and it creates all the code for you
  • 22:37 - 22:43
    And then there's a great article on WordPress theme frameworks for all you Power Users out there
  • 22:43 - 22:50
    To find different frameworks, what they can do and what they allow you to do without knowing code
  • 22:53 - 22:56
    And, that's the end
  • 22:56 - 22:59
    (Applause) Thank you!
  • 22:59 - 23:04
    Moderator: Very Cool, we've got time for some questions
  • 23:06 - 23:09
    You know everything you need to know now, right?
  • 23:20 - 23:30
    Audience member: Hi, I've always been puzzled about tags and categories. When would you use a tag, when would you use a category - when would you use one over the other
  • 23:31 - 23:40
    I guess there is some personal preference to it, but I use categories for major groupings of posts
  • 23:41 - 23:49
    I had a blog about a Green Building project that we did
  • 23:49 - 24:03
    And I had major categories like "building"or "insulation" -- major groupings of information
  • 24:03 - 24:09
    Tags I think more of keywords - terms that would bring your posts up in a search
  • 24:09 - 24:17
    Like "red" not something that is a major grouping of information, but more like keywords
  • 24:17 - 24:21
    If people were searching by keywords your posts would pop up
  • 24:21 - 24:24
    Does that make sense? Cool
  • 24:25 - 24:28
    Moderator: Anybody else?
  • 24:37 - 24:42
    Audience member: When you're setting up custom post types, say, like you had your example "recipes"
  • 24:42 - 24:47
    So you'd have name, ingredients, something like that
  • 24:47 - 24:51
    What's the next mechanism to get that to output? You have to make a template for that?
  • 24:51 - 24:53
    Tracy: You have to make a template, yes
  • 24:53 - 24:56
    Audience member: So you create a template just for that and then link those together
  • 24:56 - 24:58
    Tracy: Right, and if you even know just HTML it's not hard.
  • 24:58 - 25:06
    You can make little "if there is content in this field then show it"
  • 25:06 - 25:11
    And you can put all your nice html tags around it and style it all pretty and now you have a recipes page
  • 25:14 - 25:18
    And it uses the WordPress Template Hierarchy - that first thing we looked at
  • 25:18 - 25:23
    To show your Custom Post Types and Custom Taxonomies
  • 25:23 - 25:25
    That's in the mix as well
  • 25:26 - 25:32
    Audience Member: Hi thank you for giving us hope that you can do all this without knowing PHP number one
  • 25:32 - 25:40
    And number two you keep mentioning there's a plugin for this, there's a plugin for that, but you're not mentioning any plugins. Can you mention a few?
  • 25:40 - 25:55
    Tracy: Yes, well, all the slides are up on Slideshare and there I have a lot more words in the slides and I have lots of links to the different plugins
  • 25:55 - 26:00
    The one plugin by Brad, who's here, is called "Custom Post Types UI"
  • 26:02 - 26:07
    and that's how you can make a Custom Post Type in the WordPress admin
  • 26:07 - 26:08
    Without code
  • 26:16 - 26:23
    Audience member: I went through the learning curve of doing a website for the first time
  • 26:23 - 26:33
    and then I purchased some plugins and then I found out that in doing so
  • 26:33 - 26:37
    they can make your website less secure coud you speak to that?
  • 26:37 - 26:46
    Sure, just like Kathryn talked about earlier, you really have to vet the plugins that you're using
  • 26:46 - 26:59
    You look at the ratings, you see how often it's updated, how often support tickets are resolved, how many people have downloaded it...
  • 26:59 - 27:01
    That's a good way to vet a plugin
  • 27:01 - 27:09
    But still, even plugins that are well supported can still have security vaunerabilites
  • 27:09 - 27:14
    At that point you have to look to your hosting.
  • 27:14 - 27:22
    WPEngine are here today and they have really great security measures in place
  • 27:22 - 27:25
    They have plugins that they just don't allow you to use
  • 27:25 - 27:30
    So you can feel better that your site's going to be fast and it wont get hacked
  • 27:30 - 27:35
    Because they have a firewall in place for your website
  • 27:38 - 27:44
    You shouldn't load your website down with plugins, that could be true or not, the plugins could be great
  • 27:44 - 27:51
    You have to make sure you have a good hosting solution that provides an extra layer of safety
  • 27:51 - 27:53
    And then just keep on top of things
  • 27:53 - 28:01
    You can sign up for different WordPress twitter accounts, blogs or RSS feeds -
  • 28:01 - 28:05
    and the news gets out pretty quickly if there's a security vulnerability found in a plugin
  • 28:05 - 28:10
    So that's a good way to keep on top of those things
  • 28:10 - 28:15
    Moderator: One last question if anybody has one
  • 28:17 - 28:24
    Audience Member: Great talk. So the part I struggle with with Custom Post Types
  • 28:24 - 28:34
    Is in the admin section, how to make custom fields so my client for example has say a custom post type called "Testimonials"
  • 28:34 - 28:41
    And every time they have to add just like the author, or not like a big content piece but almost the size of an excerpt
  • 28:41 - 28:46
    Where do I begin to dabble in that so I can manipulate the admin area
  • 28:46 - 28:49
    Tracy: If you don't want to do it at the code level, or even if you do
  • 28:49 - 28:57
    there's really great tutorials out there that show you exactly how to style meta data in the admin for Custom Post Types
  • 28:57 - 29:08
    There's also a really great plugin called Advanced Custom Fields - it was mentioned earlier in the day
  • 29:08 - 29:16
    But that's a great plugin. So if you don't want to mess around with code and figure out how to render your metadata in your Custom Post types, use that plugin
  • 29:16 - 29:22
    It has awesome things like date pickers - it has a really nice interface
  • 29:22 - 29:30
    And it allows you to pretty much drag-and-drop add these meta data fields - that's a good way to go
  • 29:32 - 29:35
    Audience Member: Great talk, thank you very much I appreciate it
  • 29:35 - 29:37
    Other than Brad's plugin which I am familiar with which is great
  • 29:37 - 29:43
    There's a fantastic set or package of plugins which you don't have to fool with PHP
  • 29:43 - 29:49
    Called WP Type and Views including forms and everything
  • 29:49 - 29:56
    They're even working on Hooks and Filters without having to mess with any PHP whatsoever
  • 29:56 - 29:59
    It's pretty cool you can build listing sites with them
  • 29:59 - 30:03
    Your own themes using it without knowing any PHP
  • 30:03 - 30:05
    I just wanted to put that out there
  • 30:07 - 30:13
    It's called Types and Views and they're doing a fabulous job on the development of it
  • 30:13 - 30:15
    It's pretty cool
  • 30:15 - 30:18
    It's a plugin
  • 30:23 - 30:27
    Moderator: Another huge round of applause. Thank you very much, Tracy
Title:
Video Language:
English

English subtitles

Revisions