Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Create a WordPress Plugin Settings Page

This tutorial teaches you to create a Wordpress Plugin Settings Page with the wp-admin/admin.php?page I haven’t made a brand-new WordPress plugin in a while, but I recently made the decision to make some code that was functioning just for me into a finished plugin that I could sell. Hard coded data had to be replaced with choices that incoming plugin users may make as part of that process.

The plugin required me to construct a settings page, and as the WordPress landscape is always evolving, I found myself thinking what the best strategy is. Let’s examine different approaches to including a settings page in your WordPress plugin.

Since WordPress 3.4, it has become possible for developers to build plugins with settings pages for the admin interface and by selecting “Settings” at the top of any plugin list, you can access customized settings for that specific plugin.

The Settings page is an Admin Page in WordPress and it is displayed as a tab in the side navigation pane of your site’s dashboard. Settings pages are typically used to give users control over aspects of your plugin that otherwise could not be customized or controlled via standard user interface elements. In other words, setting pages let users configure options which would otherwise be unavailable to them without programming knowledge or access to code-level manipulation.

It is possible for any user with administrative privileges on your site (i.e., your blog administrator) to view, edit and update settings on this page

This section is about the process of creating a settings page for a WordPress plugin.

A WordPress plugin settings page is an interface that gives users access to all the settings for the specific plugin, so they can customize it to meet their needs. But how does one create this settings interface?

The first step is to set up a “Settings” tab in the admin menu of your plugin and make sure it’s at least as clickable as other sections on your plugins’ pages. The next step is creating an input field on the page that’s called “Settings.” This input field should be located at the top of your settings page and should not be hidden behind any other tabs or menus. It should include a help text explaining what kind of data it accepts and what format it expects, if any.

The last step is saving these values when they are changed/edited by saving them on this input field, then saving all changes in your admin panel – which will save these

WordPress Plugin Settings Pages are not really a type of page as such, but rather an area that can be edited to modify the settings for a specific plugin.

WordPress plugins are used to extend features and functions for the WordPress platform. These plugins can modify how the site is laid out, what content is displayed on pages, how search engine friendly the site is and many other additions that enhance your site.

A WordPress plugin settings page will typically come in two flavours: one with a navigation menu and one without. Create a WordPress Plugin Settings Page

The post Create a WordPress Plugin Settings Page appeared first on SW Learner.



This post first appeared on Proven Ways To Make Money Online With WordPress, please read the originial post: here

Share the post

Create a WordPress Plugin Settings Page

×

Subscribe to Proven Ways To Make Money Online With Wordpress

Get updates delivered right to your inbox!

Thank you for your subscription

×