• Resolved grenzenlos

    (@grenzenlos)


    Hi since the update I’m unable to see the AOL form underneath my Ads on my custom theme single-aol_ad.php and saw that you have a new function.

    Can you clarify on how to use this thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Farhan Noor

    (@farhannoor)

    Hi,

    In your template file single-aol_ad.php echo this function aol_form() within wordpress loop to print the form on ad detail page. This function does not accept any parameters. You can find same instructions in settings/HOW TO section under AOL menu.

    Farhan.

    Thread Starter grenzenlos

    (@grenzenlos)

    I’m mean adding filter to the functions so I can customize the output without editing your plugin (so when updating my changes won’t disappear)

    I figured the aol_ontent by adding add_filter('aol_content', 'my_custom_function', 10, 3);

    how about the aol_form can this be done so I can make form fields required and have some sort of validation?

    Plugin Author Farhan Noor

    (@farhannoor)

    Hi,
    I am working on different action & filter hooks within the plugin so developers can extend this plugin without touching any code in the plugin. Please wait for the next version of the plugin to fulfill your requirement.

    You can still change look n feel of the form by your theme’s css.

    Farhan.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to use aol_form function’ is closed to new replies.