Support » Plugin: CMB2 » integrate front end field to social articles

  • Resolved alchan

    (@alchan)


    Hello,

    I want to add price field to social articles form, so users can add price to blog post with other fields
    https://www.zadomace.si/price_field.jpg

    For front end I use Ess Grid plugin and there I create meta field for price. This meta field is in wp admin and not on frontend post and I see this field in database as eg-cena.

    I think CMB plugin is right solution to add price and other fields to front end with social articles I only wonder how add eg-cena(to write in database) to text-money filed.

    Thanks for help,

    A

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    I don’t have a great answer for the overall larger task of integrating CMB2 and Ess Grid and your site, but I do know we have this field type available that will probably do pretty well for you:

    https://github.com/CMB2/CMB2/wiki/Field-Types#text_money

    Hello,

    thanks for answer,

    Yes I want to use this text-money field, but don’t know how grab meta field in my case (eg-cena) in database to this text-money from CMB plugin.

    Thanks for help,

    A

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    hard for me to say as well, as I’m not familiar with how Ess Grid works and where they may save their data. At least as an initial guess, it’s probably in the wp_postmeta table, with some sort of specific key that you could match for your field here. The “id” parameter for a field is what gets used for the meta_key column for meta data.

    Hello,

    thanks for your directions. I will try.

    A

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘integrate front end field to social articles’ is closed to new replies.