Responsive WordPress Theme Tutorial – Part 13 – Advanced Custom Fields

Thanks! Share it with your friends!

Close

Learn how to use the basic functionality of the Advanced Custom Fields plugin to add custom data fields to our custom post type.

Music by DeceasedSuperiorTechnician. More at:
http://www.nosoapradio.us/

What’s this series about?

In this series we are going to create a custom WordPress theme from scratch. We will learn how to create WordPress themes, use advanced features such as: custom post types, custom fields and meta data. We will be focusing our theme on a site based on a site like Kongregate.com or Armorgames.com.

Links
———
Skeleton: http://www.getskeleton.com/
WAMP: http://www.wampserver.com/en/
Wordpress: http://www.wordpress.org/

Website: http://www.awfulmedia.com
Twitter: https://www.twitter.com/AwfulMedia

Comments

sweeball says:

I’ve just completed Responsive WordPress Theme Tutorial – Part 13 and would
like to say you have done an amazing job of teaching WordPress Theme
development so far. I really think that you should rename the channel
“Awfully Good Media”!!! Thanks Austin.

Carlos Fonseca says:

Austin, you’re a legend mate! thanks!

John LaFosse says:

Is there another way to do this by adding the function create_post_type
into a plug-in instead of the theme function.php? I understand that adding
to the plug-in is a “better” way to handle it.

John LaFosse says:

I watched this tutorial 24 hours ago without watching the previous video.
After pulling my hair out I reverted to the previous video and even though
editing the function.php in my theme did not work for me as well as
creating a post type template with adding fields with php function this
tutorial worked for me. It is an advanced topic. and you did this very
well. The php is still shaky for me seeing I spent too much time learning
Drupal and running into really complicated disasters with moderate success,
I’ve found wordpress wonderful to work with not that one is better than the
other.

AwfulMedia says:

Well, we’re jumping a bit ahead of the videos, but I’ll do my best to
explain it here. When you create a custom post type, you will have to
define the fields you want it to support. Since we did not define any
fields, only the title and textarea are there. This is normal. In our post
type, under ‘rewrite’, place: ‘supports’ => array(‘thumbnail’,
‘something_else’, ‘and_so_on’) with the quotes. We’ll get to this, don’t
worry! Austin

Erique Graves says:

Haven’t forgot about you man hope you haven’t forgotten us

oDJOldskull says:

Thank you very much ! I’ll check that out ! I’ve ordered myself a book for
PHP and by far all seems to be clear for me 🙂 And about Twitter Bootstrap,
I heard that it speeds up the work as it comes with pre-made css and a
couple of other things i gues. Cool that someone thought about it.

AwfulMedia says:

It may seem I’ve forgotten, but I definitely have not. I am behind on
emails, messages, comments, and videos. I am setting up to record as I
write this comment – we’re about to get back on track!

nippermh says:

Have you done a video on action hooks? Would love to know about this.

TheShadowPX says:

phpacedemy did a great tutorial series on boostrap. You can watch it here
/watch?v=y13WPLBfFBs&list=PLfdtiltiRHWFBpI1Hux9DYmGKnTZPBBXo

AwfulMedia says:

I have missed quite a few legitimate questions and I wish I could answer
them all. There’s just no way, but I try. 🙂

Owen Prescott says:

Is it possible to add the field to all user account signups? This is for
sales using Woocommerce.

Defrian Afdi says:

Hi mate, Great tutorial. Really hoping you to throw more vids. Cheers

Magnus Johansson says:

Awesome tutorial!

AwfulMedia says:

This plugin will be able to add check boxes to the backend, but for a front
end system you may want to search for another plugin. If you’re just
wanting a rating system, you have plenty to choose from. GD Star Rating
comes with a star and thumb rating system and some nice widgets to display
some data in a sidebar.

Dominic Francois says:

Thanks so much! Love these tutorials very easy to follow.

Гоце Пасковски says:

how i can put thumbnail navigation on flexslider?

voodazz says:

Great series so far! I’m really looking forward to the part when you make
the other elements of the site responsive (index posts, side bare etc). I
would really love to be able to do that!

Yashu Cheng says:

Can these custom fields adds check boxes?.. like I want people to rate
under checkbox rather they enjoyed my post or not… is this plugin that
powerful to add that? 😀 thanks austin! new to your tutorials but loving
every bit 🙂

Гоце Пасковски says:

very nice !!! tnx alot man you are the best ! 😀

The son says:

You’re so dedicated much love. Remember you don’t have to reply to every
single one!

AwfulMedia says:

Phew. 🙂

Uplinkpr0 says:

Great tut love this easy to sort now post types i noticed something odd
though on the new post types created even if all the boxes are not checked
in the custom feilds featured images and tags ect will not pop up.

oDJOldskull says:

I’m new to WP coding. Will you make a series that will cover Twitter
Bootstrap ? 🙂

Ponvendhan Subramaniam says:

Again a great lesson from you Austin, this part worked for me without any
problem.

David Madarro says:

Advanced Custom Fields is currently getting rebuild, the plugin you
currently find under WordPress Plugins is called Version 1.0 and contains
nothing. For newcomers to this tutorial you can get the latest working
version at github.com/elliotcondon/acf/archive/master.zip

TheShadowPX says:

academy*

Comments are disabled for this post.