Support

Account

Home Forums ACF PRO Adsense Ad in a form

Solving

Adsense Ad in a form

  • What would be the easiest method for adding an Adsense Ad just below the submit button of the form?

    I searched here but didn’t find anything.

  • Hello…

    Can you be more specific please? What form do you mean?

    AdSense ads can be inserted in a number of ways… are you editing HTML directly, or are you adding content to a post or page?

    Let me know and I will offer a solution 🙂

    Thanks,
    Keith

  • So I have a custom post type that I use with a field group

    This is the code that creates the form.

    acf_form(array(
    				'id' => 'POV-Travel',
    				'post_id'		=> 'new_post',
    				'field_groups'	=> array(431),
    				'new_post'		=> array(
    					'post_type'		=> 'pov_travel',
    					'post_status'	=> 'publish'),
    				'submit_value'		=> 'Submit',
    			));

    Is it as simple as adding the Adsense code just above or below the ‘submit_value’?

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

You must be logged in to reply to this topic.