[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f2YIVtexqpInpAG8NKqrD6O2ft7Pz-YI-rYXzDkSWLwc":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":13,"last_updated":14,"tested_up_to":15,"requires_at_least":16,"requires_php":17,"tags":18,"homepage":21,"download_link":22,"security_score":23,"vuln_count":13,"unpatched_count":13,"last_vuln_date":24,"fetched_at":25,"vulnerabilities":26,"developer":27,"crawl_stats":24,"alternatives":35,"analysis":58,"fingerprints":110},"different-menu-in-different-pages-and-posts","Different Menu in Different Pages and Posts","1.0.0","Tushar Satani","https:\u002F\u002Fprofiles.wordpress.org\u002Ftusharknovator\u002F","\u003Cp>Different Menu in Different Pages and Posts plugin allows user to display ‘menu of choice’ to display on the header of posts and pages\u003Cbr \u002F>\nSet the menu from the dropdown shown in the post and page screen to automatically display it on the header of that particular page or posts.\u003C\u002Fp>\n","Different Menu in Different Pages and Posts plugin allows user to display 'menu of choice' to display on the header of posts and pages",20,948,0,"2024-04-25T07:55:00.000Z","6.4.8","4.0","7.4",[19,20],"conditional-menus","different-menus-for-different-pages","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fdifferent-menu-in-different-pages-and-posts\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fdifferent-menu-in-different-pages-and-posts.zip",92,null,"2026-03-15T15:16:48.613Z",[],{"slug":28,"display_name":7,"profile_url":8,"plugin_count":29,"total_installs":30,"avg_security_score":31,"avg_patch_time_days":32,"trust_score":33,"computed_at":34},"tusharknovator",4,140,94,30,90,"2026-04-04T16:29:28.467Z",[36],{"slug":37,"name":38,"version":39,"author":40,"author_profile":41,"description":42,"short_description":43,"active_installs":13,"downloaded":44,"rating":45,"num_ratings":46,"last_updated":47,"tested_up_to":48,"requires_at_least":49,"requires_php":50,"tags":51,"homepage":56,"download_link":57,"security_score":45,"vuln_count":13,"unpatched_count":13,"last_vuln_date":24,"fetched_at":25},"menu-ghost","Menu Ghost","2.0.1","Reza Sarailoo","https:\u002F\u002Fprofiles.wordpress.org\u002Fsarailoo\u002F","\u003Cp>Menu Ghost lets you conditionally display each menu item based on factors like user role, device, date, pages, and more.\u003C\u002Fp>\n\u003Cp>Design frictionless navigation experiences and boost conversions by only showing relevant menu items to each visitor. Menu Ghost integrates with the native WordPress menu editor and adds a modern conditions interface that feels like it belongs in core. Everything happens inside \u003Cstrong>Appearance \u003Cspan aria-hidden=\"true\" class=\"wp-exclude-emoji\">→\u003C\u002Fspan> Menus\u003C\u002Fstrong> (classic themes) or \u003Cstrong>Site Editor \u003Cspan aria-hidden=\"true\" class=\"wp-exclude-emoji\">→\u003C\u002Fspan> Navigation\u003C\u002Fstrong> (block themes) no shortcodes or template edits required.\u003C\u002Fp>\n\u003Ch3>What does Menu Ghost do?\u003C\u002Fh3>\n\u003Cp>Menu Ghost gives you total control over which navigation links appear and when. Build unlimited rule sets per menu item, combining audience, page, schedule, and campaign conditions. Hide seasonal promotions after a sale ends, display member-only dashboards, or show localized links based on browser language.\u003C\u002Fp>\n\u003Ch3>Key features\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>\u003Cstrong>Audience targeting\u003C\u002Fstrong> – Show or hide menu items based on user role, login status, browser language, or detected device (desktop, tablet, mobile).\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Page & post rules\u003C\u002Fstrong> – Limit links to specific pages, post types, taxonomies, archives, author archives, search results, or 404 pages.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Scheduling controls\u003C\u002Fstrong> – Activate items on selected weekdays, within date ranges, or during daily time windows.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Campaign awareness\u003C\u002Fstrong> – React to query-string values, UTM parameters, or custom marketing links for landing pages.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>No-code workflow\u003C\u002Fstrong> – React-powered UI inside the existing menu screen. Toggle rules with familiar WordPress components.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Unlimited conditions\u003C\u002Fstrong> – Stack include\u002Fexclude rules to create precise logic for every menu item.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Performance friendly\u003C\u002Fstrong> – All logic runs server-side with cached WordPress APIs. No front-end scripts added to your theme.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Popular use cases\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Display a “Members Area” link only to logged-in customers on desktop.\u003C\u002Fli>\n\u003Cli>Promote a holiday sale on every page until a specific date\u002Ftime is reached.\u003C\u002Fli>\n\u003Cli>Replace “Book a call” with “Download brochure” on mobile visitors to boost conversions.\u003C\u002Fli>\n\u003Cli>Show “Return to checkout” when users view product archives, but hide it elsewhere.\u003C\u002Fli>\n\u003Cli>Localize navigation labels and URLs based on browser language or UTM campaigns.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Why choose Menu Ghost?\u003C\u002Fh3>\n\u003Col>\n\u003Cli>\u003Cstrong>Native experience\u003C\u002Fstrong> – Built with the WordPress components library for a seamless admin UI.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Clean code & extensibility\u003C\u002Fstrong> – PHP logic follows core standards and stores data in post meta.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Marketing ready\u003C\u002Fstrong> – Understand traffic sources and tailor menus without page builders.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>SEO aware\u003C\u002Fstrong> – Hide links for humans while keeping friendly markup for search engines (links still exist, only visibility changes).\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>The interface is built with React and uses WordPress components so it remains responsive, accessible, and familiar. All rule data is stored in post meta to keep compatibility with exports, migrations, and backups.\u003C\u002Fp>\n\u003Ch3>Rule reference\u003C\u002Fh3>\n\u003Ch4>Pages tab\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Cstrong>Include \u002F Exclude\u003C\u002Fstrong> – Decide whether a matching condition should show or hide the menu item.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Entire Site\u003C\u002Fstrong> – Create a catch-all rule that always fires. Place it below granular rules when you need fallback behavior.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Archive scopes\u003C\u002Fstrong> – Target date archives, author archives, taxonomy listings, WooCommerce product archives, search results, or even the 404 template.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Singular scopes\u003C\u002Fstrong> – Limit links to specific posts, pages, custom post types, parent\u002Fchild relationships, or taxonomy terms.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Add Condition\u003C\u002Fstrong> – Stack unlimited rules. Menu Ghost evaluates them from top to bottom, so keep broad rules toward the bottom of the list.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Advanced tab\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Cstrong>User Role\u003C\u002Fstrong> – Match any WordPress role, including custom roles added by eCommerce or membership plugins.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>User Device\u003C\u002Fstrong> – Detect desktop, tablet, or mobile visitors to tailor calls to action per device.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Login Status\u003C\u002Fstrong> – Serve different menu links to logged-in versus logged-out visitors.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Signup Date\u003C\u002Fstrong> – Target members who registered before or after a specific date—ideal for onboarding flows.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Browser Language\u003C\u002Fstrong> – Show localized links when the visitor’s browser shares a preferred language.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Days of the Week\u003C\u002Fstrong> – Toggle links on specific weekdays (e.g., “Weekend brunch menu”).\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Within Date Range\u003C\u002Fstrong> – Schedule seasonal links to appear between two calendar dates without manual edits.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Within Time Window\u003C\u002Fstrong> – Display links only during a daily time slice, such as support hours or flash sales.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>URL Query Parameter\u003C\u002Fstrong> – Require a query-string key\u002Fvalue (like \u003Ccode>ref=partner\u003C\u002Fcode>) before the menu item appears.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>UTM Campaign \u002F Content \u002F Medium \u002F Source \u002F Term\u003C\u002Fstrong> – React to marketing URLs so visitors see campaign-specific navigation when arriving from ads or emails.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Development\u003C\u002Fh3>\n\u003Cp>The source code for Menu Ghost lives in the public repository at https:\u002F\u002Fgithub.com\u002Fsarailoo\u002Fmenu-ghost.\u003C\u002Fp>\n","Target menu items by role, device, schedule, and campaign rules using a fast, native conditions interface inside the menu editor.",247,100,1,"2025-11-25T22:20:00.000Z","6.8.5","6.6","8.0",[19,52,53,54,55],"menu-visibility","navigation","personalization","user-roles","https:\u002F\u002Fgithub.com\u002Fsarailoo\u002Fmenu-ghost","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fmenu-ghost.2.0.1.zip",{"attackSurface":59,"codeSignals":91,"taintFlows":98,"riskAssessment":99,"analyzedAt":109},{"hooks":60,"ajaxHandlers":87,"restRoutes":88,"shortcodes":89,"cronEvents":90,"entryPointCount":13,"unprotectedCount":13},[61,67,70,72,75,78,81,83],{"type":62,"name":63,"callback":64,"file":65,"line":66},"action","plugins_loaded","anonymous","includes\\class-different-menu-in-different-pages-and-posts.php",142,{"type":62,"name":68,"callback":64,"file":65,"line":69},"admin_enqueue_scripts",157,{"type":62,"name":68,"callback":64,"file":65,"line":71},158,{"type":62,"name":73,"callback":64,"file":65,"line":74},"add_meta_boxes",159,{"type":62,"name":76,"callback":64,"file":65,"line":77},"save_post",160,{"type":62,"name":79,"callback":64,"file":65,"line":80},"wp_enqueue_scripts",174,{"type":62,"name":79,"callback":64,"file":65,"line":82},175,{"type":84,"name":85,"callback":64,"file":65,"line":86},"filter","wp_nav_menu_args",176,[],[],[],[],{"dangerousFunctions":92,"sqlUsage":93,"outputEscaping":95,"fileOperations":13,"externalRequests":13,"nonceChecks":13,"capabilityChecks":46,"bundledLibraries":97},[],{"prepared":13,"raw":13,"locations":94},[],{"escaped":29,"rawEcho":13,"locations":96},[],[],[],{"summary":100,"deductions":101},"The plugin \"different-menu-in-different-pages-and-posts\" v1.0.0 exhibits a very strong security posture based on the provided static analysis.  The absence of any identified dangerous functions, raw SQL queries, unsanitized taint flows, or file operations is highly commendable.  Furthermore, the fact that all identified output is properly escaped and that there are no external HTTP requests further solidifies its secure design. The plugin also shows good practice by having a capability check in place, even though the overall attack surface is minimal.\n\nHowever, the analysis does reveal some areas for potential concern, primarily around the lack of entry points and the subsequent absence of certain security checks that are typically associated with them. Specifically, the zero AJAX handlers, REST API routes, and shortcodes mean there are no opportunities to assess nonce checks or permission callbacks on these common interaction vectors. While this can be interpreted as a minimal attack surface, it also means there's no explicit evidence of how these would be secured if they were to be introduced or if the plugin's functionality evolved.\n\nThe vulnerability history being completely clear with zero recorded CVEs is an excellent sign, indicating a history of stable and secure development. This, combined with the static analysis findings, suggests a plugin that has been developed with security in mind and has not yet been a target for known exploits.  Overall, this plugin appears to be very secure out-of-the-box, with its main weakness being the lack of demonstrated security mechanisms for common dynamic interaction points, which is largely due to the absence of those interaction points in the first place.",[102,105,107],{"reason":103,"points":104},"No nonce checks on any entry points",5,{"reason":106,"points":104},"No permission callbacks on REST API routes",{"reason":108,"points":104},"No explicit authentication checks on AJAX handlers","2026-03-16T22:52:15.911Z",{"wat":111,"direct":121},{"assetPaths":112,"generatorPatterns":115,"scriptPaths":116,"versionParams":118},[113,114],"\u002Fwp-content\u002Fplugins\u002Fdifferent-menu-in-different-pages-and-posts\u002Fcss\u002Fdifferent-menu-in-different-pages-and-posts-admin.css","\u002Fwp-content\u002Fplugins\u002Fdifferent-menu-in-different-pages-and-posts\u002Fjs\u002Fdifferent-menu-in-different-pages-and-posts-admin.js",[],[117],"js\u002Fdifferent-menu-in-different-pages-and-posts-admin.js",[119,120],"different-menu-in-different-pages-and-posts-admin.css?ver=","different-menu-in-different-pages-and-posts-admin.js?ver=",{"cssClasses":122,"htmlComments":123,"htmlAttributes":124,"restEndpoints":126,"jsGlobals":127,"shortcodeOutput":128},[],[],[125],"name=\"menu_display_header\"",[],[],[]]