leocaseiro / WordPress-Plugin-Custom-Options-Plus

With Custom Options Plus WordPress Plugin, you can enter your custom options datas for your theme.
https://wordpress.org/plugins/custom-options-plus/
GNU General Public License v2.0
18 stars 8 forks source link

WordPress Custom Options Plus Plugin

Join the chat at https://gitter.im/WordPress-Plugin-Custom-Options-Plus/Lobby WordPress plugin WordPress WordPress WordPress rating

WordPress Custom Options Plus is the easiest way to add your custom variables as a Settings Page for your Theme. It works similar to wp_options, but you don' need to create your own forms.

PS: It uses an extra table on your MySQL

Description

It's very useful for beginners or who doesn't want to create a settings page as a plugin. If you are not a expertise in PHP, just follow the instructions following the FAQ tab.

You can for example, register the address and phone numbers of your company to leave on the header of your site. So, if your client needs to update they phone number, they can easily update through this plugin.

Also, you can use to enter a social network link, as Twitter, Facebook, Youtube, Instagram, Pinterest and more.

This Plugin was Based on Custom Settings (Custom Configs) which has been removal from WordPress Repository.

Support

Open an Issue, please

Installation

  1. Download the plugin.
  2. Activate the plugin.
  3. Configure the administration panel in Settings > Custom Options Plus and customize your options plus

FAQ (Frequently Asked Questions)

Used to single option

<?php echo get_custom('name'); ?>

Used to multiples options

<?php
    // Default get_customs returns a list(array)
    $array = get_customs('array_name');
    foreach ( $array as $name ) :
        echo $name;
    endforeach;

    // Second parameter set to true for get_customs returns a collection(array) with `label` and `value`
    $array = get_customs('array_name', true);
    foreach ( $array as $name ) :
        echo $name['label'] . ' - '. $name['value'];
    endforeach;
?>

Changelog

1.8.1

1.8.0

1.7.1

1.7.0

1.6

1.5

1.4.1

1.4

1.1

1.3

1.2

1.0

License

Copyright (c) 2011-2016 Leo Caseiro. This is free software and is licensed under the GPL2 License

Created and maintained by Leo Caseiro