Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialStephen O'Connor
22,291 PointsExpressionEngine Matrix Equivalent in WordPress?
Hi,
I'm used to building my websites in ExpressionEngine but at the moment I am learning how to build them in WordPress and I am looking to see if there is an equivalent to an add-on in EE called Matrix in WordPress.
Basically Matrix allows you to have multiple iterations of a set of custom fields, so lets say you had a content slider which had a heading, a small piece of text and an image, Matrix would allow you to add multiple slides from one custom field (or field group).
Is there a WordPress equivalent to this and/or a way that experienced WordPress users would tackle this issue?
Thanks. Stephen.
3 Answers
Luke Clifton
1,888 PointsNo worries.
http://www.advancedcustomfields.com/add-ons/repeater-field/
Beware though that ACF version 5 is virtually out, in this new version, the repeater field is no longer an add-on but comes as part of the core. So the documentation will be updating soon.
ACF v5 is even more amazing than v4.
Luke
Luke Clifton
1,888 PointsHi Stephen,
I used to develop with Expression Engine and the Matrix field.
Your answer in WordPress land is Advanced Custom Fields. http://www.advancedcustomfields.com
The ACF Repeater field is what you want. Also the flexible content field is powerful too.
You'll love it and never look back!
Luke
Stephen O'Connor
22,291 PointsHi Luke,
Thanks for the heads up, I will check it out. I have advanced custom fields installed, I just wasn't aware it gave you that option.
Thanks again. Stephen.