Wednesday, 4 November 2015

Add Tabs in Theme Options in Wordpress

<!--php function add_new_menu_items() { add_menu_page( "Theme Options", "Theme Options", "manage_options", "theme-options", "theme_options_page", "", 99 ); } function theme_options_page() { ?--> <div class="wrap"> <div id="icon-options-general" class="icon32"></div> <h1>Theme Options</h1> <!--php //we check if the page is visited by click on the tabs or on the menu button. //then we get the active tab. $active_tab = "header-options"; if(isset($_GET["tab"])) { if($_GET["tab"] == "header-options") { $active_tab = "header-options"; } else { $active_tab = "ads-options"; } } ?--> <!-- wordpress provides the styling for tabs. --> <h2 class="nav-tab-wrapper"> <!-- when tab buttons are clicked we jump back to the same page but with a new parameter that represents the clicked tab. accordingly we make it active --> <a class="nav-tab &lt;?php if($active_tab == &#39;header-options&#39;){echo &#39;nav-tab-active&#39;;} ?&gt; " href="?page=theme-options&amp;tab=header-options"><!--php _e('Header Options', 'sandbox'); ?--></a> <a class="nav-tab &lt;?php if($active_tab == &#39;ads-options&#39;){echo &#39;nav-tab-active&#39;;} ?&gt;" href="?page=theme-options&amp;tab=ads-options"><!--php _e('Advertising Options', 'sandbox'); ?--></a> </h2> <form method="post" action="options.php"> <!--php settings_fields("header_section"); do_settings_sections("theme-options"); submit_button(); ?--> </form> </div> <!--php } add_action("admin_menu", "add_new_menu_items"); function display_options() { add_settings_section("header_section", "Header Options", "display_header_options_content", "theme-options"); //here we display the sections and options in the settings page based on the active tab if(isset($_GET["tab"])) { if($_GET["tab"] == "header-options") { add_settings_field("header_logo", "Logo Url", "display_logo_form_element", "theme-options", "header_section"); register_setting("header_section", "header_logo"); } else { add_settings_field("advertising_code", "Ads Code", "display_ads_form_element", "theme-options", "header_section"); register_setting("header_section", "advertising_code"); } } else { add_settings_field("header_logo", "Logo Url", "display_logo_form_element", "theme-options", "header_section"); register_setting("header_section", "header_logo"); } } function display_header_options_content(){echo "The header of the theme";} function display_logo_form_element() { ?--> <input type="text" name="header_logo" id="header_logo" value="<?php echo get_option('header_logo'); ?>" /> <!--php } function display_ads_form_element() { ?--> <input type="text" name="advertising_code" id="advertising_code" value="<?php echo get_option('advertising_code'); ?>" /> <!--php } add_action("admin_init", "display_options"); </xmp--> </div> <div id='related-posts'> <script src='/feeds/posts/default/-/wordpress?alt=json-in-script&callback=related_results_labels_thumbs&max-results=6' type='text/javascript'></script> <script type='text/javascript'> removeRelatedDuplicates_thumbs(); printRelatedLabels_thumbs("https://tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html"); </script> </div><div style='clear:both'></div> <div id='socialbuto'> <div id='buttoners'> <span class='title'> <h3>Share</h3> <p>& Comment</p> </span> <a class='box' href='#'><div class='g-plusone' data-size='tall'></div></a> <iframe allowTransparency='true' class='box facebook' frameborder='0' height='65px' id='facebook' scrolling='no' src='http://www.facebook.com/plugins/like.php?href=https://tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html&layout=box_count&show_faces=false&width=100& action=like&font=arial&colorscheme=light' width='48px'></iframe> <a class='box twitter twitter-share-button' data-count='vertical' data-related='' data-text='Add Tabs in Theme Options in Wordpress' data-url='https://tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html' data-via='BloggerSentral' href='http://twitter.com/YOUR_USERNAME'>Tweet</a> <script src="//platform.twitter.com/widgets.js" type="text/javascript"></script> <div class='box' href='#'> <a name='fb_share' rel='nofollow' share_url='https://tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html' type='box_count'></a> <script src="//static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div> <div class='box linken'><script type='text/javascript'> //<![CDATA[ if(!window.console){window.console={} }if(typeof window.console.log!=="function"){window.console.log=function(){} }if(typeof window.console.warn!=="function"){window.console.warn=function(){} }(function(){var S={"bootstrapInit":+new Date()},p=document,m=(/^https?:\/\/.*?linkedin.*?\/in\.js.*?$/),b=(/async=true/),D=(/^https:\/\//),J=(/\/\*((?:.|[\s])*?)\*\//m),F=(/\r/g),j=(/[\s]/g),g=(/^[\s]*(.*?)[\s]*:[\s]*(.*)[\s]*$/),x=(/_([a-z])/gi),A=(/^[\s]+|[\s]+$/g),u=(/^[a-z]{2}(_)[A-Z]{2}$/),C=(/suppress(Warnings|_warnings):true/gi),d=(/^api(Key|_key)$/gi),k="\n",G=",",n="",I="@",o="extensions",Z="on",w="onDOMReady",ac="onOnce",aa="script",L="https://www.linkedin.com/uas/js/userspace?v=0.0.1199-RC8.53123-1429",h="https://platform.linkedin.com/js/secureAnonymousFramework?v=0.0.1199-RC8.53123-1429",H="http://platform.linkedin.com/js/nonSecureAnonymousFramework?v=0.0.1199-RC8.53123-1429",P="http://platform.linkedin.com/js/frameworkV2?v=0.0.1199-RC8.53123-1429",B=p.getElementsByTagName("head")[0],t=p.getElementsByTagName(aa),X=[],a=[],O=["lang"],R={},c=false,ad,l,W,r,K,E,ab; if(window.IN&&IN.ENV&&IN.ENV.js){if(!IN.ENV.js.suppressWarnings){console.warn("duplicate in.js loaded, any parameters will be ignored") }return }window.IN=window.IN||{}; IN.ENV={}; IN.ENV.js={}; IN.ENV.js.extensions={}; statsQueue=IN.ENV.statsQueue=[]; statsQueue.push(S); ad=IN.ENV.evtQueue=[]; IN.Event={on:function(){ad.push({type:Z,args:arguments}) },onDOMReady:function(){ad.push({type:w,args:arguments}) },onOnce:function(){ad.push({type:ac,args:arguments}) }}; IN.$extensions=function(ag){var aj,i,af,ai,ah=IN.ENV.js.extensions; aj=ag.split(G); for(var ae=0,e=aj.length; ae<e; ae++){i=V(aj[ae],I,2); af=i[0].replace(A,n); ai=i[1]; if(!ah[af]){ah[af]={src:(ai)?ai.replace(A,n):n,loaded:false} }}}; function V(ag,ae,e){var ah=ag.split(ae); if(!e){return ah }if(ah.length<e){return ah }var af=ah.splice(0,e-1); var i=ah.join(ae); af.push(i); return af }function v(e,i){if(e===o){IN.$extensions(i); return null }if(d.test(e)){i=i.replace(j,n) }if(i===""){return null }return i }function N(af,ag){ag=v(af,ag); if(ag){af=af.replace(x,function(){return arguments[1].toUpperCase() }); if(af==="lang"&&!u.test(ag)){try{var ae=ag.replace("-","_").split("_"); ae=[ae[0].substr(0,2).toLowerCase(),ae[1].substr(0,2).toUpperCase()].join("_"); if(!u.test(ae)){throw new Error() }else{ag=ae }}catch(ah){if(!(ab||IN.ENV.js.suppressWarnings)&&ag){console.warn("'"+ag+"' is not a supported language, defaulting to 'en_US'") }ag="en_US" }}else{if(af==="noAuth"||af==="noApi"){ag=/^(?:true|yes|1)$/i.test(ag) }}IN.ENV.js[af]=ag; var ai=[encodeURIComponent(af),encodeURIComponent(ag)].join("="); for(var i in O){if(O.hasOwnProperty(i)&&O[i]===af){a.push(ai); return }}X.push(ai) }}l=""; for(U=0,q=t.length; U<q; U++){var f=t[U]; if(!m.test(f.src)){continue }if(b.test(f.src)){c=true }try{l=f.innerHTML.replace(A,n) }catch(z){try{l=f.text.replace(A,n) }catch(y){}}}l=l.replace(J,"$1").replace(A,n).replace(F,n); ab=C.test(l.replace(j,n)); for(var U=0,T=l.split(k),q=T.length; U<q; U++){var s=T[U]; if(!s||s.replace(j,n).length<=0){continue }try{W=s.match(g); r=W[1].replace(A,n); K=W[2].replace(A,n) }catch(Y){if(!ab){console.warn("script tag contents must be key/value pairs separated by a colon. Source: "+Y) }continue }N(r,K) }N("secure",1); function M(e,i){return e+((/\?/.test(e))?"&":"?")+i.join("&") }IN.init=function Q(i){var e=IN.ENV.js,ae,af; i=i||{}; for(ae in i){if(i.hasOwnProperty(ae)){N(ae,i[ae]) }}E=p.createElement(aa); if(e.v2){af=M(P,X) }else{if(e.apiKey&&!e.noAuth){af=M(L,X) }else{af=e.secure?h:H }}E.src=M(af,a); B.appendChild(E); statsQueue.push({"userspaceRequested":+new Date()}); IN.init=function(){} }; statsQueue.push({"bootstrapLoaded":+new Date()}); if(!c){IN.init() }})(); //]]> </script> <script class='linkedin' data-counter='top' data-url='https://tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html' type='in/share'></script></div> </div></div> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-'> <div class='post-share-buttons'> <a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=4861538029579187188&postID=9077748260363085723&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=4861538029579187188&postID=9077748260363085723&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=4861538029579187188&postID=9077748260363085723&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=4861538029579187188&postID=9077748260363085723&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a> </div> </div> <div class='post-footer-line post-footer-line-2'> </div> <div class='post-footer-line post-footer-line-3'> <span class='item-control blog-admin pid-667000130'> <a href='https://www.blogger.com/post-edit.g?blogID=4861538029579187188&postID=9077748260363085723&from=pencil' title='Edit Post'> <img alt="" class="icon-action" height="18" src="//img2.blogblog.com/img/icon18_edit_allbkg.gif" width="18"> </a> </span> </div></div> </div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' href='https://tahacodes.blogspot.com/2015/11/how-to-insert-post-thumbnails-in-pop-up.html' id='Blog1_blog-pager-newer-link' title='Newer Post'>Newer Posts</a> </span> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='https://tahacodes.blogspot.com/2015/11/custom-logo-options-input-typesubmit.html' id='Blog1_blog-pager-older-link' title='Older Post'>Older Posts</a> </span> </div> <div class='clear'></div> <div class='comments' id='comments'> <a name='comments'></a> <h4> 0 comments: </h4> <div id='Blog1_comments-block-wrapper'> <dl class='avatar-comment-indent' id='comments-block'> </dl> </div> <p class='comment-footer'> <div class='comment-form'> <a name='comment-form'></a> <h4 id='comment-post-message'><i class='fa fa-comment'></i> Post a Comment</h4> <p> </p> <a href='https://www.blogger.com/comment/frame/4861538029579187188?po=9077748260363085723&hl=en-GB&saa=85391&origin=https://tahacodes.blogspot.com' id='comment-editor-src'></a> <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'></iframe> <!--Can't find substitution for tag [post.friendConnectJs]--> <script src='https://www.blogger.com/static/v1/jsbin/2830521187-comment_from_post_iframe.js' type='text/javascript'></script> <script type='text/javascript'> BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html', '0'); </script> </div> </p> <div id='backlinks-container'> <div id='Blog1_backlinks-container'> </div> </div> </div> </div> </div></div> <!--Can't find substitution for tag [adEnd]--> </div> <div class='post-feeds'> <div class='feed-links'> Subscribe to: <a class='feed-link' href='https://tahacodes.blogspot.com/feeds/9077748260363085723/comments/default' target='_blank' type='application/atom+xml'>Post Comments (Atom)</a> </div> </div> </div></div> </div> <div id='rsidebar-wrapper'> <div class='sidebar section' id='sidebarright'><div class='widget HTML' data-version='1' id='HTML2'> <h2 class='title'>Blogroll</h2> <div class='widget-content'> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=1688195661403643"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-page" data-href="https://www.facebook.com/tahacodes" data-small-header="false" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/tahacodes"><a href="https://www.facebook.com/tahacodes">Taha Codes</a></blockquote></div></div> </div> <div class='clear'></div> </div><div class='widget PopularPosts' data-version='1' id='PopularPosts2'> <h2>Popular Posts</h2> <div class='widget-content popular-posts'> <ul> <li> <div class='item-content'> <div class='item-thumbnail'> <a href='https://tahacodes.blogspot.com/2015/10/how-to-make-webview-app-in-android.html' target='_blank'> <img alt='' border='0' height='72' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixwv-47i2XgzgPQwMQkSD8_YuJQeSr-PKEmVPzVepqA53krbOByY2WbEGWACAs3R-nmFck3yHpAEV29J32ZNysot6NiiGhmRNWh5tfj8CfT5vO3_iBDFCixsfqEDs-t5UoXNnz5vtTma0/s72-c/1.PNG' width='72'/> </a> </div> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/10/how-to-make-webview-app-in-android.html'>How to make WebView app in android studio</a></div> <div class='item-snippet'>1:Open an Android Studio 2:Click on Start a new android Project then Click Next 3:Change Application name and Company Domain then...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/11/how-to-create-custom-post-types-in.html'>How to Create Custom Post Types in WordPress</a></div> <div class='item-snippet'>Use this plugin to create custom post type : https://wordpress.org/plugins/custom-post-type-ui/ Code 1:This is an example &#39;bios...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/12/how-do-i-delete-all-my-google-posts-at.html'>How do I delete all my Google+ posts at once?</a></div> <div class='item-snippet'>The fastest way is probably to downgrade from Google+ at http://plus.google.com/downgrade . You can re-upgrade at any time, but all the pos...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://tahacodes.blogspot.com/2016/01/questions-every-web-developer-should.html'>Questions Every Web Developer Should Ask Before They Provide A Web Design Quote</a></div> <div class='item-snippet'>100+ Questions Every Web Developer Should Ask Before They Provide A Web Design Quote The questions below are listed under Background Inform...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/11/how-do-i-select-value-from-database.html'>How do I select a value from a database where username is based on the session?</a></div> <div class='item-snippet'> &quot;UPDATE user SET USER_ID=&#39;$user_id&#39; , PASSWORD=&#39;$password&#39;, FIRST_NAME=&#39;$first_name&#39;, LAST_NAME=&#39;$last_na...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-thumbnail'> <a href='https://tahacodes.blogspot.com/2015/11/how-to-insert-post-thumbnails-in-pop-up.html' target='_blank'> <img alt='' border='0' height='72' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbdF33vu8Uq33EVAXm-U0AW2iziRsmGjU9qr7gXIaOTJs59rnInA_9lviqJua9bSMBD0bI1mOF-dWGOdA-rRn4p0shQFC4J4RGgw_yKmJAvhg613HWeY6ktAz-qLZjMRz3cZtA_LD9BkA/s72-c/pop.PNG' width='72'/> </a> </div> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/11/how-to-insert-post-thumbnails-in-pop-up.html'>How to insert post thumbnails in pop up window</a></div> <div class='item-snippet'> values); $classes = implode(&#39; &#39;, apply_filters(&#39;emodal_modal_class_attr&#39;, array(/*&#39;modal&#39;,*/ &#39;emodal...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/11/how-to-get-value-from-database-into.html'>How to get value from database into textfield</a></div> <div class='item-snippet'> </div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/11/how-to-update-value-in-database-using.html'>How to update value in database using textfield</a></div> <div class='item-snippet'> </div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/11/how-to-upload-file-in-php.html'>How to Upload File in PHP</a></div> <div class='item-snippet'>1: Create Database File.Name dbconfig.php 2:Create Index File index.php Where upload box display. File Uploading With PHP...</div> </div> <div style='clear: both;'></div> </li> <li> <div class='item-content'> <div class='item-title'><a href='https://tahacodes.blogspot.com/2015/11/how-to-make-database-connection-in-php.html'>How to make Database Connection in PHP</a></div> <div class='item-snippet'> </div> </div> <div style='clear: both;'></div> </li> </ul> <div class='clear'></div> </div> </div><div class='widget Navbar' data-version='1' id='Navbar1'><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar/4861538029579187188?po\x3d9077748260363085723\x26origin\x3dhttps://tahacodes.blogspot.com', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script><script type="text/javascript"> (function() { var script = document.createElement('script'); script.type = 'text/javascript'; script.src = '//pagead2.googlesyndication.com/pagead/js/google_top_exp.js'; var head = document.getElementsByTagName('head')[0]; if (head) { head.appendChild(script); }})(); </script> </div></div> </div> <!-- spacer for skins that want sidebar and main to be the same height--> <div class='clear'>&#160;</div> </div> <!-- end content-wrapper --> <div style='clear:both;'></div> </div></div> <div id='footer-widgets-container'> <div class='margin-1200'> <div class='clearfix' id='footer-widgets'> <div class='footer-widget-box'> <ul class='widget-container'> <li> <div class='footersec no-items section' id='footersec1'></div> </li> </ul> </div> <div class='footer-widget-box'> <ul class='widget-container'> <li> <div class='footersec no-items section' id='footersec2'></div> </li> </ul> </div> <div class='footer-widget-box'> <ul class='widget-container'> <li> <div class='footersec no-items section' id='footersec5'></div> </li> </ul> </div> <div class='footer-widget-box footer-widget-box-last'> <ul class='widget-container'> <li> <div class='footersec no-items section' id='footersec3'></div> </li> </ul> </div> </div> </div></div> <div class='fooc'> <div class='margin-1200'> <p>Copyright &copy; <script type='text/javascript'>var creditsyear = new Date();document.write(creditsyear.getFullYear());</script> Taha Codes&#8482; is a registered trademark.</p> </div> </div> <div style='clear:both;'></div> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/387437488-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AAVkm1uX6xo7c2-B6fkhCe08_YQx:1780402526689';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d4861538029579187188','//tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html','4861538029579187188'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '4861538029579187188', 'title': 'Taha Codes', 'url': 'https://tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html', 'canonicalUrl': 'http://tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html', 'homepageUrl': 'https://tahacodes.blogspot.com/', 'searchUrl': 'https://tahacodes.blogspot.com/search', 'canonicalHomepageUrl': 'http://tahacodes.blogspot.com/', 'blogspotFaviconUrl': 'https://tahacodes.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en-GB', 'localeUnderscoreDelimited': 'en_gb', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Taha Codes - Atom\x22 href\x3d\x22https://tahacodes.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Taha Codes - RSS\x22 href\x3d\x22https://tahacodes.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Taha Codes - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/4861538029579187188/posts/default\x22 /\x3e\n\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Taha Codes - Atom\x22 href\x3d\x22https://tahacodes.blogspot.com/feeds/9077748260363085723/comments/default\x22 /\x3e\n', 'meTag': '', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': false, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/9e84dfdf60ff6521', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Share to X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en_GB\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'item', 'postId': '9077748260363085723', 'pageName': 'Add Tabs in Theme Options in Wordpress', 'pageTitle': 'Taha Codes: Add Tabs in Theme Options in Wordpress'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard', 'ok': 'Ok', 'postLink': 'Post link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Add Tabs in Theme Options in Wordpress', 'description': ' Theme Options ...', 'url': 'https://tahacodes.blogspot.com/2015/11/add-tabs-in-theme-options-in-wordpress.html', 'type': 'item', 'isSingleItem': true, 'isMultipleItems': false, 'isError': false, 'isPage': false, 'isPost': true, 'isHomepage': false, 'isArchive': false, 'isLabelSearch': false, 'postId': 9077748260363085723}}]); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/1793375781-lbx__en_gb.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/828616780-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML105', 'recent1', document.getElementById('HTML105'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML106', 'recent2', document.getElementById('HTML106'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML107', 'recent3', document.getElementById('HTML107'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML108', 'recent4', document.getElementById('HTML108'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'sidebarright', document.getElementById('HTML2'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_PopularPostsView', new _WidgetInfo('PopularPosts2', 'sidebarright', document.getElementById('PopularPosts2'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'sidebarright', document.getElementById('Navbar1'), {}, 'displayModeFull')); </script> </body> </html>