269 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
subsolar says

Hi, I want to ask a question about the metaboxes repeatable field. I see that the Custom-Metaboxes-and-Fields-for-WordPress from WebDevStudios is pretty popular but it’s support for repeater fields is a little lacking.

So what are you using to create such field, is there a better script, or a tutorial? I’ll be very happy if you share some wisdom with me. Thanks in advance! :)

1581 posts How's the surf doing?
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 3 years
  • Had an item featured on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
tommusrhodus says

What are you trying to do? There’s a few little tricks in there, but it’s definitely a little limited at the moment.

269 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
subsolar says

I’m trying to create a slider metabox in page template with add image field and textbox for the caption.

Is there a way?

( I’ve always been impressed by your portfolio btw, great works! )

1581 posts How's the surf doing?
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 3 years
  • Had an item featured on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
tommusrhodus says

Thanks :)

So you can use the file_list metabox type for this, and then you can grab an attachment ID from the array of URLs using this:

http://frankiejarrett.com/get-an-attachment-id-by-url-in-wordpress/

Then your users can add captions / descriptions in the media gallery which you grab by ID and display appropriately.

You’re right though, this is definitely the weak area of the framework at the moment.

Cheers

131 posts
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+3 more
mountainthemes says
269 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
subsolar says

@TommusRhodus Oh , that’s an idea, thank you :)

And one more question – is it possible to create a group of three textboxes/text-inputs that is repeatable?

@mountainthemes I’ve also thought about using this. I want to explore all my options and see what is the best for the current project.

131 posts
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+3 more
mountainthemes says

acf + all add ons = you can do everything ;)

1581 posts How's the surf doing?
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 3 years
  • Had an item featured on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
tommusrhodus says

Repeatable text inputs, provided the 3 are connected you can just use 3 repeatable fields with a note that they tie in together, then you can just pull and clean the arrays for empty entries and use foreach and a key value to grab values from all 3 arrays :)

1772 posts Multimedia Artistry
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 3 years
  • Contributed a free file of the month
  • Won a Most Wanted contest
+4 more
dnp_theme says

Google for Vafpress Framework.

269 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $40,000+ on Envato Market
  • Sells items exclusively on Envato Market
subsolar says

@TommusRhodus This is interesting way. Have you used it in a theme? What is the clients feedback?

@dnp_theme This Vafpress framework looks bery promising.. I’ll take a look at it. How does it compare to Redux?

And on the question of repeatable fields:

What is the best way to create a repeatable text field group in a widget?

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by