[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fe3y7itrXxQbCqZY6bzU-4qrCYvrywWrCEKZouvu6LpM":3},{"slug":4,"name":5,"version":6,"author":7,"author_profile":8,"description":9,"short_description":10,"active_installs":11,"downloaded":12,"rating":13,"num_ratings":14,"last_updated":15,"tested_up_to":16,"requires_at_least":17,"requires_php":18,"tags":19,"homepage":24,"download_link":25,"security_score":26,"vuln_count":27,"unpatched_count":27,"last_vuln_date":28,"fetched_at":29,"vulnerabilities":30,"developer":31,"crawl_stats":28,"alternatives":37,"analysis":144,"fingerprints":268},"dx-advanced-widgets","DX-Advanced-Widgets","1.2.0","daxiawp","https:\u002F\u002Fprofiles.wordpress.org\u002Fdaxiawp\u002F","\u003Col>\n\u003Cli>Custom Category articles, and sort 自定义分类文章以及排序\u003C\u002Fli>\n\u003Cli>display the article thumbnail 显示文章缩略图功能\u003C\u002Fli>\n\u003Cli>flash show. 显示flash功能\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>详情：\u003Ca href=\"http:\u002F\u002Fwww.daxiawp.com\u002Fdx-advanced-widgets.html\" rel=\"nofollow ugc\">http:\u002F\u002Fwww.daxiawp.com\u002Fdx-advanced-widgets.html\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>Arbitrary section 1\u003C\u002Fh3>\n","Collection of advanced features of the widget. 小工具高级功能集合。",10,3161,100,2,"2013-01-10T17:31:00.000Z","3.5.2","3.1","",[20,21,22,23],"custom-widget","sidebar","widget","widgets","http:\u002F\u002Fwww.daxiawp.com\u002Fdx-advanced-widgets.html","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fdx-advanced-widgets.zip",85,0,null,"2026-03-15T15:16:48.613Z",[],{"slug":7,"display_name":7,"profile_url":8,"plugin_count":32,"total_installs":33,"avg_security_score":26,"avg_patch_time_days":34,"trust_score":35,"computed_at":36},3,320,30,84,"2026-04-04T20:21:27.864Z",[38,60,83,102,124],{"slug":39,"name":40,"version":41,"author":42,"author_profile":43,"description":44,"short_description":45,"active_installs":46,"downloaded":47,"rating":35,"num_ratings":48,"last_updated":49,"tested_up_to":50,"requires_at_least":51,"requires_php":18,"tags":52,"homepage":56,"download_link":57,"security_score":13,"vuln_count":58,"unpatched_count":27,"last_vuln_date":59,"fetched_at":29},"sidebar-manager","Lightweight Sidebar Manager","2.0.0","Brainstorm Force","https:\u002F\u002Fprofiles.wordpress.org\u002Fbrainstormforce\u002F","\u003Cp>Normally you have a sidebar that appears throughout the website. However, sometimes it is necessary to display a relevant, different sidebar on certain pages on the website. For an example: on WooCommerce pages, a sidebar with related or top seller products would be more relevant than the latest comments, blog posts right?\u003C\u002Fp>\n\u003Cp>This plugin helps you solve that problem as it allows you to create new sidebars and display them conditionally on certain locations of the website easily. Once the sidebar is created and displayed on pages you like, you can add relevant widgets in it.\u003C\u002Fp>\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fbsf.io\u002Fsidebar-manager-demo\" rel=\"nofollow ugc\">Try it out on a free dummy site\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>Some of the Features:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Create unlimited sidebars\u003C\u002Fli>\n\u003Cli>Place them any location your theme has defined (Footer Widgets \u002F Left or Right Sidebar)\u003C\u002Fli>\n\u003Cli>Works with any theme\u003C\u002Fli>\n\u003Cli>Conditionally display sidebars on specific posts, pages, taxonomies or custom post types\u003C\u002Fli>\n\u003Cli>Display sidebars based on user roles\u003C\u002Fli>\n\u003C\u002Fol>\n","Create new sidebar areas and display them conditionally on certain pages. Works with all themes.",90000,1089070,21,"2025-12-01T09:44:00.000Z","6.9.4","4.0",[53,54,55,39,23],"conditional-sidebar","custom-sidebar","custom-widget-areas","http:\u002F\u002Fwww.brainstormforce.com","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fsidebar-manager.2.0.0.zip",1,"2020-09-16 00:00:00",{"slug":61,"name":62,"version":63,"author":64,"author_profile":65,"description":66,"short_description":67,"active_installs":68,"downloaded":69,"rating":70,"num_ratings":71,"last_updated":72,"tested_up_to":73,"requires_at_least":74,"requires_php":18,"tags":75,"homepage":79,"download_link":80,"security_score":81,"vuln_count":14,"unpatched_count":14,"last_vuln_date":82,"fetched_at":29},"sidebar-manager-light","Sidebar Manager Light","1.18","OTWthemes","https:\u002F\u002Fprofiles.wordpress.org\u002Fotwthemes\u002F","\u003Cp>You can now replace an existing sidebar (widget area) with a custom sidebar for one or group of pages. The content of the new sidebar will be displayed on the exact same spot as the one you select to replace only for those pages you selected.\u003C\u002Fp>\n\u003Cp>Once created all custom sidebars will be available in Appearance -> Widgets. You can drop any number of widgets in any of your custom sidebars. They work exacly the same way as the default once.\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>Upgrade to the Pro version of this plugin – the worlds most complete Sidebar and Widget management system for WordPress including regular updates and premium support:\u003Cbr \u002F>\n  \u003Ca href=\"https:\u002F\u002F1.envato.market\u002Fc\u002F1246358\u002F275988\u002F4415?subId1=sbm&subId2=2020&subId3=https%3A%2F%2Fcodecanyon.net%2Fitem%2Fsidebar-widget-manager-for-wordpress%2F2287447&u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Fsidebar-widget-manager-for-wordpress%2F2287447\" rel=\"nofollow ugc\">Sidebar and Widget Manager\u003C\u002Fa> | \u003Ca href=\"http:\u002F\u002Fotwthemes.com\u002Fdemos\u002F1ts\u002F?item=Sidebar%20Widget%20Manager&utm_source=wp.org&utm_medium=page&utm_content=upgrade&utm_campaign=sml\" rel=\"nofollow ugc\">Demo site\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Add as many sidebars (widget areas) as you need. Creating sidebars(widget areas) is unlimited.\u003C\u002Fp>\n\u003Cp>WMPL plugin support so you can display sidebars and widgets based on language.\u003C\u002Fp>\n\u003Cp>Sidebars can be displayed based on User role too.\u003C\u002Fp>\n\u003Cp>Here are some examples:\u003C\u002Fp>\n\u003Cp>Lets say you would like to display a certain set of widgets on your blog page, different set of widgets on your portfolio, and different set on your contact page. All that on the spot where the primary sidebar of your theme is located. You can do that by creating 3 sidebars replacing the primary sidebar and set each custom sidebar to display on blog or portfolio or contacts.\u003C\u002Fp>\n\u003Cp>If you have an advanced theme that has some extra widget areas you can replace those as well. Practically any sidebar(widget area) can be replaced.\u003C\u002Fp>\n\u003Cp>This is very easy and fun to do and requires no coding knowledge at all.\u003C\u002Fp>\n\u003Cp>How Sidebar Manager Light works:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Create a custom sidebar\u003C\u002Fli>\n\u003Cli>Choose which sidebar to replace\u003C\u002Fli>\n\u003Cli>Choose pages that will display the new sidebar\u003C\u002Fli>\n\u003Cli>Go to your widgets section and drop some widgets in your new sidebar\u003C\u002Fli>\n\u003C\u002Ful>\n","Create custom sidebars (widget areas) and replace any existing sidebar so you can display relevant content on different pages.",1000,71548,86,13,"2022-03-04T04:18:00.000Z","5.9.13","3.0",[54,76,77,78,21],"custom-widget-area-widgets","replace-sidebar","replace-widget-area","http:\u002F\u002Fotwthemes.com\u002F?utm_source=wp.org&utm_medium=admin&utm_content=site&utm_campaign=sml","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fsidebar-manager-light.zip",42,"2025-05-07 00:00:00",{"slug":84,"name":85,"version":86,"author":87,"author_profile":88,"description":89,"short_description":90,"active_installs":91,"downloaded":92,"rating":13,"num_ratings":58,"last_updated":93,"tested_up_to":94,"requires_at_least":74,"requires_php":18,"tags":95,"homepage":100,"download_link":101,"security_score":26,"vuln_count":27,"unpatched_count":27,"last_vuln_date":28,"fetched_at":29},"widget-entries","Widget Entries","0.1","marquex","https:\u002F\u002Fprofiles.wordpress.org\u002Fmarquex\u002F","\u003Cp>The text widget that comes with WordPress is one of the its most useful features because of its power and flexibility. It admits HTML code but it is not very comfortable to code in that small box, so that is the reason because some WYSIWYG widgets were created some later, you can add images, and format the text easily.\u003C\u002Fp>\n\u003Cp>But widgets are pieces of our sites intended to change some often, and it would be nice to have revisions, or upload images just for them, use shortcodes… cutting the story short, to \u003Cstrong>handle widgets as they were posts\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cp>Widget Entries plugin creates the Widget post-type in the administration area to make easier the edition of the text widgets, and also register a new widget to import the widget entries easily.\u003C\u002Fp>\n\u003Cp>This way of working has many advantages:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>You can format your widget with the WordPress editor.\u003C\u002Fli>\n\u003Cli>You can upload images directly to be shown in your widgets.\u003C\u002Fli>\n\u003Cli>You can have widgets drafts.\u003C\u002Fli>\n\u003Cli>You can use shortcodes inside your widget.\u003C\u002Fli>\n\u003Cli>You can get back to a previous version of your widgets thanks to the revision feature.\u003C\u002Fli>\n\u003Cli>You can export your widgets contents.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>And you have more benefits like \u003Cstrong>using php scripts inside the widgets\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cp>This is the best way to manage your widgets when your theme has several sidebars, or different sidebars for every page. I recommend to use the \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fextend\u002Fplugins\u002Fcustom-sidebars\u002F\" rel=\"ugc\">Custom Sidebars plugin\u003C\u002Fa> to create and assign sidebars to posts and pages.\u003C\u002Fp>\n\u003Cp>This plugin uses the \u003Ca href=\"https:\u002F\u002Fprofiles.wordpress.org\u002Fusers\u002Fvtardia\u002F\" rel=\"nofollow ugc\">vtardia’s\u003C\u002Fa> \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fextend\u002Fplugins\u002Fimproved-include-page\u002F\" rel=\"ugc\">Improved Include Page Plugin\u003C\u002Fa> to show the Widget posts. Thanks for his outstanding job.\u003C\u002Fp>\n\u003Cp>Translations are welcome! I will write your name down here if you donate your translation work. Thanks very much to:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>marquex – English\u003C\u002Fli>\n\u003Cli>marquex – Spanish\u003C\u002Fli>\n\u003C\u002Ful>\n","Widget Entries plugin creates the Widget post-type in the administration area to make easier the edition of the text widgets, and it also register a n &hellip;",400,18235,"2011-01-24T13:28:00.000Z","3.1.4",[96,97,98,99,22],"custom-widgets","php","post-type","sidebars","http:\u002F\u002Fmarquex.posterous.com\u002Fpages\u002Fwidget-entries","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwidget-entries.zip",{"slug":103,"name":104,"version":105,"author":106,"author_profile":107,"description":108,"short_description":109,"active_installs":110,"downloaded":111,"rating":112,"num_ratings":113,"last_updated":114,"tested_up_to":50,"requires_at_least":115,"requires_php":116,"tags":117,"homepage":120,"download_link":121,"security_score":122,"vuln_count":32,"unpatched_count":27,"last_vuln_date":123,"fetched_at":29},"custom-sidebars","Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager","3.38","WebFactory","https:\u002F\u002Fprofiles.wordpress.org\u002Fwebfactory\u002F","\u003Cp>\u003Cstrong>Manage and replace sidebars and other classic widget areas on your site with Custom Sidebars, a flexible widget area manager.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Make custom sidebar configurations and be able to choose what classic widgets display on each page or post of your site.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Need to make a \u003Cstrong>widget sticky\u003C\u002Fstrong> or fixed? Try our free \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fsticky-menu-or-anything-on-scroll\u002F\" rel=\"ugc\">WP Sticky Anything\u003C\u002Fa> plugin.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Custom Sidebars works ONLY with the classic widgets screen that was used in WordPress before version 5.8. If you want to use it with version 5.8 (and above) you have to install the official \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fclassic-widgets\u002F\" rel=\"ugc\">Classic Widgets\u003C\u002Fa> plugin, or enable the classic widgets interface yourself. Once the classic widgets screen is activated the plugin will work the same as before.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Having problems setting up SSL or generating an SSL certificate? Install the free \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwp-force-ssl\u002F\" rel=\"ugc\">WP Force SSL\u003C\u002Fa> plugin.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Display Different Sidebars on Pages and Posts\u003C\u002Fh4>\n\u003Cp>Custom Sidebars allows you to dynamically display custom widget configurations on any page, post, category, post type, or archive page.\u003C\u002Fp>\n\u003Cp>★★★★★\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>“Custom Sidebars will go on my “essential plugins” list from now on. I am pleased by how easy it was to figure out and by how many options are available in the free version.” – \u003Ca href=\"https:\u002F\u002Fprofiles.wordpress.org\u002Fmonkeyhateclean\" rel=\"nofollow ugc\">monkeyhateclean\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>★★★★★\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>“This plugin does exactly what it says. It’s light, integrates well into WordPress and gives you tons of possibilities.” – \u003Ca href=\"https:\u002F\u002Fprofiles.wordpress.org\u002Fdarknova11\" rel=\"nofollow ugc\">DarkNova\u003C\u002Fa>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Every part of Custom Sidebars integrates seamlessly with the Widgets menu for simplicity and control. No confusing settings pages or added menu items, just simple core integration.\u003C\u002Fp>\n\u003Ch4>A Simple Flexible Sidebar Manager\u003C\u002Fh4>\n\u003Cp>** Custom Sidebars Includes: **\u003Cbr \u002F>\n* Unlimited custom widget configurations\u003Cbr \u002F>\n* Set custom widgets for individual posts and pages, categories, post types, and archives\u003Cbr \u002F>\n* Seamless integration with the WordPress Widgets menu\u003Cbr \u002F>\n* Works with well-coded themes and doesn’t slow down your site\u003Cbr \u002F>\n* Set individual widget visibility – for guests, by user role, by post type, for special pages or categories\u003Cbr \u002F>\n* Author specific sidebars – display a custom sidebar for each of your authors\u003Cbr \u002F>\n* Clone and sync widget settings – quickly edit complex configurations\u003Cbr \u002F>\n* Import and export custom sidebars – backup and share sidebars\u003C\u002Fp>\n\u003Cp>Install Custom Sidebars and see for yourself why it’s the most popular widget extension plugin available for WordPress with over 200,000 active installs.\u003C\u002Fp>\n\u003Ch3>Contact and Credits\u003C\u002Fh3>\n\u003Cp>Original development completed by \u003Ca href=\"http:\u002F\u002Fmarquex.es\u002F\" rel=\"nofollow ugc\">Javier Marquez\u003C\u002Fa>.\u003C\u002Fp>\n","Flexible sidebars for custom classic widget configurations on any page or post. Create custom sidebars with ease!",100000,5193767,94,1028,"2025-12-03T19:20:00.000Z","4.6","5.6",[118,54,119,21,22],"classic-widgets","dynamic-widgets","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fcustom-sidebars\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fcustom-sidebars.3.38.zip",98,"2017-10-04 00:00:00",{"slug":125,"name":126,"version":127,"author":128,"author_profile":129,"description":130,"short_description":131,"active_installs":110,"downloaded":132,"rating":133,"num_ratings":134,"last_updated":135,"tested_up_to":50,"requires_at_least":74,"requires_php":136,"tags":137,"homepage":18,"download_link":141,"security_score":142,"vuln_count":14,"unpatched_count":27,"last_vuln_date":143,"fetched_at":29},"widget-logic","Widget Logic","6.0.9","Widgetlogic.org","https:\u002F\u002Fprofiles.wordpress.org\u002Fwidgetlogics\u002F","\u003Cp>This plugin gives every widget an extra control field called “Widget logic” that lets you control the pages that the widget will appear on. The text field lets you use WP’s \u003Ca href=\"https:\u002F\u002Fcodex.wordpress.org\u002FConditional_Tags\" rel=\"nofollow ugc\">Conditional Tags\u003C\u002Fa>, or any general PHP code.\u003C\u002Fp>\n\u003Cp>The configuring and options are in the usual widget admin interface.\u003C\u002Fp>\n\u003Cp>BIG UPDATE:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Now you can control widget in Gutenberg Widgets editor as well as in Classic Editor. It is just as easy as before but also in gutenberg view.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Pre-installed widgets let you add special widget with one click of the mouse. First pre-installed widget is Live Match that let you add widget of one random live football game with real time score updates (teams logos, livescore, minute of the match, tournament name). And more interesting widgets to come!\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>\u003Cstrong>NOTE ON DEFAULT FUNCTIONS:\u003C\u002Fstrong> Widget Logic includes a whitelist of common WordPress conditional tags and safe functions. If you need additional WordPress functions that are not currently whitelisted, please create a topic in our \u003Ca href=\"https:\u002F\u002Fwordpress.org\u002Fsupport\u002Fplugin\u002Fwidget-logic\u002F\" rel=\"ugc\">support forum\u003C\u002Fa> to request them. We regularly add commonly requested functions in new releases.\u003C\u002Fp>\n\u003Ch4>Configuration\u003C\u002Fh4>\n\u003Cp>Aside from logic against your widgets, there are three options added to the foot of the widget admin page (see screenshots).\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>Use ‘wp_reset_query’ fix — Many features of WP, as well as the many themes and plugins out there, can mess with the conditional tags, such that is_home is NOT true on the home page. This can often be fixed with a quick wp_reset_query() statement just before the widgets are called, and this option puts that in for you rather than having to resort to code editing\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Load logic — This option allows you to set the point in the page load at which your widget logic if first checked. Pre v.50 it was when the ‘wp_head’ trigger happened, ie during the creation of the HTML’s HEAD block. Many themes didn’t call wp_head, which was a problem. From v.50 it happens, by default, as early as possible, which is as soon as the plugin loads. You can now specify these ‘late load’ points (in chronological order):\u003C\u002Fp>\n\u003Cul>\n\u003Cli>after the theme loads (after_setup_theme trigger)\u003C\u002Fli>\n\u003Cli>when all PHP loaded (wp_loaded trigger)\u003C\u002Fli>\n\u003Cli>after query variables set (parse_query) – this is the default\u003C\u002Fli>\n\u003Cli>during page header (wp_head trigger)\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>You may need to delay the load if your logic depends on functions defined, eg in the theme functions.php file. Conversely you may want the load early so that the widget count is calculated correctly, eg to show an alternative layour or content when a sidebar has no widgets.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Don’t cache widget logic results — From v .58 the widget logic code should only execute once, but that might cause unexpected results with some themes, so this option is here to turn that behaviour off. (The truth\u002Ffalse of the code will be evaluated every time the sidebars_widgets filter is called.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Custom PHP Functions — From v.6.0.6 you can use the \u003Ccode>widget_logic_allowed_functions\u003C\u002Fcode> filter to add custom PHP functions that will be allowed in Widget Logic fields. By default, only WordPress conditional tags and a whitelist of safe functions are available. This filter allows you to extend the functionality and use your own custom functions.\u003C\u002Fp>\n\u003Cp>To add a custom function, add the following code to your theme’s \u003Ccode>functions.php\u003C\u002Fcode> file:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>`add_filter('widget_logic_allowed_functions', 'my_allowed_functions');\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>function my_allowed_functions($functions) {\u003Cbr \u002F>\n    $functions[] = ‘\u003Cem>my_custom_function_name\u003C\u002Fem>‘;\u003Cbr \u002F>\n    return $functions;\u003Cbr \u002F>\n}`\u003C\u002Fp>\n\u003Cp>You can add multiple functions by using one wrapper function:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>`add_filter('widget_logic_allowed_functions', 'my_allowed_functions');\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>function my_allowed_functions($functions) {\u003Cbr \u002F>\n    $functions[] = ‘is_special_page’;\u003Cbr \u002F>\n    $functions[] = ‘is_user_verified’;\u003Cbr \u002F>\n    $functions[] = ‘get_sidebar_title’;\u003Cbr \u002F>\n    return $functions;\u003Cbr \u002F>\n}`\u003C\u002Fp>\n\u003Cp>\u003Cstrong>IMPORTANT NOTE ON VARIABLES:\u003C\u002Fstrong> Widget Logic is designed to work with simple data types (strings, numbers, booleans). If you need to use complex variables, global state, or conditional logic that depends on many factors, create a custom function in your theme’s \u003Ccode>functions.php\u003C\u002Fcode> file and call it from Widget Logic:\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Good approach (in functions.php):\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cpre>\u003Ccode>`function is_special_page() {\nglobal $post;\n$special_ids = array(5, 10, 15);\n$conditions = some_complex_function();\n\nreturn is_page() && in_array($post->ID, $special_ids) && $conditions;\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>}`\u003C\u002Fp>\n\u003Cp>Then in Widget Logic field, simply use: \u003Ccode>is_special_page()\u003C\u002Fcode>\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Less ideal approach (in Widget Logic field):\u003C\u002Fstrong>\u003Cbr \u002F>\nAvoid putting complex logic directly in the Widget Logic field. Keep it simple and let your custom function handle the complexity. This keeps your widget settings clean and maintainable.\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Interaction with External Services\u003C\u002Fh4>\n\u003Cp>Widget Logic uses the external service to obtain up-to-date information about the results of football matches. \u003Ca href=\"https:\u002F\u002Fwidgetlogic.org\" rel=\"nofollow ugc\">widgetlogic.org\u003C\u002Fa> is a source of sports information, that provides a wide range of information about football, including various leagues, tournaments, and championships from around the world.\u003C\u002Fp>\n\u003Cp>The functioning of the \u003Ca href=\"https:\u002F\u002Fwidgetlogic.org\" rel=\"nofollow ugc\">widgetlogic.org\u003C\u002Fa> service is based on delivering real-time data about selected matches without the need to refresh the page. This means that data is automatically updated without requiring page reload. This approach ensures users quick and uninterrupted access to the latest sports data without the effort of manually updating information, allowing them to stay informed about ongoing events in real-time.\u003C\u002Fp>\n\u003Ch3>Writing Logic Code\u003C\u002Fh3>\n\u003Cp>The text in the ‘Widget logic’ field can be full PHP code and should return ‘true’ when you need the widget to appear. If there is no ‘return’ in the text, an implicit ‘return’ is added to the start and a ‘;’ is added on the end. (This is just to make single statements like is_home() more convenient.)\u003C\u002Fp>\n\u003Ch4>The Basics\u003C\u002Fh4>\n\u003Cp>Make good use of \u003Ca href=\"https:\u002F\u002Fcodex.wordpress.org\u002FConditional_Tags\" rel=\"nofollow ugc\">WP’s own conditional tags\u003C\u002Fa>. You can vary and combine code using:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>!\u003C\u002Fcode> (NOT) to \u003Cstrong>reverse\u003C\u002Fstrong> the logic, eg \u003Ccode>!is_home()\u003C\u002Fcode> is TRUE when this is NOT the home page.\u003C\u002Fli>\n\u003Cli>\u003Ccode>||\u003C\u002Fcode> (OR) to \u003Cstrong>combine\u003C\u002Fstrong> conditions. \u003Ccode>X OR Y\u003C\u002Fcode> is TRUE when either X is true or Y is true.\u003C\u002Fli>\n\u003Cli>\u003Ccode>&&\u003C\u002Fcode> (AND) to make conditions \u003Cstrong>more specific\u003C\u002Fstrong>. \u003Ccode>X AND Y\u003C\u002Fcode> is TRUE when both X is true and Y is true.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>There are lots of great code examples on the WP forums, and on WP sites across the net. But the WP Codex is also full of good examples to adapt, such as \u003Ca href=\"https:\u002F\u002Fcodex.wordpress.org\u002FTemplate_Tags\u002Fin_category#Testing_if_a_post_is_in_a_descendant_category\" rel=\"nofollow ugc\">Test if post is in a descendent category\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch4>Examples\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Ccode>is_home()\u003C\u002Fcode> — just the main blog page\u003C\u002Fli>\n\u003Cli>\u003Ccode>!is_page('about')\u003C\u002Fcode> — everywhere EXCEPT this specific WP ‘page’\u003C\u002Fli>\n\u003Cli>\u003Ccode>!is_user_logged_in()\u003C\u002Fcode> — shown when a user is not logged in\u003C\u002Fli>\n\u003Cli>\u003Ccode>is_category(array(5,9,10,11))\u003C\u002Fcode> — category page of one of the given category IDs\u003C\u002Fli>\n\u003Cli>\u003Ccode>is_single() && in_category('baked-goods')\u003C\u002Fcode> — single post that’s in the category with this slug\u003C\u002Fli>\n\u003Cli>\u003Ccode>current_user_can('level_10')\u003C\u002Fcode> — admin only widget\u003C\u002Fli>\n\u003Cli>\u003Ccode>strpos($_SERVER['HTTP_REFERER'], \"google.com\")!=false\u003C\u002Fcode> — widget to show when clicked through from a google search\u003C\u002Fli>\n\u003Cli>\u003Ccode>is_category() && custom_function_to_check_the_category()\u003C\u002Fcode> — category page that’s a descendent of category 5\u003C\u002Fli>\n\u003Cli>\u003Ccode>custom_function_from_functions_php_to_check_the_page()\u003C\u002Fcode> — WP page that is a child of page 77\u003C\u002Fli>\n\u003Cli>\u003Ccode>custom_function_from_functions_php_to_check_the_page_child_of(13)\u003C\u002Fcode> — home page OR the page that’s a child of page 13\u003C\u002Fli>\n\u003C\u002Ful>\n","Widget Logic lets you control on which pages widgets appear using WP's conditional tags.",3242040,88,188,"2026-01-15T09:43:00.000Z","5.4",[138,139,140,21,22],"blocks","conditional-tags","gutenberg-widgets","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwidget-logic.6.0.9.zip",95,"2025-06-09 00:00:00",{"attackSurface":145,"codeSignals":161,"taintFlows":253,"riskAssessment":254,"analyzedAt":267},{"hooks":146,"ajaxHandlers":157,"restRoutes":158,"shortcodes":159,"cronEvents":160,"entryPointCount":27,"unprotectedCount":27},[147,153],{"type":148,"name":149,"callback":150,"file":151,"line":152},"action","plugins_loaded","load_languages","dx-advanced-widgets.php",15,{"type":148,"name":154,"callback":155,"file":151,"line":156},"widgets_init","anonymous",16,[],[],[],[],{"dangerousFunctions":162,"sqlUsage":166,"outputEscaping":168,"fileOperations":27,"externalRequests":27,"nonceChecks":27,"capabilityChecks":27,"bundledLibraries":252},[163],{"fn":164,"file":151,"line":156,"context":165},"create_function","add_action( 'widgets_init', create_function( '', 'register_widget( \"DX_Custom_Articles_List_Widget\" ",{"prepared":27,"raw":27,"locations":167},[],{"escaped":169,"rawEcho":170,"locations":171},9,50,[172,175,176,177,178,180,182,183,184,186,188,190,191,193,195,196,197,199,200,202,204,205,206,208,209,210,212,214,215,216,218,220,221,222,224,225,226,228,230,232,234,236,238,240,241,243,244,246,248,250],{"file":173,"line":156,"context":174},"extension\\custom-articles-list\\form.php","raw output",{"file":173,"line":156,"context":174},{"file":173,"line":156,"context":174},{"file":173,"line":156,"context":174},{"file":173,"line":179,"context":174},19,{"file":173,"line":181,"context":174},20,{"file":173,"line":181,"context":174},{"file":173,"line":181,"context":174},{"file":173,"line":185,"context":174},23,{"file":173,"line":187,"context":174},28,{"file":173,"line":189,"context":174},29,{"file":173,"line":189,"context":174},{"file":173,"line":192,"context":174},36,{"file":173,"line":194,"context":174},37,{"file":173,"line":194,"context":174},{"file":173,"line":170,"context":174},{"file":173,"line":198,"context":174},51,{"file":173,"line":198,"context":174},{"file":173,"line":201,"context":174},59,{"file":173,"line":203,"context":174},60,{"file":173,"line":203,"context":174},{"file":173,"line":203,"context":174},{"file":173,"line":207,"context":174},61,{"file":173,"line":207,"context":174},{"file":173,"line":207,"context":174},{"file":173,"line":211,"context":174},63,{"file":173,"line":213,"context":174},64,{"file":173,"line":213,"context":174},{"file":173,"line":213,"context":174},{"file":173,"line":217,"context":174},68,{"file":173,"line":219,"context":174},69,{"file":173,"line":219,"context":174},{"file":173,"line":219,"context":174},{"file":173,"line":223,"context":174},70,{"file":173,"line":223,"context":174},{"file":173,"line":223,"context":174},{"file":227,"line":48,"context":174},"extension\\custom-articles-list\\widget.php",{"file":227,"line":229,"context":174},24,{"file":227,"line":231,"context":174},43,{"file":227,"line":233,"context":174},45,{"file":227,"line":235,"context":174},81,{"file":227,"line":237,"context":174},82,{"file":227,"line":239,"context":174},90,{"file":227,"line":239,"context":174},{"file":227,"line":242,"context":174},91,{"file":227,"line":242,"context":174},{"file":227,"line":245,"context":174},92,{"file":227,"line":247,"context":174},109,{"file":227,"line":249,"context":174},112,{"file":227,"line":251,"context":174},121,[],[],{"summary":255,"deductions":256},"The dx-advanced-widgets v1.2.0 plugin exhibits a generally strong security posture with several positive indicators.  Notably, the absence of any known CVEs and a clean vulnerability history suggest responsible development practices over time.  The static analysis also highlights good practices such as 100% of SQL queries using prepared statements and no external HTTP requests or file operations.  However, the presence of the dangerous `create_function` function is a significant concern, as it can be exploited to execute arbitrary PHP code under certain circumstances, especially if its input is not rigorously sanitized.  Furthermore, the low percentage of properly escaped output (15%) indicates a widespread risk of Cross-Site Scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into user interfaces.  The lack of any capability checks or nonce checks across all entry points, although the static analysis reports zero entry points, suggests that if any were present, they would likely be vulnerable.  This combination of potential code execution and XSS risks, despite an otherwise clean history, warrants careful consideration.",[257,259,262,265],{"reason":258,"points":152},"Use of dangerous function: create_function",{"reason":260,"points":261},"Low output escaping coverage",8,{"reason":263,"points":264},"Missing capability checks",5,{"reason":266,"points":264},"Missing nonce checks","2026-03-17T01:00:27.274Z",{"wat":269,"direct":278},{"assetPaths":270,"generatorPatterns":274,"scriptPaths":275,"versionParams":277},[271,272,273],"\u002Fwp-content\u002Fplugins\u002Fdx-advanced-widgets\u002Fextension\u002Fcustom-articles-list\u002Fform.js","\u002Fwp-content\u002Fplugins\u002Fdx-advanced-widgets\u002Fextension\u002Fcustom-articles-list\u002Fwidget.php","\u002Fwp-content\u002Fplugins\u002Fdx-advanced-widgets\u002Fextension\u002Fcustom-articles-list\u002Fform.php",[],[276],"form.js",[],{"cssClasses":279,"htmlComments":280,"htmlAttributes":281,"restEndpoints":282,"jsGlobals":283,"shortcodeOutput":284},[],[],[],[],[],[]]