Programming, php, wordpress, memes etc.

Tag: settings

  • WordPress plugin/theme settings screen – turn sections into tabs

    We use WordPress settings API to add fields into our plugin’s(or theme’s) setting screen. We add ‘sections’ and ‘fields’. If you add too many of them, the page becomes too long. This is a utility to turn those long settings screen into nicely segregated tabs. To demonstrate visually – it turns the following: into How…