http://webscripts.softpedia.com/script/Modules/WordPress-Plugins/Redux-Framework-81650.html
We scheduled a special article for our Script of the Day series on November 28th.
Best regards, Softpedia Team
@media only screen and (max-width: 760px) { | |
.header-album-widget { | |
display: none; | |
} | |
} |
<?php | |
return array( | |
'field'=>'typography', | |
'font-family'=>array( | |
'type'=>'boolean', | |
'desc'=>'Visibility of the font-family value.', | |
'default' => true | |
), | |
'font-size'=>array( | |
'type'=>'boolean', |
<?php | |
/* | |
This can be included in your functions.php file. It checks to make sure the plugin is not activated. Please note, | |
if you have the plugin in any other directory than redux-framework (ie, you installed via the Github Repo), this will not function. | |
*/ | |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Comment this line if within template files, IE required in files like functions.php | |
if ( !is_plugin_active('ReduxFramework/redux-framework.php') && !is_plugin_active('redux-framework/redux-framework.php') && !is_plugin_active('ReduxFramework-master/redux-framework.php') ) { | |
if ( !$active && !class_exists( 'Redux_Framework' ) && file_exists( dirname( __FILE__ ) . '/ReduxFramework/ReduxCore/framework.php' ) ) { | |
require_once( dirname( __FILE__ ) . '/ReduxFramework/ReduxCore/framework.php' ); | |
} |
<?php | |
function useReduxVariables() { | |
// Redux does some nifty setup things. To use the variables inside your functions.php file you will need to run your | |
// code inside a function run at the init hook or later. | |
// In this example we assume that demo mode is turned on. You can sub your variable name here to get your values. | |
global $redux_demo; | |
print_r($redux_demo); | |
} |
ReduxCore | |
loader.php (framework.php whatever really) | |
coreassets | |
js | |
css | |
img | |
modules/extensions?? | |
optionspanel | |
customizer | |
metabox |
<?php | |
if ( !class_exists( 'ReduxFramework' ) && file_exists( dirname( __FILE__ ) . '/ReduxFramework/ReduxCore/framework.php' ) ) { | |
require_once( dirname( __FILE__ ) . '/ReduxFramework/ReduxCore/framework.php' ); | |
} | |
if ( !isset( $redux_demo ) && file_exists( dirname( __FILE__ ) . '/ReduxFramework/sample/sample-config.php' ) ) { | |
require_once( dirname( __FILE__ ) . '/ReduxFramework/sample/sample-config.php' ); | |
} |
<?php | |
/* | |
* | |
* Set the text domain for the theme or plugin. | |
* | |
*/ | |
define('Redux_TEXT_DOMAIN', 'atd-opts'); | |
/* | |
* |
<?php | |
function custom_upload_mimes ( $existing_mimes=array() ) { | |
// Add *.EPS files to Media upload | |
$existing_mimes['eps'] = 'application/postscript'; | |
return $existing_mimes; | |
} | |
add_filter('upload_mimes', 'custom_upload_mimes'); |
{ | |
"_id": "5f286d8560c3f0abb92c6232eb8187fd", | |
"_rev": "9-d42b5eb435a4dfc13afc372493e64037", | |
"created_at": 1383370083, | |
"site": { | |
"hash": "5f286d8560c3f0abb92c6232eb8187fd", | |
"version": "3.7.1", | |
"multisite": false, | |
"users": "0", | |
"lang": "en_US", |
http://webscripts.softpedia.com/script/Modules/WordPress-Plugins/Redux-Framework-81650.html
We scheduled a special article for our Script of the Day series on November 28th.
Best regards, Softpedia Team