• Resolved marvmckay66

    (@marvmckay66)


    I have a long application, with 30 different sections, most of which need an introduction or explanation before the user fills out the fields in that section. Is there a way to inject sections of text (with some HTML formatting, such as numbered lists) between groups of fields?
    I see that the “separator” field allows me to inject text, but it doesn’t allow any HTML.

    • This topic was modified 4 years, 7 months ago by marvmckay66.
Viewing 1 replies (of 1 total)
  • Plugin Author Farhan Noor

    (@farhannoor)

    Hi marvmckay66,
    For complete custom structure you can create archive template file archive-aol_ad.php and single template file single-aol_ad.php in your theme with your own HTML structure.

    For custom ad types which you define in plugin’s settings, you need to create custom template files accordingly i. e. archive-aol_CustomType.php & single-aol_CustomType.php. Replace CustomType keyword according to ad type.

    Three functions are available to get content of an application on single template file:

    1. aol_features($post_id)
      $post_id (integer)(optional) Default: Current Post ID.
      This functions returns features of an application in string format.
    2. aol_form($post_id)
      $post_id (integer)(optional) Default: Current Post ID.
      This functions returns application form in string format.
    3. aol_form_fields($post_id)
      $post_id (integer)(optional) Default: Current Post ID.
      This function returns associative array of application form fields. Application form field’s KEY, TYPE and OPTIONS are returned.
    4. Best Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Ability to add text (with some HTML formatting) between fields of application?’ is closed to new replies.