Forums Forums Search & Filter Pro I am looking for advice on using this plugin on the backend of a CPT

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #48704

    I have written a two CPT’s that function as a mail merge tool.

    The first CPT collects basic custom fields for first and last name; address, city, zip; phone, email . . . etc.

    The second CPT creates a .csv file after selecting criteria from a CPT taxonomy and the first CPT’s many custom fields.

    Right now I have a S&F form and custom results template displaying on the backend of a metabox. My goal is to use S&F to query and filter the CPT taxonomy and custom fields inside a metabox via jquery will save the query results via the Post’s update/publish button.

    However, the jquery filtering is not working. I assume because the the .js only loads on the front end.

    Question: Which files do I need to enqueue on the backend?

    Question: Is is possible to even do what I want given how the results url works?
    Actually I don’t get the results url requirement. My results url will change because of the post ID. For example, ../wp-admin/post.php?post=338&action=edit, but if a new post is added the url will be: ../wp-admin/post-new.php?post_type=merge_mailing.

    Question: I see the form can be in a sidebar, but can a results page be in a sidebar as well?

    Question: Is there a WP filter or action I can tap into to address the URL?

    Trevor
    #48728

    Most of those questions went over my head I am afraid to say. I do not get what you are trying to do, but it does not sound like you are doing something that the plugin was designed to do.

    As to where to locate the form and results, that is entirely down to the where you theme allows you to put them. Some themes are flexible enough to do what you ask easily, some are not so easy.

Viewing 2 posts - 1 through 2 (of 2 total)