'.get_option('2mb_autocode_topstring').''.$content; } else { $content = do_shortcode(get_option('2mb_autocode_topstring')).$content; } } if((is_single() || get_option('2mb_autocode_bottomhome') == 1) && $count2 == 0) { if(get_option('2mb_autocode_bottomtype') == 1) { $content = $content.do_shortcode(exec(get_option('2mb_autocode_bottomstring'))); } else if(get_option('2mb_autocode_bottomtype') == 2) { $content = $content.'
'.get_option('2mb_autocode_bottomstring').'
'; } else { $content = $content.do_shortcode(get_option('2mb_autocode_bottomstring')); } } return $content; } add_action('admin_menu', 'twomb_autocode_init_admin_menu'); function twomb_autocode_init_admin_menu() { add_options_page('Autocode Options', 'Autocode', 'manage_options', 'twomb-autocode-settings', 'twomb_autocode_options'); } function twomb_autocode_options() { if(!current_user_can( 'manage_options')) { wp_die( 'You do not have rights to access this page.'); } ?>

Wait just a second.

Do you like this plugin? Does it make your life just a little bit easier -- we hope! If it does, please consider donating to help our plugin effort along. Any amount helps. We'll love you forever ;-)

Amount: $ USD

Also please consider visiting our website to stay up to date on 2MB Solutions news, plugins, offers, and more. Click here to visit.

2) { return 0; } else { return (int)$data; } } function twomb_autocode_tophome_sanitize($data) { if($data == NULL) { return 0; } else { if($data == 'true') { return 1; } else { return 0; } } } function twomb_autocode_bottomtype_sanitize($data) { if((int)$data < 0 || (int)$data > 2) { return 0; } else { return (int)$data; } } function twomb_autocode_bottomstring_sanitize($data) { return wp_kses_post($data); } function twomb_autocode_bottomhome_sanitize($data) { if($data == NULL) { return 0; } else { if($data == 'true') { return 1; } else { return 0; } } } function twomb_autocode_topstring_print() { ?> > Html > php > Preformatted text
Note: When using php, you must echo any required output, and not include any php tags. Also, when using preformatted text, shortcodes will not work. > Yes > Html > php > Preformatted text
Note: When using php, you must echo any required output, and not include any php tags. Also, when using preformatted text, shortcodes will not work. > Yes

Enter your settings below, then click save to save your changes.