[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fV3x9sjvrMraeMWGlfUp3WrPSy8AohTLKOQ1nRVwwpyw":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"byteenable","ByteEnable","https:\u002F\u002Fprofiles.wordpress.org\u002Fbyteenable\u002F",1,10,85,30,84,"2026-04-05T20:27:29.121Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":7,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":25,"download_link":31,"security_score":9,"vuln_count":32,"unpatched_count":32,"last_vuln_date":33,"fetched_at":34},"byte-php-code","Byte's PHP Code Widget","0.4","\u003Cp>This is a widget plugin that allow’s you to mix PHP and html code with mobile\u003Cbr \u002F>\nsupport.  Two text area’s are provided.  The first is the standard “Title”.\u003Cbr \u002F>\nThe one named “Code:” can mix PHP and html.  Two checkboxes allow you to choose\u003Cbr \u002F>\nbefore and\u002For after posts.  No limit on the number of widgets.\u003C\u002Fp>\n\u003Cp>WordPress version 3.4 and higher has defined a function called wp_is_mobile().\u003Cbr \u002F>\nThis can be used inside your code mix to perform certain actions if the\u003Cbr \u002F>\nbrowser is mobile.  Mobile support is via wp_is_mobile() function which returns\u003Cbr \u002F>\ntrue if on a mobile browser.  See the WordPress API for more information.\u003C\u002Fp>\n\u003Cp>Dynamic title support means that you can name your widget using the title\u003Cbr \u002F>\nfield and not have it displayed in the output.  This is useful to give\u003Cbr \u002F>\nyour widgets meaningful names so you don’t lose track of what is going\u003Cbr \u002F>\non with your widgets.\u003C\u002Fp>\n\u003Cp>Two variables have been defined for use with Google Mobile Adsense:\u003C\u002Fp>\n\u003Cp>$myMobileAdsenseCode;\u003Cbr \u002F>\n$myMobileAdsenseSlot;\u003C\u002Fp>\n\u003Cp>This widget requires some knowledge of PHP and HTML coding.  Misuse could crash\u003Cbr \u002F>\nyour site or cause errors with Adsense.\u003C\u002Fp>\n\u003Cp>Examples:\u003C\u002Fp>\n\u003Cp>Output:\u003Cbr \u002F>\n5\u003C\u002Fp>\n\u003Cp>To use Google mobile adsense include the following in the “Code:” area:\u003C\u002Fp>\n\u003Cp>The plugin will take care of the rest.  Another check is made to ensure\u003Cbr \u002F>\nthat wp_is_mobile is true inside the plugin and that the Google Adsense variable\u003Cbr \u002F>\nhas a value.\u003C\u002Fp>\n\u003Cp>You can combine both regular and mobile adsense.  Be careful.\u003C\u002Fp>\n\u003Cp>The following snippet will either show mobile or regular ads depending on the\u003Cbr \u002F>\nbrowswer used by the end-user.\u003C\u002Fp>\n\u003Cp>\u003C ?php\u003Cbr \u002F>\nif ( !wp_is_mobile() ) {\u003Cbr \u002F>\necho '\u003Cbr \u002F>\n\u003C!-- after-content -->\u003C\u002Fp>\n\u003Cp>(adsbygoogle = window.adsbygoogle || []).push({});\u003Cbr \u002F>\n‘;}\u003Cbr \u002F>\nelse {\u003Cbr \u002F>\n$myMobileAdsenseClient=’ca-mb-pub-xxxxxxxxxxxx’;\u003Cbr \u002F>\n$myMobileAdsenseSlot=’xxxxxxxxxx’;\u003Cbr \u002F>\n}?>\u003C\u002Fp>\n\u003Cp>Ordered list:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Support for the mixing of PHP and HTML\u003C\u002Fli>\n\u003Cli>Support for mobile browsers\u003C\u002Fli>\n\u003Cli>Support for Google Adsense including mobilie\u003C\u002Fli>\n\u003Cli>Includes “before post” support\u003C\u002Fli>\n\u003Cli>Includes “after post” support\u003C\u002Fli>\n\u003Cli>No limit on the number of widgets\u003C\u002Fli>\n\u003Cli>Includes dynamic title support in sidebars\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>Unordered list:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Support for the mixing of PHP and HTML\u003C\u002Fli>\n\u003Cli>Support for mobile browsers\u003C\u002Fli>\n\u003Cli>Support for Google adsense including mobile\u003C\u002Fli>\n\u003Cli>Includes support for “before post”\u003C\u002Fli>\n\u003Cli>Includes support for “after post”\u003C\u002Fli>\n\u003Cli>No limit on the number of widgets\u003C\u002Fli>\n\u003Cli>Include dynamic title support in sidebars\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Link to [WordPress](https:\u002F\u002Fwordpress.org\u002F \\”Your favorite software\\”) and one to [Markdown\\’s Syntax Documentation][markdown syntax].\u003C\u002Fp>\n","Mix HTML and PHP in a widget with mobile support.",2736,100,"2013-11-12T15:48:00.000Z","3.7.41","3.4","",[27,28,29,30],"eval","execute","php","widget","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fbyte-php-code.0.4.zip",0,null,"2026-03-15T15:16:48.613Z"]