$input ){ $options[$id] = APTFPINbyTAP_MenuOptionsValidate( $newoptions[$id],$oldoptions[$id],$optiondetails[$id] ); } }else{ $options = $newoptions; } update_option( APTFPINbyTAP_SETTINGS, $options); if( 'generator' == $currenttab ) { $short = APTFPINbyTAP_generate_shortcode( $options, $optiondetails ); } } ?>

Theme settings updated successfully.

"; } ?>
$tabtitle"; else : $links[] = "$tabtitle"; endif; endforeach; echo '

'.APTFPINbyTAP_NAME.'

'; echo ''; } /** * Separate settings by tab */ function APTFPINbyTAP_get_settings_by_tab() { $tabs = APTFPINbyTAP_get_settings_page_tabs(); $tabnames = array(); foreach ( $tabs as $tab ) { $tabname = $tab['name']; $tabnames[] = $tabname; } $settingsbytab = $tabnames; $default_options = APTFPINbyTAP_option_defaults(); foreach ( $default_options as $default_option ) { if ( 'internal' != $default_option['type'] ) { $optiontab = $default_option['tab']; $optionname = $default_option['name']; $settingsbytab[$optiontab][] = $optionname; } } return $settingsbytab; } /** * Plugin Admin Settings Page Tabs * */ function APTFPINbyTAP_get_settings_page_tabs() { $tabs = array( 'general' => array( 'name' => 'general', 'title' => 'General', ), 'generator' => array( 'name' => 'generator', 'title' => 'Generator', ), 'plugin-settings' => array( 'name' => 'plugin-settings', 'title' => 'Plugin Settings', ) ); return $tabs; } function APTFPINbyTAP_display_options_form($options,$currenttab,$short){ $widget_container = ( 'APTFPINbyTAP-pinterest' ); $defaults = APTFPINbyTAP_option_defaults(); if( 'generator' == $currenttab ) { $positions = APTFPINbyTAP_shortcode_option_positions(); ?>
Now, copy (Crtl+C) and paste (Crtl+P) the following shortcode into a page or post.
'; echo '
'; } }elseif( 'plugin-settings' == $currenttab ){ $positions = APTFPINbyTAP_admin_option_positions(); } ?>
$positionsinfo){ ?>

>

the Alpine PressWordPress.org.