• Resolved fpinheiropt

    (@fpinheiropt)


    Hi there,

    I’m trying to create a custom html ecard generator based on a custom post type.
    I’m having trouble getting the html from the custom post field “ecardhtml” that i’ve created. Everytime i try to get the value from that field it returns the “title” field.

    I’m trying to get that html code to build the e-mail that is going to be sent.

    Another thing I’m not sure, when listing large amounts of posts (eg.: 20) in a post_image_checkbox, is it possible to break into 2 pages (10 per page)?

    Thanks in advance!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Markus Wiesenhofer

    (@markusfroehlich)

    Hello fpinheiropt,
    which data exactly are stored in the ecardhtml post meta?
    What is written in your label format?
    A pagination is only by an ajax call on the select2 library possible.
    The plugin have to load the post data on the page request.

    Best regards
    Markus

    Thread Starter fpinheiropt

    (@fpinheiropt)

    Hi Markus,

    I was able to add an additional field to the value result.

    My issue now is related with the pagination results.
    Can you help me address the pagination of the list of posts?
    I’ve tried looking into the select.php but i can’t figure how to implement it.

    Best Regards,

    Filipe

    Plugin Author Markus Wiesenhofer

    (@markusfroehlich)

    Hello fpinheiropt,
    you can use the wpcf7_{$tag_name}_field_post_data filter.

    Or the pre_get_post filter.

    Best regards
    Markus

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom value-field and pagination on post_image_checkbox’ is closed to new replies.