• Resolved calegendre

    (@calegendre)


    Hey there, amazing plugin!

    How would I go about, line in Formidable where you can tie an action to a tag, set the image for Open Graphite’s share thing…

    What are the meta keys? tags? For the fields in Open Graphite??

    Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter calegendre

    (@calegendre)

    Is there anywhere with a list of all the keys/tags to use a form to input into open graphite, I guess would be the best way to simplify the question.

    Thanks again. I am getting so close to what I am trying to accomplish across this site and it’s down to little details!

    Thank you.

    Plugin Author Michael Ott

    (@mikeyott)

    Hi,

    I don’t really know what you’re asking, but the open graphite meta keys for any post type are:

    _custom_image
    _open_graph_description
    _open_graph_post_type
    _open_graph_description

    If you want the homepage values, look in the options table for the option_name called openg_settings

    Have fun.

    Thread Starter calegendre

    (@calegendre)

    Thanks. I’d figured out
    _custom_image after a long messing around period

    What is strange about it, is using Formidable Forms, and the upload field,
    setting the “custom field” mapping to _custom_image and then to the image upload field as the value, it’s pulling the ID number from the media library and not the URL to the image, which means it’s not accepting the image. Their support said there’s no advice they can offer and said to reach out to the support for this plugin, but I know it’s not really an issue in your plugin either.

    Just getting discouraged with something I’ve poured a lot of effort into—for this one thing to be an issue.

    Thank you again. Don’t know what’s next.

    Plugin Author Michael Ott

    (@mikeyott)

    Howdy,

    Admittedly this is well outside the support I can offer, but if I knew what you were trying to achieve perhaps I could point you in the right direction.

    But to get you started on one thing you mentioned, if you are getting the ID of the media item but you want the URL instead, simply use the wp_get_attachment_url() function.

    • This reply was modified 4 years, 6 months ago by Michael Ott.
    • This reply was modified 4 years, 6 months ago by Michael Ott.
    • This reply was modified 4 years, 6 months ago by Michael Ott.
    Thread Starter calegendre

    (@calegendre)

    Yeah, I’m asking a lot and I apologize.

    I have an image upload form with Formidable – I want that image to go to the Open Graphite image field, but no matter what I do, it either does nothing or just pulls the ID from the media library. I’ve got questions out in a couple discord abs slack channels as well. So far everyone is mind blown.

    Plugin Author Michael Ott

    (@mikeyott)

    I don’t think I’m going to be any help with this.

    But if you’re cool getting your hands dirty in the code, you might be better off adding your own fields to the form and saving the data the way you want. This might help: https://formidableforms.com/knowledgebase/add-a-new-field/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uploading Custom Images for OG via form’ is closed to new replies.