Demo Code
// Including Redux Framework
if ( !class_exists( 'ReduxFramework' ) && file_exists( dirname( __FILE__ ) . '/inc/redux-framework/ReduxCore/framework.php' ) ) {
require_once( dirname( __FILE__ ) . '/inc/redux-framework/ReduxCore/framework.php' );
}
if ( !isset( $redux_demo ) && file_exists( dirname( __FILE__ ) . '/inc/tust-options.php' ) ) {
require_once( dirname( __FILE__ ) . '/inc/tust-options.php' );
}
// The value must be over 10
add_action( 'admin_menu', 'remove_redux_menu',12 );
function remove_redux_menu() {
remove_submenu_page('tools.php','redux-about');
}
#ID_OF_MENU .upload_button_div {
display: none;
}
#ID_OF_MENU .redux_slides_add_remove {
display: none;
}
'show' => array(
'title' => true,
'description' => true,
'url' => false // <<========= that is what was asked at the top.
),
https://developer.wordpress.org/resource/dashicons/#admin-multisite
http://elusiveicons.com/icons/
<?php
if (isset($tust['contuct-social']) && !empty($tust['contuct-social'])) {
foreach ($tust['contuct-social'] as $single_social) {
?>
# The dynamic code
<?php
if ($single_social['sort'] == 7) break;//When we want to break the loop
}
} else {
?>
# fall back data
<?php } ?>
<?php
function add_this_script_footer(){ ?>
<script type="text/javascript">
jQuery(document).ready(function ($) {
});
</script>
<?php }
add_action('wp_footer', 'add_this_script_footer'); ?>
<?php
function add_this_script_header(){ ?>
<script type="text/javascript">
jQuery(document).ready(function ($) {
});
</script>
<?php }
add_action('wp_head', 'add_this_script_header'); ?>
get_template_part( 'TEMPLATE_NAME-parts/TEMPLATE_NAME', 'PARTS_NAME' );
global $GLOBAL_VERIABLE_REDUX_FRAMEWORK;
$layout = $GLOBAL_VERIABLE_REDUX_FRAMEWORK['ID']['enabled'];
if ($layout) {
foreach ($layout as $key => $value) {
switch ($key) {
case 'PARTS_NAME':
get_template_part( 'TEMPLATE_NAME-parts/TEMPLATE_NAME', 'PARTS_NAME' );
break;
}
}
} else {
# Fall Back Data
}