WordPress.org

Forums

How to use check box and radio on plugin options? (1 post)

  1. Aboobacker P Ummer
    Member
    Posted 3 years ago #

    Hi,
    I wish to make two more option fields, a check box (for enable/desamle something from plugin admin panel) and two radio boxes (to choose the distance in Miles/Kms) in my plugin "AB Google Map Travel".

    Please someone check the code here: http://plugins.svn.wordpress.org/ab-google-map-travel/trunk/ab-google-map-travel.php and advice me how to make them using options.

    I think I must create them using add_option(). But how to check and save them in the admin panel?

    Thanks,
    Abooze

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Aboobacker P Ummer
  • This topic is not resolved
  • WordPress version: 3.4.2