{"id":5970067,"date":"2015-04-02T02:31:21","date_gmt":"2015-04-02T02:31:21","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/change-plugin-to-show-only-user-post\/"},"modified":"2016-08-24T14:19:01","modified_gmt":"2016-08-24T14:19:01","slug":"change-plugin-to-show-only-user-post","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/change-plugin-to-show-only-user-post\/","title":{"rendered":"change plugin to show ONLY user post"},"content":{"rendered":"<p>I running a plugin that allows users access however in the user account it shows ALL post from all users&#8230; can anybody help me change this to show post from the logged in user only? Below is the code file<\/p>\n<p>&lt;?php<\/p>\n<p>\/*<\/p>\n<p>Plugin Name: WP Mobilize<\/p>\n<p>Plugin URI: http:\/\/wpmobilize.com\/<\/p>\n<p>Description: With WP Mobilize you can create professional mobile websites using drag and drop technology! Get your first mobile site setup in minutes!<\/p>\n<p>Version: 1.0.0<\/p>\n<p>Author: WP Mobilize<\/p>\n<p>Author URI: http:\/\/wpmobilize.com\/<\/p>\n<p>Copyright 2014 WP Mobilize<\/p>\n<p>*\/<\/p>\n<p>\/* &lt;&#8212; CREDITS &#8212;-&gt;<\/p>\n<p>*<\/p>\n<p>* Social Badges Set 2 &#8211; http:\/\/simekonelove.deviantart.com\/art\/Neon-Social-Media-Buttons-174489616<\/p>\n<p>* Social Badges Set 3 &#8211; http:\/\/arbent.net\/blog\/social-media-circles-icon-set<\/p>\n<p>* Social Badges Set 5 &#8211; http:\/\/www.instantshift.com\/2010\/12\/07\/socialshift-icon-set-246-free-social-networking-icons\/<\/p>\n<p>*<\/p>\n<p>*<\/p>\n<p>*\/<\/p>\n<p>\/\/GLOBALS<\/p>\n<p>$plugin_folder_name = dirname(plugin_basename(__FILE__));<\/p>\n<p>\/\/Let&#8217;s add a page to the WordPress menu for some instructions<\/p>\n<p>function mobile_appy_admin() {<\/p>\n<p>\tinclude(&#8216;admin\/wpmobilize_admin.php&#8217;);<\/p>\n<p>}<\/p>\n<p>function mobile_appy_register_menu_settings() {<\/p>\n<p>\tadd_submenu_page( &#8216;edit.php?post_type=mobile&#8217;, &#8216;WP Mobilize Info&#8217;, &#8216;Documentation&#8217;, &#8216;activate_plugins&#8217;, &#8216;wpmobilize-settings&#8217;, &#8216;mobile_appy_admin&#8217;);<\/p>\n<p>}<\/p>\n<p>add_action(&#8216;admin_menu&#8217;, &#8216;mobile_appy_register_menu_settings&#8217;);<\/p>\n<p>\/\/create a custom post type called &#8216;wordpresent&#8217;<\/p>\n<p>add_action( &#8216;init&#8217;, &#8216;mobile_appy_init&#8217; );<\/p>\n<p>function mobile_appy_init() {<\/p>\n<p>    register_post_type(&#8216;mobile&#8217;, array(&#8216;label&#8217; =&gt; &#8216;Mobile Sites&#8217;,&#8217;description&#8217; =&gt; &#8221;,&#8217;public&#8217; =&gt; true,&#8217;show_ui&#8217; =&gt; true,&#8217;show_in_menu&#8217; =&gt; true,&#8217;capability_type&#8217; =&gt; &#8216;page&#8217;,&#8217;hierarchical&#8217; =&gt; false,&#8217;query_var&#8217; =&gt; true,&#8217;exclude_from_search&#8217; =&gt; false,&#8217;supports&#8217; =&gt; array(&#8216;title&#8217;,&#8217;revisions&#8217;,),&#8217;labels&#8217; =&gt; array(&#8216;name&#8217; =&gt; &#8216;Mobile Sites&#8217;,<\/p>\n<p>    &#8216;singular_name&#8217; =&gt; &#8216;Mobile Site&#8217;,<\/p>\n<p>    &#8216;menu_name&#8217; =&gt; &#8216;Mobile Sites&#8217;,<\/p>\n<p>    &#8216;add_new&#8217; =&gt; &#8216;Add New&#8217;,<\/p>\n<p>    &#8216;add_new_item&#8217; =&gt; &#8216;Add New Mobile Site&#8217;,<\/p>\n<p>    &#8216;edit&#8217; =&gt; &#8216;Edit&#8217;,<\/p>\n<p>    &#8216;edit_item&#8217; =&gt; &#8216;Edit Mobile Site&#8217;,<\/p>\n<p>    &#8216;new_item&#8217; =&gt; &#8216;New Mobile Site&#8217;,<\/p>\n<p>    &#8216;view&#8217; =&gt; &#8216;View Mobile Site&#8217;,<\/p>\n<p>    &#8216;view_item&#8217; =&gt; &#8216;View Mobile Site&#8217;,<\/p>\n<p>    &#8216;search_items&#8217; =&gt; &#8216;Search Mobile Sites&#8217;,<\/p>\n<p>    &#8216;not_found&#8217; =&gt; &#8216;No Mobile Sites Found&#8217;,<\/p>\n<p>    &#8216;not_found_in_trash&#8217; =&gt; &#8216;No Mobile Site found in trash&#8217;,<\/p>\n<p>    &#8216;parent&#8217; =&gt; &#8216;Parent Mobile Site&#8217;,<\/p>\n<p>    ),) );<\/p>\n<p>}<\/p>\n<p>\/\/add flush rewrite rules on plugin activation<\/p>\n<p>function mobile_appy_rewrite_flush() {<\/p>\n<p>    \/\/ First, we &#8220;add&#8221; the custom post type via the above written function.<\/p>\n<p>    \/\/ Note: &#8220;add&#8221; is written with quotes, as CPTs don&#8217;t get added to the DB,<\/p>\n<p>    \/\/ They are only referenced in the post_type column with a post entry, <\/p>\n<p>    \/\/ when you add a post of this CPT.<\/p>\n<p>    mobile_appy_init();<\/p>\n<p>    \/\/ ATTENTION: This is *only* done during plugin activation hook in this example!<\/p>\n<p>    \/\/ You should *NEVER EVER* do this on every page load!!<\/p>\n<p>    flush_rewrite_rules();<\/p>\n<p>}<\/p>\n<p>register_activation_hook( __FILE__, &#8216;mobile_appy_rewrite_flush&#8217; );<\/p>\n<p>\/\/This will add a single template to be used with the wpresents CPT<\/p>\n<p>function mobile_appy_template() {<\/p>\n<p>\tglobal $post;<\/p>\n<p>\tglobal $plugin_folder_name;<\/p>\n<p>\tif ($post-&gt;post_type == &#8216;mobile&#8217;) {<\/p>\n<p>     include (dirname( __FILE__ ) . &#8216;\/includes\/mobile-template.php&#8217;);<\/p>\n<p>     exit;<\/p>\n<p>\t }<\/p>\n<p>}<\/p>\n<p>add_action(&#8216;template_redirect&#8217;, &#8216;mobile_appy_template&#8217;);<\/p>\n<p>\/\/remove meta boxes from mobile site edit screen<\/p>\n<p>add_action(&#8216;admin_head&#8217;, &#8216;mobile_appy_remove_boxes&#8217;);<\/p>\n<p>function mobile_appy_remove_boxes() {<\/p>\n<p>\tremove_meta_box(&#8216;slugdiv&#8217;, &#8216;mobile&#8217;, &#8216;normal&#8217;);<\/p>\n<p>}<\/p>\n<p>function mobile_appy_custom_admin_scripts() {<\/p>\n<p>\t\/\/main js file &#8211; also enques jquery, jquery ui and jquery plugin scripts<\/p>\n<p>\twp_enqueue_script( &#8216;mobile-appy-script&#8217;, plugins_url(&#8216;js\/mobile_appy.js&#8217;, __FILE__), array (&#8216;jquery&#8217;, &#8216;jquery-ui-core&#8217;, &#8216;jquery-ui-tabs&#8217;, &#8216;jquery-ui-accordion&#8217;, &#8216;jquery-ui-sortable&#8217;, &#8216;jquery-ui-draggable&#8217;, &#8216;jquery-ui-droppable&#8217;, &#8216;jquery-ui-button&#8217;, &#8216;jquery-ui-dialog&#8217;, &#8216;jquery-ui-slider&#8217;) );<\/p>\n<p>\t\/\/main css<\/p>\n<p>\twp_register_style( &#8216;mobile-appy-style&#8217;, plugins_url(&#8216;css\/mobile-appy-style.css&#8217;, __FILE__) );<\/p>\n<p>\twp_enqueue_style( &#8216;mobile-appy-style&#8217;);<\/p>\n<p>\t\/\/jquery ui style<\/p>\n<p>\twp_register_style( &#8216;mobile-appy-ui-style&#8217;, &#8220;http:\/\/code.jquery.com\/ui\/1.10.2\/themes\/smoothness\/jquery-ui.css&#8221; );<\/p>\n<p>\twp_enqueue_style( &#8216;mobile-appy-ui-style&#8217;);<\/p>\n<p>\t\/\/Spectrum Color Picker JS file<\/p>\n<p>\twp_enqueue_script( &#8216;mobile-appy-spectrum&#8217;, plugins_url(&#8216;js\/spectrum.js&#8217;, __FILE__));<\/p>\n<p>\t\/\/Spectrum Color Picker CSS file<\/p>\n<p>\twp_register_style( &#8216;mobile-appy-spectrum-style&#8217;, plugins_url(&#8216;css\/spectrum-style.css&#8217;, __FILE__));<\/p>\n<p>\twp_enqueue_style( &#8216;mobile-appy-spectrum-style&#8217;);<\/p>\n<p>\t\/\/Slim Scroll JS file<\/p>\n<p>\twp_enqueue_script( &#8216;mobile-appy-slim-scroll&#8217;, plugins_url(&#8216;js\/slim-scroll.js&#8217;, __FILE__));<\/p>\n<p>\t\/\/jQuery Easing plugin<\/p>\n<p>\twp_enqueue_script( &#8216;mobile-appy-easing&#8217;, plugins_url(&#8216;js\/easing-plugin.js&#8217;, __FILE__));<\/p>\n<p>\t\/\/style for JQMobi SVG fonts<\/p>\n<p>\twp_register_style( &#8216;appy_svg_icons&#8217;, plugins_url(&#8216;includes\/css\/icons.css&#8217;, __FILE__) );<\/p>\n<p>\twp_enqueue_style( &#8216;appy_svg_icons&#8217;);<\/p>\n<p>\t\/\/new media uploader and custom upload script<\/p>\n<p>\twp_enqueue_media();<\/p>\n<p>\twp_enqueue_script(&#8216;mobile-appy-tap-uploader&#8217;, plugins_url(&#8216;js\/tap-uploader.js&#8217;, __FILE__));<\/p>\n<p>}<\/p>\n<p>add_action( &#8216;admin_enqueue_scripts&#8217;, &#8216;mobile_appy_custom_admin_scripts&#8217; );<\/p>\n<p>\/\/ Add the Meta Box<\/p>\n<p>function mobile_appy_custom_meta_box() {<\/p>\n<p>    add_meta_box(<\/p>\n<p>\t\t&#8216;mobile_appy_meta_box&#8217;, \/\/ $id<\/p>\n<p>\t\t&#8216;Your Mobile Site&#8217;, \/\/ $title <\/p>\n<p>\t\t&#8216;mobile_appy_show_meta_box&#8217;, \/\/ $callback<\/p>\n<p>\t\t&#8216;mobile&#8217;, \/\/ $page<\/p>\n<p>\t\t&#8216;normal&#8217;, \/\/ $context<\/p>\n<p>\t\t&#8216;high&#8217;); \/\/ $priority<\/p>\n<p>}<\/p>\n<p>add_action(&#8216;add_meta_boxes&#8217;, &#8216;mobile_appy_custom_meta_box&#8217;);<\/p>\n<p>function mobile_appy_show_meta_box() {<\/p>\n<p>\tglobal $post;?&gt;<\/p>\n<p>\t&lt;?php wp_nonce_field( basename( __FILE__ ), &#8216;mobile_appy_save_nonce&#8217; ); <\/p>\n<p>\t\/\/get all meta data<\/p>\n<p>\t$appyValues = get_post_custom($post-&gt;ID);<\/p>\n<p>\t\/\/print_r($appyValues);<\/p>\n<p>\t$noPages = array();<\/p>\n<p>\tforeach ($appyValues as $metaValue =&gt; $data) {<\/p>\n<p>\t\tif (strpos($metaValue, &#8216;appy_options_page_title_&#8217;) !== FALSE) {<\/p>\n<p>\t\t\t$metaValue = str_replace(&#8216;appy_options_page_title_&#8217;, &#8221;, $metaValue);<\/p>\n<p>\t\t\t$noPages[] = $metaValue;<\/p>\n<p>\t\t}<\/p>\n<p>\t}<\/p>\n<p>\t?&gt;<\/p>\n<p>&lt;div id=&#8221;holder&#8221; class=&#8221;inside-appy&#8221;&gt;<\/p>\n<p>\t&lt;div id=&#8221;add-a-page-holder&#8221; &gt;<\/p>\n<p>\t\t&lt;div id=&#8221;add-a-page&#8221;&gt;Add Page&lt;\/div&gt;<\/p>\n<p>\t\t\t&lt;div id=&#8221;page-info&#8221;&gt;<\/p>\n<p>\t\t\t\tCurrently on page &lt;span id=&#8221;current-page&#8221;&gt;&lt;?php echo $noPages[0];?&gt;&lt;\/span&gt;&lt;\/p&gt;<\/p>\n<p>\t\t\tJump to page<\/p>\n<p>\t\t\t\t&lt;select id=&#8221;page-selection&#8221;&gt;<\/p>\n<p>\t\t\t\t\t&lt;?php<\/p>\n<p>\t\t\t\t\tforeach ($noPages as $data =&gt; $currPage) {<\/p>\n<p>\t\t\t\t\t\t$isPages++;<\/p>\n<p>\t\t\t\t\t\techo &#8220;&lt;option value='&#8221;.$currPage.&#8221;&#8216;&gt;&#8221;.$currPage.&#8221;&lt;\/option&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\tif ($isPages == 0) {<\/p>\n<p>\t\t\t\t\t\techo &#8220;&lt;option value=&#8217;1&#8242;&gt;1&lt;\/option&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\t?&gt;<\/p>\n<p>\t\t\t\t&lt;\/select&gt;<\/p>\n<p>\t\t\t&lt;\/div&gt;<\/p>\n<p>\t\t\t&lt;div id=&#8221;delete-current-page&#8221;&gt;Delete Page&lt;\/div&gt;<\/p>\n<p>\t\t\t&lt;input type=&#8221;hidden&#8221; id=&#8221;total-page-count&#8221; name=&#8221;appy-options-total-page-count&#8221; value='&lt;?php (isset($appyValues[&#8216;appy_options_total_page_count&#8217;][0]) ? print $appyValues[&#8216;appy_options_total_page_count&#8217;][0] : print &#8220;1&#8221;); ?&gt;&#8217;\/&gt;<\/p>\n<p>\t&lt;\/div&gt;<\/p>\n<p>\t&lt;br style=&#8217;clear:both;&#8217;&gt;<\/p>\n<p>    &lt;div id=&#8221;left-settings-accordion&#8221;&gt;<\/p>\n<p>        \t&lt;h4 id=&#8221;site-settings-header-block&#8221;&gt;Site Settings&lt;\/h4&gt;<\/p>\n<p>        &lt;div&gt;<\/p>\n<p>            &lt;div id=&#8221;site-settings-options-area&#8221;&gt;<\/p>\n<ul>\n<li>\t<a href=\"#menu-tab\">Site Menus<\/a>\n<\/li>\n<li>\t<a href=\"#theme-tab\">Theme<\/a>\n<\/li>\n<\/ul>\n<p>                &lt;div id=&#8221;menu-tab&#8221;&gt;<\/p>\n<p>                    &lt;label for=&#8221;use-header-option-sitewide&#8221;&gt;<\/p>\n<p>                        &lt;label for=&#8221;site-menu-option&#8221;&gt;Use a navigational menu?&lt;\/label&gt;<\/p>\n<\/p>\n<p>                        &lt;select name=&#8221;appy-options-site-menu-option&#8221; id=&#8221;site-menu-option&#8221;&gt;<\/p>\n<p>                            &lt;option value=&#8221;no&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_menu_option&#8217;][0] == &#8216;no&#8217;) {print &#8220;selected&#8221;;}?&gt;&gt;No&lt;\/option&gt;<\/p>\n<p>                            &lt;option value=&#8221;yes&#8221;&lt;?php if (!isset($appyValues[&#8216;appy_options_site_menu_option&#8217;][0])||($appyValues[&#8216;appy_options_site_menu_option&#8217;][0] == &#8216;yes&#8217;)) {print &#8220;selected&#8221;;}?&gt;&gt;Yes&lt;\/option&gt;<\/p>\n<p>                        &lt;\/select&gt;<\/p>\n<\/p>\n<p>                    &lt;\/label&gt;<\/p>\n<p>                    &lt;div id=&#8221;site-menu-icon-option-holder&#8221;&gt;<\/p>\n<p>                        &lt;label for=&#8221;site-menu-icon-option&#8221;&gt;Menu Type&lt;\/label&gt;<\/p>\n<\/p>\n<p>                        &lt;select name=&#8221;appy-options-site-menu-icon-option&#8221; id=&#8221;site-menu-icon-option&#8221;&gt;<\/p>\n<p>                            &lt;option value=&#8221;icons-text&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_menu_icon_option&#8217;][0] == &#8216;icons-text&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Icons and Text&lt;\/option&gt;<\/p>\n<p>                            &lt;option value=&#8221;icons&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_menu_icon_option&#8217;][0] == &#8216;icons&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Just Icons&lt;\/option&gt;<\/p>\n<p>                            &lt;option value=&#8221;text&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_menu_icon_option&#8217;][0] == &#8216;text&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Just Text&lt;\/option&gt;<\/p>\n<p>                        &lt;\/select&gt;<\/p>\n<p>                    &lt;\/div&gt;<\/p>\n<p>                &lt;\/div&gt;<\/p>\n<p>                &lt;div id=&#8221;theme-tab&#8221;&gt;<\/p>\n<p>\t\t\t\t&lt;h4&gt;Heading&lt;\/h4&gt;<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-heading-background-color&#8221;&gt;Heading Background Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-heading-background-color&#8221; id=&#8221;site-option-heading-background-color&#8221; type=&#8217;text&#8217;&gt;<\/p>\n<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-heading-text-color&#8221;&gt;Heading Text Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-heading-text-color&#8221; id=&#8221;site-option-heading-text-color&#8221; type=&#8217;text&#8217;&gt;<\/p>\n<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-heading-size&#8221;&gt;Heading Size&lt;\/label&gt;<\/p>\n<p>                    &lt;select name=&#8221;appy-options-site-option-heading-size&#8221; id=&#8221;site-option-heading-size&#8221;&gt;<\/p>\n<p>                        &lt;option value=&#8221;10px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;10px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;10px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;11px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;11px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;11px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;12px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;12px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;12px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;13px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;13px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;13px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;14px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;14px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;14px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;15px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;15px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;15px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;16px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;16px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;16px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;17px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;17px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;17px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;18px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;18px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;18px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;19px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;19px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;19px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;20px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;20px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;20px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;21px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;21px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;21px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;22px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;22px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;22px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;23px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;23px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;23px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;24px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;24px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;24px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;25px&#8221; &lt;?php if (empty($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0])) {print &#8220;selected&#8221;;} if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;25px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;25px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;26px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;26px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;26px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;27px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;27px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;27px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;28px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;28px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;28px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;29px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;29px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;29px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;30px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;30px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;30px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;31px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;31px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;31px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;32px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;32px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;32px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;33px&#8221;&lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;33px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;33px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;34px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;34px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;34px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;35px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;35px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;35px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;36px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_size&#8217;][0] == &#8217;36px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;36px&lt;\/option&gt;<\/p>\n<p>                    &lt;\/select&gt;<\/p>\n<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-heading-font&#8221;&gt;Heading Font&lt;\/label&gt;<\/p>\n<p>                    &lt;select name=&#8221;appy-options-site-option-heading-font&#8221; id=&#8221;site-option-heading-font&#8221;&gt;<\/p>\n<p>                        &lt;option value=&#8221;Arial, Helvetica, sans-serif&#8221; &lt;?php if (empty($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0])) {print &#8220;selected&#8221;;} if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Arial Black, Gadget, Arial, Helvetica, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Arial Black, Gadget, Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Arial Black, Gadget, Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Impact, Charcoal, Arial, Helvetica, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Impact, Charcoal, Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Impact, Charcoal, Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Lucida Sans Unicode, Lucida Grande, Arial, Helvetica, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Lucida Sans Unicode, Lucida Grande, Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Lucida Sans Unicode, Lucida Grande, Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Tahoma, Geneva, Arial, Helvetica, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Tahoma, Geneva, Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Tahoma, Geneva, Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Trebuchet MS, Trebuchet, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Trebuchet MS, Trebuchet, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Trebuchet MS, Trebuchet, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Verdana, Geneva, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Verdana, Geneva, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Verdana, Geneva, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Georgia, Times New Roman, Times, serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Georgia, Times New Roman, Times, serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Georgia, Times New Roman, Times, serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Palatino Linotype, Book Antiqua, Palatino, serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Palatino Linotype, Book Antiqua, Palatino, serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Palatino Linotype, Book Antiqua, Palatino, serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Times New Roman, Times, serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Times New Roman, Times, serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Times New Roman, Times, serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Courier New, Courier, monospace&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Courier New, Courier, monospace&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Courier New, Courier, monospace&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Lucida Console, Monaco, monospace&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_heading_font&#8217;][0] == &#8216;Lucida Console, Monaco, monospace&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Lucida Console, Monaco, monospace&lt;\/option&gt;<\/p>\n<p>                    &lt;\/select&gt;<\/p>\n<\/p>\n<p>\t\t\t\t\t&lt;h4&gt;Page&lt;\/h4&gt;<\/p>\n<p>                    &lt;label for=&#8221;site-option-background-color&#8221;&gt;Page Background Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-background-color&#8221; id=&#8221;site-option-background-color&#8221; type=&#8217;text&#8217;&gt;<\/p>\n<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-body-font&#8221;&gt;Body Font&lt;\/label&gt;<\/p>\n<p>                    &lt;select name=&#8221;appy-options-site-option-body-font&#8221; id=&#8221;site-option-body-font&#8221;&gt;<\/p>\n<p>                        &lt;option value=&#8221;Arial, Helvetica, sans-serif&#8221; &lt;?php if (empty($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0])) {print &#8220;selected&#8221;;} if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Arial Black, Gadget, Arial, Helvetica, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Arial Black, Gadget, Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Arial Black, Gadget, Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Impact, Charcoal, Arial, Helvetica, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Impact, Charcoal, Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Impact, Charcoal, Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Lucida Sans Unicode, Lucida Grande, Arial, Helvetica, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Lucida Sans Unicode, Lucida Grande, Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Lucida Sans Unicode, Lucida Grande, Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Tahoma, Geneva, Arial, Helvetica, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Tahoma, Geneva, Arial, Helvetica, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Tahoma, Geneva, Arial, Helvetica, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Trebuchet MS, Trebuchet, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Trebuchet MS, Trebuchet, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Trebuchet MS, Trebuchet, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Verdana, Geneva, sans-serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Verdana, Geneva, sans-serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Verdana, Geneva, sans-serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Georgia, Times New Roman, Times, serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Georgia, Times New Roman, Times, serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Georgia, Times New Roman, Times, serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Palatino Linotype, Book Antiqua, Palatino, serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Palatino Linotype, Book Antiqua, Palatino, serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Palatino Linotype, Book Antiqua, Palatino, serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Times New Roman, Times, serif&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Times New Roman, Times, serif&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Times New Roman, Times, serif&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Courier New, Courier, monospace&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Courier New, Courier, monospace&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Courier New, Courier, monospace&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;Lucida Console, Monaco, monospace&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_body_font&#8217;][0] == &#8216;Lucida Console, Monaco, monospace&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Lucida Console, Monaco, monospace&lt;\/option&gt;<\/p>\n<p>                    &lt;\/select&gt;<\/p>\n<p>\t\t\t\t\t&lt;h4&gt;Bottom Menu&lt;\/h4&gt;<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-bottom-menu-background-color&#8221;&gt;Bottom Menu Background Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-bottom-menu-background-color&#8221; id=&#8221;site-option-bottom-menu-background-color&#8221; type=&#8217;text&#8217;&gt;<\/p>\n<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-bottom-menu-text-color&#8221;&gt;Bottom Menu Text Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-bottom-menu-text-color&#8221; id=&#8221;site-option-bottom-menu-text-color&#8221; type=&#8217;text&#8217;&gt;<\/p>\n<\/p>\n<p>\t\t\t\t\t&lt;h4&gt;Lists&lt;\/h4&gt;<\/p>\n<p>                    &lt;label for=&#8221;site-option-list-background-color&#8221;&gt;List Background Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-list-background-color&#8221; id=&#8221;site-option-list-background-color&#8221; type=&#8217;text&#8217;&gt;<\/p>\n<\/p>\n<p>                    &lt;label for=&#8221;site-option-list-item-color&#8221;&gt;List Item Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-list-item-color&#8221; id=&#8221;site-option-list-item-color&#8221; type=&#8217;text&#8217;&gt;<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-list-item-size&#8221;&gt;List Item Size&lt;\/label&gt;<\/p>\n<p>                    &lt;select name=&#8221;appy-options-site-option-list-item-size&#8221; id=&#8221;site-option-list-item-size&#8221;&gt;<\/p>\n<p>                        &lt;option value=&#8221;10px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;10px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;10px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;11px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;11px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;11px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;12px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;12px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;12px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;13px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;13px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;13px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;14px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;14px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;14px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;15px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;15px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;15px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;16px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;16px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;16px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;17px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;17px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;17px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;18px&#8221; &lt;?php if (empty($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0])) {print &#8220;selected&#8221;;} if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;18px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;18px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;19px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;19px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;19px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;20px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;20px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;20px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;21px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;21px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;21px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;22px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;22px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;22px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;23px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;23px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;23px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;24px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;24px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;24px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;25px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;25px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;25px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;26px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;26px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;26px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;27px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;27px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;27px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;28px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;28px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;28px&lt;\/option&gt;<\/p>\n<p>                        &lt;option value=&#8221;29px&#8221; &lt;?php if ($appyValues[&#8216;appy_options_site_option_list_item_size&#8217;][0] == &#8217;29px&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;29px&lt;\/option&gt;<\/p>\n<p>                    &lt;\/select&gt;<\/p>\n<\/p>\n<p>\t\t\t\t\t&lt;h4&gt;Buttons&lt;\/h4&gt;<\/p>\n<p>                    &lt;label for=&#8221;site-option-button-color&#8221;&gt;Button Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-button-color&#8221; id=&#8221;site-option-button-color&#8221; type=&#8217;text&#8217;&gt;<\/p>\n<p>\t\t\t\t\t&lt;label for=&#8221;site-option-button-text-color&#8221;&gt;Button Text Color&lt;\/label&gt;<\/p>\n<p>                    &lt;input class=&#8221;pick-a-color&#8221; name=&#8221;appy-options-site-option-button-text-color&#8221; id=&#8221;site-option-button-text-color&#8221; type=&#8221;text&#8221;&gt;<\/p>\n<p>\t\t\t\t\t&lt;script&gt;<\/p>\n<p>\t\t\t\t\t\tjQuery(document).ready(function() {<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-background-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_background_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_background_color&#8217;][0] : print &#8216;#FFFFFF&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-body-text-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_body_text_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_body_text_color&#8217;][0] : print &#8216;#555555&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-heading-text-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_heading_text_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_heading_text_color&#8217;][0] : print &#8216;#FFFFFF&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-heading-background-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_heading_background_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_heading_background_color&#8217;][0] : print &#8216;#0088D1&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-bottom-menu-background-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_bottom_menu_background_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_bottom_menu_background_color&#8217;][0] : print &#8216;#0088D1&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-bottom-menu-text-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_bottom_menu_text_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_bottom_menu_text_color&#8217;][0] : print &#8216;#FFFFFF&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-side-menu-background-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_side_menu_background_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_side_menu_background_color&#8217;][0] : print &#8216;#00AEEF&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-side-menu-text-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_side_menu_text_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_side_menu_text_color&#8217;][0] : print &#8216;#FFFFFF&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-list-background-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_list_background_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_list_background_color&#8217;][0] : print &#8216;#FFFFFF&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-list-item-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_list_item_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_list_item_color&#8217;][0] : print &#8216;#555555&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-button-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_button_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_button_color&#8217;][0] : print &#8216;#D6E0DB&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t\tjQuery(&#8220;#site-option-button-text-color&#8221;).spectrum(&#8220;set&#8221;, &#8220;&lt;?php (isset($appyValues[&#8216;appy_options_site_option_button_text_color&#8217;][0]) ? print $appyValues[&#8216;appy_options_site_option_button_text_color&#8217;][0] : print &#8216;#000000&#8217;);?&gt;&#8221;);<\/p>\n<p>\t\t\t\t\t\t});<\/p>\n<p>\t\t\t\t\t&lt;\/script&gt;<\/p>\n<p>                &lt;\/div&gt;<\/p>\n<p>            &lt;\/div&gt;<\/p>\n<p>        &lt;\/div&gt;<\/p>\n<p>        \t&lt;h4&gt;Page Settings&lt;\/h4&gt;<\/p>\n<p>        &lt;div&gt;<\/p>\n<p>            &lt;div id=&#8221;page-settings-area-holder&#8221;&gt;<\/p>\n<p>\t\t&lt;?php<\/p>\n<p>\t\t$thisPage = 0;<\/p>\n<p>\t\tforeach ($appyValues as $metaTitle =&gt; $textCount) {<\/p>\n<p>\t\t\tif (strpos($metaTitle,&#8217;appy_options_&#8217;) !== FALSE) { \/\/check if this is an appy option<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;appy_options_page_title_&#8217;) !== FALSE) { \/\/narrow down to only text content areas<\/p>\n<p>\t\t\t\t\t$onePage = 1;<\/p>\n<p>\t\t\t\t\t$thisPage++;<\/p>\n<p>\t\t\t\t$currPage = str_replace(&#8216;appy_options_page_title_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t$currTitle = &#8220;appy_options_page_title_&#8221;.$currPage;<\/p>\n<p>\t\t\t\t$currIcon = &#8220;appy_options_page_option_menu_icon_&#8221;.$currPage;<\/p>\n<p>\t\t\t\t$currInclude = &#8220;appy_options_page_option_include_in_menu_&#8221;.$currPage;<\/p>\n<p>\t\t?&gt;<\/p>\n<p>\t\t&lt;div &lt;?php if ($thisPage !== 1) echo &#8220;style=&#8217;display:none;'&#8221;;?&gt; id=&#8217;page-&lt;?php echo $currPage; ?&gt;-settings-container&#8217; class=&#8217;page-settings-container&#8217;&gt;<\/p>\n<p>\t\t\t&lt;label for=&#8217;page-title-&lt;?php echo $currPage; ?&gt;&#8217;&gt;Page Title&lt;\/label&gt;<\/p>\n<p>\t\t\t&lt;input name=&#8217;appy-options-page-title-&lt;?php echo $currPage; ?&gt;&#8217; id=&#8217;page-title-&lt;?php echo $currPage; ?&gt;&#8217; value='&lt;?php echo $appyValues[$currTitle][0]; ?&gt;&#8217; class=&#8217;page-title-option&#8217; type=&#8217;text&#8217; \/&gt;<\/p>\n<p>\t\t\t&lt;label for=&#8217;page-option-include-in-menu-&lt;?php echo $currPage; ?&gt;&#8217;&gt;Include page in menus?&lt;\/label&gt;<\/p>\n<p>\t\t\t&lt;select name=&#8217;appy-options-page-option-include-in-menu-&lt;?php echo $currPage; ?&gt;&#8217; class=&#8217;page-in-menu-option&#8217; id=&#8217;page-option-include-in-menu-&lt;?php echo $currPage; ?&gt;&#8217;&gt;<\/p>\n<p>\t\t\t\t&lt;option value=&#8217;yes&#8217; &lt;?php if ($appyValues[$currInclude][0] == &#8216;yes&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Yes&lt;\/option&gt;<\/p>\n<p>\t\t\t\t&lt;option value=&#8217;no&#8217; &lt;?php if ($appyValues[$currInclude][0] == &#8216;no&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;No&lt;\/option&gt;<\/p>\n<p>\t\t\t&lt;\/select&gt;<\/p>\n<p>\t\t\t&lt;label for=&#8217;page-option-menu-icon-&lt;?php echo $currPage; ?&gt;&#8217;&gt;Menu Icon&lt;\/label&gt;<\/p>\n<p>\t\t\t&lt;select name=&#8217;appy-options-page-option-menu-icon-&lt;?php echo $currPage; ?&gt;&#8217; class=&#8217;icon-in-menu-option&#8217; id=&#8217;page-option-menu-icon-&lt;?php echo $currPage; ?&gt;&#8217;&gt;<\/p>\n<p>\t\t\t&lt;?php<\/p>\n<p>\t\t\t$iconOptions = array(&#8216;home&#8217;,&#8217;pencil&#8217;,&#8217;picture&#8217;,&#8217;camera&#8217;,&#8217;headset&#8217;,&#8217;paper&#8217;,&#8217;stack&#8217;,&#8217;folder&#8217;,&#8217;tag&#8217;,&#8217;basket&#8217;,&#8217;phone&#8217;,&#8217;mail&#8217;,&#8217;location&#8217;,&#8217;clock&#8217;,&#8217;calendar&#8217;,&#8217;message&#8217;,&#8217;chat&#8217;,&#8217;user&#8217;,&#8217;loading&#8217;,&#8217;refresh&#8217;,&#8217;magnifier&#8217;,&#8217;key&#8217;,&#8217;settings&#8217;,&#8217;graph&#8217;,&#8217;trash&#8217;,&#8217;pin&#8217;,&#8217;target&#8217;,&#8217;download&#8217;,&#8217;upload&#8217;,&#8217;star&#8217;,&#8217;heart&#8217;,&#8217;warning&#8217;,&#8217;add&#8217;,&#8217;remove&#8217;,&#8217;question&#8217;,&#8217;info&#8217;,&#8217;error&#8217;,&#8217;check&#8217;,&#8217;minimize&#8217;,&#8217;close&#8217;,&#8217;up&#8217;,&#8217;down&#8217;,&#8217;left&#8217;,&#8217;right&#8217;,&#8217;tools&#8217;,&#8217;html5&#8242;,&#8217;css&#8217;,&#8217;js&#8217;,&#8217;cloud&#8217;,&#8217;tv&#8217;,&#8217;wifi&#8217;,&#8217;new&#8217;,&#8217;mic&#8217;,&#8217;database&#8217;,&#8217;busy&#8217;,&#8217;bug&#8217;,&#8217;lamp&#8217;);<\/p>\n<p>\t\t\tforeach ($iconOptions as $key =&gt; $icon) {<\/p>\n<p>\t\t\t?&gt;<\/p>\n<p>\t\t\t\t&lt;option value='&lt;?php echo $icon;?&gt;&#8217; &lt;?php if ($appyValues[$currIcon][0] == $icon){print &#8220;selected&#8221;;}?&gt;&gt;&lt;?php echo $icon;?&gt;&lt;\/option&gt;<\/p>\n<p>\t\t\t&lt;?php <\/p>\n<p>\t\t\t}<\/p>\n<p>\t\t\t?&gt;<\/p>\n<p>\t\t\t&lt;\/select&gt;<\/p>\n<p>\t\t\t&lt;div id=&#8221;icon-preview-&lt;?php echo $currPage; ?&gt;&#8221; class=&#8221;page-icon-preview icon big &lt;?php echo $appyValues[$currIcon][0]; ?&gt;&#8221;&gt;&lt;\/div&gt;<\/p>\n<p>\t\t&lt;\/div&gt;<\/p>\n<p>\t\t&lt;?php<\/p>\n<p>\t\t\t}<\/p>\n<p>\t\t}<\/p>\n<p>\t}<\/p>\n<p>\tif ($onePage !== 1) {<\/p>\n<p>\t\t?&gt;<\/p>\n<p>\t\t&lt;div id=&#8217;page-1-settings-container&#8217; class=&#8217;page-settings-container&#8217;&gt;<\/p>\n<p>\t\t\t&lt;label for=&#8217;page-title-1&#8242;&gt;Page Title&lt;\/label&gt;<\/p>\n<p>\t\t\t&lt;input name=&#8217;appy-options-page-title-1&#8242; id=&#8217;page-title-1&#8242; value='&lt;?php if (isset($appyValues[&#8216;appy_options_page_title_1&#8217;][0])) {print $appyValues[&#8216;appy_options_page_title_1&#8242;][0];} else {print &#8220;Page 1&#8221;;}?&gt;&#8217; class=&#8217;page-title-option&#8217; type=&#8217;text&#8217; \/&gt;<\/p>\n<p>\t\t\t&lt;label for=&#8217;page-option-include-in-menu-1&#8242;&gt;Include page in menus?&lt;\/label&gt;<\/p>\n<p>\t\t\t&lt;select name=&#8217;appy-options-page-option-include-in-menu-1&#8242; class=&#8217;page-in-menu-option&#8217; id=&#8217;page-option-include-in-menu-1&#8242;&gt;<\/p>\n<p>\t\t\t\t&lt;option value=&#8217;yes&#8217; &lt;?php if ($appyValues[&#8216;appy_options_page_options_inclue_in_menu_1&#8217;][0] == &#8216;yes&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Yes&lt;\/option&gt;<\/p>\n<p>\t\t\t\t&lt;option value=&#8217;no&#8217; &lt;?php if ($appyValues[&#8216;appy_options_page_options_inclue_in_menu_1&#8217;][0] == &#8216;no&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;No&lt;\/option&gt;<\/p>\n<p>\t\t\t&lt;\/select&gt;<\/p>\n<p>\t\t\t&lt;label for=&#8217;page-option-menu-icon-1&#8242;&gt;Menu Icon&lt;\/label&gt;<\/p>\n<p>\t\t\t&lt;select name=&#8217;appy-options-page-option-menu-icon-1&#8242; class=&#8217;icon-in-menu-option&#8217; id=&#8217;page-option-menu-icon-1&#8242;&gt;<\/p>\n<p>\t\t\t&lt;?php<\/p>\n<p>\t\t\t$iconOptions = array(&#8216;home&#8217;,&#8217;pencil&#8217;,&#8217;picture&#8217;,&#8217;camera&#8217;,&#8217;headset&#8217;,&#8217;paper&#8217;,&#8217;stack&#8217;,&#8217;folder&#8217;,&#8217;tag&#8217;,&#8217;basket&#8217;,&#8217;phone&#8217;,&#8217;mail&#8217;,&#8217;location&#8217;,&#8217;clock&#8217;,&#8217;calendar&#8217;,&#8217;message&#8217;,&#8217;chat&#8217;,&#8217;user&#8217;,&#8217;loading&#8217;,&#8217;refresh&#8217;,&#8217;magnifier&#8217;,&#8217;key&#8217;,&#8217;settings&#8217;,&#8217;graph&#8217;,&#8217;trash&#8217;,&#8217;pin&#8217;,&#8217;target&#8217;,&#8217;download&#8217;,&#8217;upload&#8217;,&#8217;star&#8217;,&#8217;heart&#8217;,&#8217;warning&#8217;,&#8217;add&#8217;,&#8217;remove&#8217;,&#8217;question&#8217;,&#8217;info&#8217;,&#8217;error&#8217;,&#8217;check&#8217;,&#8217;minimize&#8217;,&#8217;close&#8217;,&#8217;up&#8217;,&#8217;down&#8217;,&#8217;left&#8217;,&#8217;right&#8217;,&#8217;tools&#8217;,&#8217;html5&#8242;,&#8217;css&#8217;,&#8217;js&#8217;,&#8217;cloud&#8217;,&#8217;tv&#8217;,&#8217;wifi&#8217;,&#8217;new&#8217;,&#8217;mic&#8217;,&#8217;database&#8217;,&#8217;busy&#8217;,&#8217;bug&#8217;,&#8217;lamp&#8217;);<\/p>\n<p>\t\t\tforeach ($iconOptions as $key =&gt; $icon) {<\/p>\n<p>\t\t\t echo &#8220;<\/p>\n<p>\t\t\t\t&lt;option value='&#8221;.$icon.&#8221;&#8216;&#8221;;<\/p>\n<p>\t\t\t\tif ($appyValues[&#8216;appy_options_page_option_menu_icon_1&#8217;][0] === $icon) {<\/p>\n<p>\t\t\t\t\tprint &#8220;selected=&#8217;selected'&#8221;;<\/p>\n<p>\t\t\t\t} else if ($icon == &#8220;home&#8221;) {<\/p>\n<p>\t\t\t\tprint &#8220;selected=&#8217;selected'&#8221;;<\/p>\n<p>\t\t\t\t} <\/p>\n<p>\t\t\t\techo &#8220;&gt;&#8221;.$icon.&#8221;&lt;\/option&gt;&#8221;;<\/p>\n<p>\t\t\t}<\/p>\n<p>\t\t\t?&gt;<\/p>\n<p>\t\t\t&lt;\/select&gt;<\/p>\n<p>\t\t\t&lt;div id=&#8221;icon-preview-1&#8243; class=&#8221;page-icon-preview icon big home&#8221;&gt;&lt;\/div&gt;<\/p>\n<p>\t\t&lt;\/div&gt;<\/p>\n<p>\t\t&lt;?php<\/p>\n<p>\t};<\/p>\n<p>\t?&gt;<\/p>\n<p>            &lt;\/div&gt;<\/p>\n<p>        &lt;\/div&gt;<\/p>\n<p>        \t&lt;h4&gt;Features&lt;\/h4&gt;<\/p>\n<p>        &lt;div&gt;<\/p>\n<p>            &lt;div id=&#8221;feature-list&#8221;&gt;<\/p>\n<p>                &lt;ul id=&#8221;feature-listing&#8221;&gt;<\/p>\n<p>            &lt;\/div&gt;<\/p>\n<p>        &lt;\/div&gt;<\/p>\n<p>    &lt;\/div&gt;<\/p>\n<p>    &lt;div id=&#8221;phone-space&#8221;&gt;<\/p>\n<p>        &lt;div id=&#8221;header-holder&#8221;&gt;&lt;\/div&gt;<\/p>\n<p>        &lt;div id=&#8221;side-menu-activate-holder&#8221;&gt;Menu&lt;\/div&gt;<\/p>\n<p>        &lt;div id=&#8221;side-menu-holder&#8221;&gt;<\/p>\n<p>            &lt;div id=&#8221;side-menu-actual&#8221;&gt;<\/p>\n<p>                &lt;div id=&#8221;side-menu-inner&#8221;&gt;<\/p>\n<p>                    &lt;div id=&#8221;close-side-menu&#8221;&gt;X&lt;\/div&gt;<\/p>\n<ul>\n<p>                        &lt;li class=&#8217;side-menu-item icon home&#8217; id=&#8217;page-1-side-menu&#8217;&gt;<a>Page 1<\/a><\/p>\n<\/ul>\n<p>                &lt;\/div&gt;<\/p>\n<p>            &lt;\/div&gt;<\/p>\n<p>        &lt;\/div&gt;<\/p>\n<p>        &lt;div id=&#8221;smart-screen&#8221; style=&#8221;background-color: &lt;?php print $appyValues[&#8216;appy_options_site_option_background_color&#8217;][0]?&gt;&#8221;&gt;<\/p>\n<p>            &lt;div id=&#8221;smart-screen-visible&#8221;&gt;<\/p>\n<p>\t\t\t\t\t&lt;?php<\/p>\n<p>\t\t\t\t\tif ($appyValues[&#8216;appy_options_total_page_count&#8217;][0] == 0) {<\/p>\n<p>\t\t\t\t\t\t$appyValues[&#8216;appy_options_total_page_count&#8217;][0] = 1;<\/p>\n<p>\t\t\t\t\t}<\/p>\n<p>$noPages = array_fill(1, $appyValues[&#8216;appy_options_total_page_count&#8217;][0], &#8221;);<\/p>\n<p>foreach ($noPages as $currPage =&gt; $data) {<\/p>\n<p>\t\/\/create some variables for infor to be called<\/p>\n<p>\t$currContentOrder = &#8220;appy_options_screen_page_&#8221;.$currPage.&#8221;_order&#8221;;<\/p>\n<p>\t$currContentOrder = $appyValues[$currContentOrder][0];<\/p>\n<p>\t$currContentOrder = explode(&#8216;,&#8217;, $currContentOrder);<\/p>\n<p>\t$currHeader = &#8220;appy_options_header_content_page_&#8221;.$currPage;<\/p>\n<p>\t$hiddenCheck = &#8220;appy_options_screen_page_&#8221;.$currPage.&#8221;_order_hidden&#8221;;<\/p>\n<p>\t\tif (isset($appyValues[$hiddenCheck][0])) {<\/p>\n<p>\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t&lt;div class=&#8217;screen-page hidden-page&#8217; style=&#8217;height:0px;&#8217; id=&#8217;screen-page-&#8220;.$currPage.&#8221;&#8216; &gt;<\/p>\n<p>                    &lt;ul class=&#8217;screen-list&#8217;&gt;&#8221;;<\/p>\n<p>\t\t} else {<\/p>\n<p>\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t&lt;div class=&#8217;screen-page&#8217; id=&#8217;screen-page-&#8220;.$currPage.&#8221;&#8216; &gt;<\/p>\n<p>                    &lt;ul class=&#8217;screen-list&#8217;&gt;&#8221;;<\/p>\n<p>\t\t}<\/p>\n<p>\tforeach ($currContentOrder as $order =&gt; $metaTitle) {<\/p>\n<p>\t\t\t$metaTitle = str_replace(&#8216;-&#8216;,&#8217;_&#8217;, $metaTitle);<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;screen_header&#8217;) !== FALSE) { \/\/narrow down to only text content areas<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\t$headerCount = str_replace(&#8220;screen_header_&#8221;, &#8220;&#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currBack = &#8220;appy_options_site_option_heading_background_color&#8221;;<\/p>\n<p>\t\t\t\t\t$currColor = &#8220;appy_options_site_option_heading_text_color&#8221;;<\/p>\n<p>\t\t\t\t\t$currSize = &#8220;appy_options_site_option_heading_size&#8221;;<\/p>\n<p>\t\t\t\t\t$currFont = &#8220;appy_options_site_option_heading_font&#8221;;<\/p>\n<p>\t\t\t\t\t$currContent = &#8220;appy_options_header_content_&#8221; . $headerCount;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$headerCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $headerCount);<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;li id=&#8217;screen-header-&#8220;.$headerCount.&#8221;&#8216; class=&#8217;option-Header ui-draggable screen-header on-screen-feature&#8217; style=&#8217;display: list-item; background-color:&#8221;.$appyValues[$currBack][0].&#8221;;&#8217;&gt;&lt;h1 style=&#8217;color:&#8221;.$appyValues[$currColor][0].&#8221;;font-size:&#8221;.$appyValues[$currSize][0].&#8221;;font-family:&#8221;.$appyValues[$currFont][0].&#8221;;&#8217;&gt;&#8221;.$appyValues[$currContent][0].&#8221;&lt;\/h1&gt;&#8221;;<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;screen_text&#8217;) !== FALSE) { \/\/narrow down to only text content areas<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\t$textCount = str_replace(&#8216;screen_text_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currContent = &#8220;appy_options_text_content_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currSize = &#8220;appy_options_text_size_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currColor = &#8220;appy_options_text_color_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currAlign = &#8220;appy_options_text_alignment_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currStyle = &#8220;appy_options_text_style_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currLine = &#8220;appy_options_text_line_height_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$textCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $textCount);<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;li id=&#8217;screen-text-&#8220;.$textCount.&#8221;&#8216; class=&#8217;option-Text ui-draggable screen-text on-screen-feature&#8217; style=&#8217;display: list-item;color:&#8221;.$appyValues[$currColor][0].&#8221;;text-align:&#8221;.$appyValues[$currAlign][0].&#8221;;&#8221;;<\/p>\n<p>\t\t\t\t\tif ($appyValues[$currStyle][0] == &#8216;bold&#8217;) { echo &#8220;font-weight:700;&#8221;;}<\/p>\n<p>\t\t\t\t\tif ($appyValues[$currStyle][0] == &#8216;italic&#8217;) { echo &#8220;font-style:italic;&#8221;;}<\/p>\n<p>\t\t\t\t\tif ($appyValues[$currStyle][0] == &#8216;bold-italic&#8217;) { echo &#8220;font-style:italic;font-weight:bold;&#8221;;}<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&#8216;&gt;&lt;div class=&#8217;outside-screen-text&#8217;&gt;&lt;div class=&#8217;inside-screen-text&#8217; style=&#8217;font-size:&#8221;.$appyValues[$currSize][0].&#8221;px;line-height:&#8221;.$appyValues[$currLine][0].&#8221;&#8216;&gt;<\/p>\n<p>\t\t\t\t\t\t&#8220;.nl2br($appyValues[$currContent][0]).&#8221;<\/p>\n<p>\t\t\t\t\t&lt;\/div&gt;&lt;\/div&gt;<\/p>\n<p>\t\t\t\t\t&#8220;;<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;screen_image&#8217;) !== FALSE) { \/\/narrow down to only image<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\t$imageCount = str_replace(&#8216;screen_image_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currWidth = &#8220;appy_options_image_width_&#8221; . $imageCount;<\/p>\n<p>\t\t\t\t\t$currPaddingTop = &#8220;appy_options_image_padding_top_&#8221; . $imageCount;<\/p>\n<p>\t\t\t\t\t$currPaddingBottom = &#8220;appy_options_image_padding_bottom_&#8221; . $imageCount;<\/p>\n<p>\t\t\t\t\t$currBorder = &#8220;appy_options_image_border_radius_&#8221; . $imageCount;<\/p>\n<p>\t\t\t\t\t$currShadow = &#8220;appy_options_image_shadow_&#8221; . $imageCount;<\/p>\n<p>\t\t\t\t\t$currImage = &#8220;appy_options_image_src_&#8221; . $imageCount;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$imageCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $imageCount);<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;li id=&#8217;screen-image-&#8220;.$imageCount.&#8221;&#8216; class=&#8217;option-Image ui-draggable screen-image on-screen-feature&#8217; style=&#8217;display: list-item;padding-top:&#8221;.$appyValues[$currPaddingTop][0].&#8221;px;padding-bottom:&#8221;.$appyValues[$currPaddingBottom][0].&#8221;px;&#8217;&gt;&lt;img style=&#8217;width:&#8221;.$appyValues[$currWidth][0].&#8221;%;border-radius:&#8221;.$appyValues[$currBorder][0].&#8221;px;&#8221;;<\/p>\n<p>\t\t\t\t\t\tif ($appyValues[$currShadow][0] == &#8216;yes&#8217;) {<\/p>\n<p>\t\t\t\t\t\t\tprint &#8220;box-shadow: 0px 2px 4px rgba(81,81,81,.7);&#8221;;<\/p>\n<p>\t\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\techo &#8220;&#8216;class=&#8217;on-screen-image&#8217; src='&#8221;.$appyValues[$currImage][0].&#8221;&#8216;&gt;&lt;\/img&gt;&#8221;;<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;screen_divider&#8217;) !== FALSE) { \/\/narrow down to only text content areas<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\t$dividerCount = str_replace(&#8216;screen_divider_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currPaddingTop = &#8220;appy_options_divider_padding_top_&#8221; . $dividerCount;<\/p>\n<p>\t\t\t\t\t$currPaddingBottom = &#8220;appy_options_divider_padding_bottom_&#8221; . $dividerCount;<\/p>\n<p>\t\t\t\t\t$currHeight = &#8220;appy_options_divider_height_&#8221; . $dividerCount;<\/p>\n<p>\t\t\t\t\t$currWidth = &#8220;appy_options_divider_width_&#8221; . $dividerCount;<\/p>\n<p>\t\t\t\t\t$currCorner = &#8220;appy_options_divider_border_radius_&#8221; . $dividerCount;<\/p>\n<p>\t\t\t\t\t$currColor = &#8220;appy_options_divider_color_&#8221; . $dividerCount;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$dividerCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $dividerCount);<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;li id=&#8217;screen-divider-&#8220;.$dividerCount.&#8221;&#8216; class=&#8217;screen-divider on-screen-feature&#8217; style=&#8217;display: list-item;padding-top:&#8221;.$appyValues[$currPaddingTop][0].&#8221;px;padding-bottom:&#8221;.$appyValues[$currPaddingBottom][0].&#8221;px;&#8217;&gt;<\/p>\n<p>\t\t\t\t\t\t&lt;div class=&#8217;screen-divider-feature&#8217; style=&#8217;height:&#8221;.$appyValues[$currHeight][0].&#8221;px;width:&#8221;.$appyValues[$currWidth][0].&#8221;%;border-radius:&#8221;.$appyValues[$currCorner][0].&#8221;px;color:&#8221;.$appyValues[$currColor][0].&#8221;&#8216;&gt;&lt;\/div&gt;<\/p>\n<p>\t\t\t\t\t&#8220;;<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;screen_button&#8217;) !== FALSE) { \/\/narrow down to only text content areas<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\t$buttonCount = str_replace(&#8216;screen_button_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currText = &#8220;appy_options_button_text_&#8221; . $buttonCount;<\/p>\n<p>\t\t\t\t\t$currFontSize = &#8220;appy_options_button_font_size_&#8221; . $buttonCount;<\/p>\n<p>\t\t\t\t\t$currBorder = &#8220;appy_options_button_border_radius_&#8221; . $buttonCount;<\/p>\n<p>\t\t\t\t\t$currHeight = &#8220;appy_options_button_height_&#8221; . $buttonCount;<\/p>\n<p>\t\t\t\t\t$currWidth = &#8220;appy_options_button_width_&#8221; . $buttonCount;<\/p>\n<p>\t\t\t\t\t$thisBack = &#8220;appy_options_site_option_button_color&#8221;;<\/p>\n<p>\t\t\t\t\t$thisTColor = &#8220;appy_options_site_option_button_text_color&#8221;;<\/p>\n<p>\t\t\t\t\t$currIlink = &#8220;appy_options_button_options_internal_link_hidden_&#8221; . $buttonCount;<\/p>\n<p>\t\t\t\t\t$currElink = &#8220;appy_options_button_options_external_link&#8221; . $buttonCount;<\/p>\n<p>\t\t\t\t\t$currLinkType = &#8220;appy_options_button_options_link_type&#8221; . $buttonCount;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$buttonCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $buttonCount);<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;li id=&#8217;screen-button-&#8220;.$buttonCount.&#8221;&#8216; class=&#8217;screen-button on-screen-feature&#8217; style=&#8217;display: list-item;&#8217;&gt;&lt;div class=&#8217;screen-button-feature&#8217; style=&#8217;background-color:&#8221;.$appyValues[$thisBack][0].&#8221;;color:&#8221;.$appyValues[$thisTColor][0].&#8221;;width:&#8221;.$appyValues[$currWidth][0].&#8221;%;height: &#8220;.$appyValues[$currHeight][0].&#8221;px; font-size: &#8220;.$appyValues[$currFontSize][0].&#8221;px; border-radius: &#8220;.$appyValues[$currBorder][0].&#8221;px;line-height:&#8221;.$appyValues[$currHeight][0].&#8221;px;&#8217;&gt;&#8221;.nl2br($appyValues[$currText][0]).&#8221;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;screen_tap_call&#8217;) !== FALSE) { \/\/narrow down to only text content areas<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\t$tapCallCount = str_replace(&#8216;screen_tap_call_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currText = &#8220;appy_options_tap_call_text_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$currFontSize = &#8220;appy_options_tap_call_font_size_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$currBorder = &#8220;appy_options_tap_call_border_radius_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$currHeight = &#8220;appy_options_tap_call_height_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$thisBack = &#8220;appy_options_site_option_button_color&#8221;;<\/p>\n<p>\t\t\t\t\t$thisTColor = &#8220;appy_options_site_option_button_text_color&#8221;;<\/p>\n<p>\t\t\t\t\t$currWidth = &#8220;appy_options_tap_call_width_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$currNumber = &#8220;appy_options_tap_call_number_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$tapCallCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $tapCallCount);<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;li id=&#8217;screen-tap-call-&#8220;.$tapCallCount.&#8221;&#8216; class=&#8217;screen-tap-call on-screen-feature&#8217; style=&#8217;display: list-item;&#8217;&gt;&lt;div class=&#8217;screen-tap-call-feature&#8217; style=&#8217;background-color:&#8221;.$appyValues[$thisBack][0].&#8221;;color:&#8221;.$appyValues[$thisTColor][0].&#8221;;width:&#8221;.$appyValues[$currWidth][0].&#8221;%;height: &#8220;.$appyValues[$currHeight][0].&#8221;px; font-size: &#8220;.$appyValues[$currFontSize][0].&#8221;px; border-radius: &#8220;.$appyValues[$currBorder][0].&#8221;px;line-height:&#8221;.$appyValues[$currHeight][0].&#8221;px;&#8217;&gt;&#8221;.nl2br($appyValues[$currText][0]).&#8221;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;screen_tap_email&#8217;) !== FALSE) { \/\/narrow down to only text content areas<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\t$tapCallCount = str_replace(&#8216;screen_tap_email_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currText = &#8220;appy_options_tap_email_text_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$currFontSize = &#8220;appy_options_tap_email_font_size_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$currBorder = &#8220;appy_options_tap_email_border_radius_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$currHeight = &#8220;appy_options_tap_email_height_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$currWidth = &#8220;appy_options_tap_email_width_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t$thisBack = &#8220;appy_options_site_option_button_color&#8221;;<\/p>\n<p>\t\t\t\t\t$thisTColor = &#8220;appy_options_site_option_button_text_color&#8221;;<\/p>\n<p>\t\t\t\t\t$currNumber = &#8220;appy_options_tap_email_number_&#8221; . $tapCallCount;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$tapCallCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $tapCallCount);<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;li id=&#8217;screen-tap-email-&#8220;.$tapCallCount.&#8221;&#8216; class=&#8217;screen-tap-email on-screen-feature&#8217; style=&#8217;display: list-item;&#8217;&gt;&lt;div class=&#8217;screen-tap-email-feature&#8217; style=background-color:&#8221;.$appyValues[$thisBack][0].&#8221;;color:&#8221;.$appyValues[$thisTColor][0].&#8221;;width:&#8221;.$appyValues[$currWidth][0].&#8221;%;height: &#8220;.$appyValues[$currHeight][0].&#8221;px; font-size: &#8220;.$appyValues[$currFontSize][0].&#8221;px; border-radius: &#8220;.$appyValues[$currBorder][0].&#8221;px;line-height:&#8221;.$appyValues[$currHeight][0].&#8221;px;&#8217;&gt;&#8221;.nl2br($appyValues[$currText][0]).&#8221;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;screen_social&#8217;) !== FALSE) { \/\/narrow down to only social link padding top areas<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\tglobal $plugin_folder_name;<\/p>\n<p>\t\t\t\t\t$socialCount = str_replace(&#8216;screen_social_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currBadgeSet = &#8220;appy_options_badge_set_social_&#8221;.$socialCount;<\/p>\n<p>\t\t\t\t\t$path = plugins_url();<\/p>\n<p>\t\t\t\t\t$path = &#8221;.$path.&#8217;\/&#8217;.$plugin_folder_name.&#8221;;<\/p>\n<p>\t\t\t\t\t$ipath = &#8221;.$path.&#8217;\/includes&#8217;;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$socialCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $socialCount);<\/p>\n<p>\t\t\t\t\techo&#8221;<\/p>\n<p>\t\t\t\t\t&lt;li id=&#8217;screen-social-&#8220;.$socialCount.&#8221;&#8216; class=&#8217;screen-social on-screen-feature&#8217; style=&#8217;display: list-item;&#8217;&gt;<\/p>\n<ul>\n<p>\t\t\t\t\t\t\t&lt;li class=&#8217;social-screen-message&#8217; style=&#8217;display: none;&#8217;&gt;&lt;span class=&#8217;social-screen-warning&#8217;&gt;Use the menu on the right to add social links to this area&lt;\/span&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\tforeach ($appyValues as $socialCheck =&gt; $data) {<\/p>\n<p>\t\t\t\t\t\t\tif (strpos($socialCheck, &#8216;appy_options_social_options_&#8217;) !== FALSE) {<\/p>\n<p>\t\t\t\t\t\t\tif (strpos($socialCheck, &#8216;linkurl&#8217;) !== FALSE) {<\/p>\n<p>\t\t\t\t\t\t\t\t$socialCountunder = str_replace(&#8220;-&#8220;, &#8220;_&#8221;, $socialCount);<\/p>\n<p>\t\t\t\t\t\t\t\t$currSite = str_replace(&#8220;appy_options_social_options_&#8221;.$socialCountunder.&#8221;_&#8221;, &#8220;&#8221;, $socialCheck);<\/p>\n<p>\t\t\t\t\t\t\t\t$currSite = str_replace(&#8220;_linkurl&#8221;, &#8220;&#8221;, $currSite);<\/p>\n<p>\t\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t&lt;li id=&#8217;screen-social-&#8220;.$socialCount.&#8221;-&#8220;.$currSite.&#8221;&#8216; class=&#8217;screen-social-badge&#8217; style=&#8217;background-image: url(&#8220;.$ipath.&#8221;\/images\/&#8221;.$appyValues[$currBadgeSet][0].&#8221;\/&#8221;.$currSite.&#8221;.png);&#8217;&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\t\techo &#8221;\t<\/p>\n<\/ul>\n<p>\t\t\t\t\t&#8220;;<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\/\/ create lists that have already been placed<\/p>\n<p>\t\tif (strpos($metaTitle,&#8217;screen_list_feature&#8217;) !== FALSE) { \/\/narrow down to only list areas<\/p>\n<p>\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t$listCountandPageUnder = str_replace(&#8216;screen_list_feature_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t$listCountandPage = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $listCountandPageUnder);<\/p>\n<p>\t\t\techo &#8220;<\/p>\n<p>\t\t\t&lt;li id=&#8217;screen-list-feature-&#8220;.$listCountandPage.&#8221;&#8216; class=&#8217;option-List ui-draggable screen-list-feature on-screen-feature&#8217; style=&#8217;display: list-item;&#8217;&gt;<\/p>\n<p>\t\t\t&lt;ul id=&#8217;screen-list-feature-list-&#8220;.$listCountandPage.&#8221;&#8216;&gt;<\/p>\n<p>\t\t\t&#8220;;<\/p>\n<p>\t\t\tforeach ($appyValues as $currListItem =&gt; $currItemData) {<\/p>\n<p>\t\t\t\t$currListFeature = &#8220;appy_options_list_repeatable_list_&#8221; .  $listCountandPageUnder . &#8220;_item_&#8221;;<\/p>\n<p>\t\t\t\tif (strpos($currListItem,$currListFeature) !== FALSE) {<\/p>\n<p>\t\t\t\tif (strpos($currListItem,&#8217;_option_&#8217;) == FALSE) {<\/p>\n<p>\t\t\t\t\t$thisName = str_replace(&#8216;_&#8217;,&#8217;-&#8216;,$currListItem);<\/p>\n<p>\t\t\t\t\t$thisName = str_replace(&#8216;-title&#8217;,&#8221;,$thisName);<\/p>\n<p>\t\t\t\t\t$thisNameID = str_replace(&#8216;appy-options-&#8216;,&#8221;,$thisName);<\/p>\n<p>\t\t\t\t\t$thisNameID = str_replace(&#8216;-title&#8217;,&#8221;,$thisNameID);<\/p>\n<p>\t\t\t\t\t\/\/create variables for each option to be checked<\/p>\n<p>\t\t\t\t\t$optionBase = str_replace(&#8216;_title&#8217;, &#8221;, $currListItem);<\/p>\n<p>\t\t\t\t\t$optionBaseunder = str_replace(&#8216;appy_options_&#8217;, &#8221;, $optionBase);<\/p>\n<p>\t\t\t\t\t$optionBase = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $optionBaseunder);<\/p>\n<p>\t\t\t\t\t$optionBase = str_replace(&#8216;list-repeatable-list-&#8216;, &#8216;screen-list-feature-list-&#8216;, $optionBase);<\/p>\n<p>\t\t\t\t\t$listOptionType = $optionBase.&#8221;_option_link_type&#8221;;<\/p>\n<p>\t\t\t\t\t$listOptionExternal = $optionBase.&#8221;_option_external_link&#8221;;<\/p>\n<p>\t\t\t\t\t$listOptionTitle = &#8220;appy_options_&#8221;.$optionBaseunder.&#8221;_title&#8221;;<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t&lt;li style=&#8217;background-color:&#8221;.$appyValues[&#8216;appy_options_site_option_list_background_color&#8217;][0].&#8221;;color:&#8221;.$appyValues[&#8216;appy_options_site_option_list_item_color&#8217;][0].&#8221;&#8216; id='&#8221;.$optionBase.&#8221;&#8216;&gt;<a>&#8220;.$appyValues[$listOptionTitle][0].&#8221;<\/a><\/p>\n<p>\t\t\t\t\t\t&#8220;;<\/p>\n<p>\t\t\t\t\t}<\/p>\n<p>\t\t\t\t}<\/p>\n<p>\t\t\t}<\/p>\n<p>\t\t\techo &#8220;<\/p>\n<p>\t\t\t&#8220;;<\/p>\n<p>\t\t}<\/p>\n<p>\t}<\/p>\n<p>\t$currPageOrderValue = &#8220;appy_options_screen_page_&#8221;.$currPage.&#8221;_order&#8221;;<\/p>\n<p>\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;input type=&#8217;hidden&#8217; id=&#8217;screen-page-&#8220;.$currPage.&#8221;-order&#8217; name=&#8217;appy-options-screen-page-&#8220;.$currPage.&#8221;-order&#8217; value='&#8221;.$appyValues[$currPageOrderValue][0].&#8221;&#8216; \/&gt;<\/p>\n<p>                &lt;\/div&gt;<\/p>\n<p>\t&#8220;;<\/p>\n<p>}<\/p>\n<p>\t\t?&gt;<\/p>\n<p>            &lt;\/div&gt;<\/p>\n<p>        &lt;\/div&gt;<\/p>\n<p>        &lt;div id=&#8221;bottom-menu-holder&#8221; style=&#8217;background-color:&lt;?php echo $appyValues[&#8216;appy_options_site_option_bottom_menu_background_color&#8217;][0]?&gt;;&lt;?php if ((!isset($appyValues[&#8216;appy_options_site_menu_option&#8217;][0]))||($appyValues[&#8216;appy_options_site_menu_option&#8217;][0] == &#8216;yes&#8217;)) {print &#8220;display:block&#8221;;}?&gt;;&#8217;&gt;<\/p>\n<p>\t\t\t&lt;div id=&#8221;inside-bottom-menu&#8221;&gt;<\/p>\n<p>\t\t\t\t&lt;?php <\/p>\n<p>\t\t\t\t\t$arePages = 1;<\/p>\n<p>\t\t\t\t\tforeach ($appyValues as $pageTitle =&gt; $data) {<\/p>\n<p>\t\t\t\t\t\tif(strpos($pageTitle, &#8216;appy_options_page_title_&#8217;) !== FALSE) {<\/p>\n<p>\t\t\t\t\t\t\t$arePages++;<\/p>\n<p>\t\t\t\t\t\t\t$pageCount = str_replace(&#8216;appy_options_page_title_&#8217;, &#8221;, $pageTitle);<\/p>\n<p>\t\t\t\t\t\t\t$useIcons = &#8220;appy_options_site_menu_icon_option&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t$currIcon = &#8220;appy_options_page_option_menu_icon_&#8221;.$pageCount;<\/p>\n<p>\t\t\t\t\t\t\t$currInclude = &#8220;appy_options_page_option_include_in_menu_&#8221;.$pageCount;<\/p>\n<p>\t\t\t\t\t\t\tif ($appyValues[$currInclude][0] == &#8216;no&#8217;) {<\/p>\n<p>\t\t\t\t\t\t\t\tbreak;<\/p>\n<p>\t\t\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\t\t\t\tif ($appyValues[$useIcons][0] == &#8220;icons-text&#8221;) {<\/p>\n<p>\t\t\t\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;div class=&#8217;bottom-menu-item icon &#8220;.$appyValues[$currIcon][0].&#8221;&#8216; style=&#8217;color:&#8221;.$appyValues[&#8216;appy_options_site_option_bottom_menu_text_color&#8217;][0].&#8221;;margin-top:0px;font-size:12px;line-height:67px;&#8217; id=&#8217;page-&#8220;.$pageCount.&#8221;-bottom-menu&#8217;&gt;&lt;span&gt;&#8221;.$appyValues[$pageTitle][0].&#8221;&lt;\/span&gt;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t\t} else if ($appyValues[$useIcons][0] == &#8220;icons&#8221;) {<\/p>\n<p>\t\t\t\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;div class=&#8217;bottom-menu-item icon &#8220;.$appyValues[$currIcon][0].&#8221;&#8216; style=&#8217;color:&#8221;.$appyValues[&#8216;appy_options_site_option_bottom_menu_text_color&#8217;][0].&#8221;;margin-top:5px;&#8217; id=&#8217;page-&#8220;.$pageCount.&#8221;-bottom-menu&#8217;&gt;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t\t} else if ($appyValues[$useIcons][0] == &#8220;text&#8221;) {<\/p>\n<p>\t\t\t\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;div class=&#8217;bottom-menu-item&#8217; style=&#8217;color:&#8221;.$appyValues[&#8216;appy_options_site_option_bottom_menu_text_color&#8217;][0].&#8221;;margin-top:0px;font-size:14px;line-height:43px;&#8217; id=&#8217;page-&#8220;.$pageCount.&#8221;-bottom-menu&#8217;&gt;&lt;span&gt;&#8221;.$appyValues[$pageTitle][0].&#8221;&lt;\/span&gt;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\t} if (($arePages == 1) &amp;&amp; ($appyValues[&#8216;appy_options_page_option_include_in_menu_1&#8217;][0] !== &#8216;no&#8217;)) {<\/p>\n<p>\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t\t&lt;div class=&#8217;bottom-menu-item icon home&#8217; id=&#8217;page-1-bottom-menu&#8217;&gt;&lt;span&gt;Page 1&lt;\/span&gt;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t} else if (($arePages == 1) &amp;&amp; ($appyValues[$useIcons][0] == &#8220;icons&#8221;)) {<\/p>\n<p>\t\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t\t&lt;div class=&#8217;bottom-menu-item icon home&#8217; id=&#8217;page-1-bottom-menu&#8217;&gt;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t} else if (($arePages == 1) &amp;&amp; ($appyValues[$useIcons][0] == &#8220;text&#8221;)) {<\/p>\n<p>\t\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t\t&lt;div class=&#8217;bottom-menu-item&#8217; id=&#8217;page-1-bottom-menu&#8217;&gt;&lt;span&gt;Page 1&lt;\/span&gt;&lt;\/div&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t}<\/p>\n<p>\t\t\t\t?&gt;<\/p>\n<p>\t\t\t&lt;\/div&gt;<\/p>\n<p>        &lt;\/div&gt;<\/p>\n<p>    &lt;\/div&gt;<\/p>\n<p>    &lt;div id=&#8221;settings-area&#8221;&gt;<\/p>\n<p>\t\t&lt;span id=&#8221;close-settings&#8221;&gt;X&lt;\/span&gt;<\/p>\n<p>\t\t&lt;input type=&#8217;hidden&#8217; name=&#8221;appy-options-list-feature-count&#8221; value=&#8221;&lt;?php print $appyValues[&#8216;appy_options_list_feature_count&#8217;][0];?&gt;&#8221; id=&#8221;list-feature-count&#8221; \/&gt;<\/p>\n<p>\t\t&lt;?php<\/p>\n<p>\t\t\/\/first, reverse the $appyValues array, because it is saved in reverse order<\/p>\n<p>\t\t$appyValues = array_reverse($appyValues);<\/p>\n<p>\t\t\/\/ create text areas that have already been placed<\/p>\n<p>\t\tforeach ($appyValues as $metaTitle =&gt; $textCount) {<\/p>\n<p>\t\t\tif (strpos($metaTitle,&#8217;appy_options_&#8217;) !== FALSE) { \/\/check if this is an appy option<\/p>\n<p>\t\t\t\tif (strpos($metaTitle,&#8217;appy_options_text_content&#8217;) !== FALSE) { \/\/narrow down to only text content areas<\/p>\n<p>\t\t\t\t\t\/\/create variables with meta values to be called<\/p>\n<p>\t\t\t\t\t$textCount = str_replace(&#8216;appy_options_text_content_&#8217;, &#8221;, $metaTitle);<\/p>\n<p>\t\t\t\t\t$currContent = &#8220;appy_options_text_content_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currSize = &#8220;appy_options_text_size_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currColor = &#8220;appy_options_text_color_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currAlign = &#8220;appy_options_text_alignment_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currStyle = &#8220;appy_options_text_style_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t$currLine = &#8220;appy_options_text_line_height_&#8221; . $textCount;<\/p>\n<p>\t\t\t\t\t\/\/replace underscores with hyphens<\/p>\n<p>\t\t\t\t\t$textCount = str_replace(&#8216;_&#8217;, &#8216;-&#8216;, $textCount);<\/p>\n<p>\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t&lt;div id=&#8217;container-text-&#8220;.$textCount.&#8221;&#8216; class=&#8217;feature-container text-container&#8217; style=&#8217;display:none;&#8217;&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t&lt;h4&gt;Text Settings&lt;\/h4&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t&lt;label for=&#8217;text-content-&#8220;.$textCount.&#8221;&#8216;&gt;Text Content&lt;\/label&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t&lt;textarea name=&#8217;appy-options-text-content-&#8220;.$textCount.&#8221;&#8216; class=&#8217;text-content-area&#8217; id=&#8217;text-content-&#8220;.$textCount.&#8221;&#8216;&gt;&#8221;.$appyValues[$currContent][0].&#8221;&lt;\/textarea&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t&lt;div class=&#8217;settings-instructions&#8217;&gt;<em>You may include any HTML code like&#8230;<\/em><code><a href='LINK'>Label<\/a><\/code><code>&lt;div style=''&gt;&lt;\/div&gt;<\/code><code>&lt;img src='' \/&gt;<\/code>&lt;\/div&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t&lt;div class=&#8217;hidden-options-toggle&#8217;&gt;Toggle Options&lt;\/div&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;div class=&#8217;hidden-options-area&#8217; id=&#8217;options-text-&#8220;.$textCount.&#8221;&#8216; style=&#8217;display:none;&#8217;&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;label class=&#8217;font-size&#8217; for=&#8217;text-size-&#8220;.$textCount.&#8221;&#8216;&gt;Text Size&lt;\/label&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;div class=&#8217;slider-bar font-size&#8217;&gt;&lt;\/div&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;input name=&#8217;appy-options-text-size-&#8220;.$textCount.&#8221;&#8216; id=&#8217;text-size-&#8220;.$textCount.&#8221;&#8216; value='&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t\t\tif (!empty($appyValues[$currSize][0])){print $appyValues[$currSize][0];} else {print &#8220;12&#8221;;}<\/p>\n<p>\t\t\t\t\t\t\t\t\techo &#8220;&#8216;&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;script&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\tjQuery(&#8216;.slider-bar.font-size&#8217;).slider({<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tanimate: &#8216;slow&#8217;,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tmin: 8,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tmax: 50,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tstep: 1,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tvalue: &#8216;&#8221;;(!empty($appyValues[$currSize][0]) ? print $appyValues[$currSize][0] : print &#8220;12&#8221;);<\/p>\n<p>\t\t\t\t\t\t\t\t\techo &#8220;&#8216;<\/p>\n<p>\t\t\t\t\t\t\t\t\t});<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;\/script&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;label for=&#8217;text-color-&#8220;.$textCount.&#8221;&#8216;&gt;Text Color&lt;\/label&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;input name=&#8217;appy-options-text-color-&#8220;.$textCount.&#8221;&#8216; id=&#8217;text-color-&#8220;.$textCount.&#8221;&#8216; value='&#8221;.$appyValues[$currColor][0].&#8221;&#8216;\/&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;script&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\tjQuery(&#8216;#text-color-&#8220;.$textCount.&#8221;&#8216;).spectrum({<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tcolor:\t&#8216;&#8221;.$appyValues[$currColor][0].&#8221;&#8216;,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tshowInput: true,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tclassName: &#8216;full-spectrum&#8217;,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tshowInitial: true,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tshowPalette: true,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tmaxPaletteSize: 10,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tpreferredFormat: &#8216;hex&#8217;,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tshowButtons: false,<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tmove: function (color) {<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t\tjQuery(&#8216;#screen-text-&#8220;.$textCount.&#8221;&#8216;).css(&#8216;color&#8217;, color.toHexString());<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t},<\/p>\n<p>\t\t\t\t\t\t\t\t\t\tchange: function (color) {<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t\tjQuery(&#8216;#screen-text-&#8220;.$textCount.&#8221;&#8216;).css(&#8216;color&#8217;, color.toHexString());<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t}<\/p>\n<p>\t\t\t\t\t\t\t\t\t});<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;\/script&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;label for=&#8217;text-style-&#8220;.$textCount.&#8221;&#8216;&gt;Text Alignment&lt;\/label&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;select name=&#8217;appy-options-text-alignment-&#8220;.$textCount.&#8221;&#8216; class=&#8217;text-alignment-select&#8217; id=&#8217;text-alignment-&#8220;.$textCount.&#8221;&#8216;&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t\t\t?&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;left&#8217; &lt;?php if ($appyValues[$currAlign][0] == &#8216;left&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Left&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;center&#8217; &lt;?php if ($appyValues[$currAlign][0] == &#8216;center&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Center&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;right&#8217; &lt;?php if ($appyValues[$currAlign][0] == &#8216;right&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Right&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;justify&#8217; &lt;?php if ($appyValues[$currAlign][0] == &#8216;justify&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Justify&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;?php<\/p>\n<p>\t\t\t\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;\/select&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;label for=&#8217;text-style-&#8220;.$textCount.&#8221;&#8216;&gt;Font Style&lt;\/label&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;select class=&#8217;text-style-selector&#8217; name=&#8217;appy-options-text-style-&#8220;.$textCount.&#8221;&#8216; id=&#8217;text-style-&#8220;.$textCount.&#8221;&#8216;&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t\t\t?&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;normal&#8217; &lt;?php if ($appyValues[$currStyle][0] == &#8216;normal&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Normal&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;bold&#8217; &lt;?php if ($appyValues[$currStyle][0] == &#8216;bold&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Bold&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;italic&#8217; &lt;?php if ($appyValues[$currStyle][0] == &#8216;italic&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Italic&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;bold-italic&#8217; &lt;?php if ($appyValues[$currStyle][0] == &#8216;bold-italic&#8217;){print &#8220;selected&#8221;;}?&gt;&gt;Bold Italic&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;?php<\/p>\n<p>\t\t\t\t\t\t\t\t\techo &#8220;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;\/select&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;label for=&#8217;text-line-height-&#8220;.$textCount.&#8221;&#8216;&gt;Line Height&lt;\/label&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t&lt;select name=&#8217;appy-options-text-line-height-&#8220;.$textCount.&#8221;&#8216; class=&#8217;text-line-height&#8217; id=&#8217;text-line-height-&#8220;.$textCount.&#8221;&#8216;&gt;&#8221;;<\/p>\n<p>\t\t\t\t\t\t\t\t\tvar_dump($appyValues[$currLine][0]);<\/p>\n<p>\t\t\t\t\t\t\t\t\t?&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;85%&#8217; &lt;?php if ($appyValues[$currLine][0] == &#8216;85%&#8217;){print &#8220;selected=&#8217;selected'&#8221;;}?&gt;&gt;Tight&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;100%&#8217; &lt;?php if ($appyValues[$currLine][0] == &#8216;100%&#8217;){print &#8220;selected=&#8217;selected'&#8221;;}?&gt;&gt;Normal&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;125%&#8217; &lt;?php if ($appyValues[$currLine][0] == &#8216;125%&#8217;){print &#8220;selected=&#8217;selected'&#8221;;}?&gt;&gt;Slight&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;150%&#8217; &lt;?php if ($appyValues[$currLine][0] == &#8216;150%&#8217;){print &#8220;selected=&#8217;selected'&#8221;;}?&gt;&gt;1 1\/2 Spacing&lt;\/option&gt;<\/p>\n<p>\t\t\t\t\t\t\t\t\t\t&lt;option value=&#8217;200%&#8217; &lt;?php if ($appyValues[$currLine][0] == &#8216;200%&#8217;){print &#8220;selected=&#8217;selecte<\/p>\n","protected":false},"template":"","class_list":["post-5970067","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5970067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5970067\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5970067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}