Skip to content

Commit

Permalink
Tested Up to WordPress 4.0 --Icon added
Browse files Browse the repository at this point in the history
  • Loading branch information
leocaseiro committed Sep 7, 2014
1 parent c8bc446 commit 796653e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 19 deletions.
6 changes: 3 additions & 3 deletions custom-options-plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Description: With this plugin, you can enter your custom options datas. It is very easy to install and use. Even if you do not have expertise in PHP.
You can for example, register the address and phone numbers of your company to leave in the header of your site. So, if someday relocate, you do not need to change your theme. Just change administratively.
You can also enter the login of your social networks. How to login twitter, Facebook, Youtube, contact email and more.
Version: 1.3
Version: 1.4
Author: Leo Caseiro
Author URI: http://leocaseiro.com.br/
*/

/* Copyright 2011 Leo Caseiro (http://leocaseiro.com.br/)
/* Copyright 2011-2014 Leo Caseiro (http://leocaseiro.com.br/)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
Expand Down Expand Up @@ -302,7 +302,7 @@ function cop_plugin_help($contextual_help, $screen_id, $screen) {
global $my_plugin_hook;
if ($screen_id == $my_plugin_hook) {

$contextual_help = 'Used <em>get_custom(\'name\')</em> or <em>get_customs(\'name\')</em> in your theme.';
$contextual_help = '<br>Use <br /><em>' . htmlentities('<?php echo get_custom(\'name\') ; ?>') . '</em><br /><br /> or <br><em>' . htmlentities('<?php foreach ( get_customs(\'name\') as $name ) : ') . '<br /> echo $name; <br /> ' . htmlentities('endforeach; ?>') . '</em> <br /> in your theme.';
}
return $contextual_help;
}
Expand Down
Binary file added icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 4 additions & 9 deletions js/jquery.stringToSlug.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 20 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,21 @@ Contributors: leocaseiro
Donate link: http://leocaseiro.com.br/contato/
Tags: configs, custom, custom configs, custom options, custom options plus, custom settings, leocaseiro, options, settings, wp_options
Requires at least: 2.7
Tested up to: 3.8.1
Stable tag: 1.3
Tested up to: 4.0
Stable tag: 1.4

== Description ==
With this plugin, you can enter your custom options datas. It is very easy to install and use. Even if you do not have expertise in PHP.
You can for example, register the address and phone numbers of your company to leave in the header of your site. So, if someday relocate, you do not need to change your theme. Just change administratively.
You can also enter the login of your social networks. How to login twitter, Facebook, Youtube, contact email and more.
Based on Custom Settings (Custom Configs)
Custom Opstions Plus is the easiest way to add your custom variables as a Settings Page for your Theme.

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 in the header of your site. So, if someday relocate, you do not need to change your theme. Just change administratively.
Also, you can use to enter a social network login, as twitter, facebook, Youtube, Instagram, and more.

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

[Support on GitHub] (https://github.com/leocaseiro/Wordpress-Plugin-Custom-Options-Plus/issues "GitHub Issues for Support"), please!

== Installation ==
1. Download the plugin.
Expand Down Expand Up @@ -43,7 +50,7 @@ Based on Custom Settings (Custom Configs)

* Value field from varchar(255) to text

* Correcting following suggestion by Andy Stratton in http://wordpress.org/support/topic/plugin-custom-options-plus-stripslashes-needed-on-submission-of-content?replies=1
* SQL Injection fix following suggestion by Andy Stratton in http://wordpress.org/support/topic/plugin-custom-options-plus-stripslashes-needed-on-submission-of-content?replies=1

* New Layout using WP List Table

Expand All @@ -58,3 +65,9 @@ Based on Custom Settings (Custom Configs)
= 1.3 =

* Add automatic name genrated from Label using jQuery stingToSlug Plugin

= 1.4 =

* Update stringToSlug Plugin
* Tested up to WordPress 4.0
* Add Plugin Icon for WordPress 4.0

0 comments on commit 796653e

Please sign in to comment.