[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f9LfI95zh8Nx1p1YeCc4c7xaIxoPLOgZg3MAd5A9nsA0":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"volfro","https:\u002F\u002Fprofiles.wordpress.org\u002Fvolfro\u002F",1,80,85,30,84,"2026-04-04T15:55:56.729Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":20,"num_ratings":21,"last_updated":22,"tested_up_to":23,"requires_at_least":24,"requires_php":25,"tags":26,"homepage":31,"download_link":32,"security_score":8,"vuln_count":33,"unpatched_count":33,"last_vuln_date":34,"fetched_at":35},"widget-posts-by-category","Posts By Category Widget","1.0.4","\u003Cp>This widget displays posts in the category, order, and quantity of your choosing. It supports custom templates!\u003C\u002Fp>\n\u003Cp>After installation, drag-and-drop the new “Category Widget” to a widget area, choose the categories you wish to display, and tell it the order and quantity in which you wish to display them.\u003C\u002Fp>\n\u003Ch3>Templates\u003C\u002Fh3>\n\u003Cp>The default template is just plain-ol’ HTML5, without any CSS; it’s meant to fit right into any theme without modification.\u003C\u002Fp>\n\u003Cp>However, if you’re a theme developer and you wish to use custom markup or WP functions inside your template, here’s how to customize it:\u003C\u002Fp>\n\u003Col>\n\u003Cli>In the root of your theme’s directory, create a new file called \u003Ccode>catswidget.php\u003C\u002Fcode> (or copy \u003Ccode>template.php\u003C\u002Fcode> from \u003Ccode>posts-by-cat-widget\u002Fviews\u003C\u002Fcode> to your theme’s root, and rename it \u003Ccode>catswidget.php\u003C\u002Fcode>, if you’d rather use the default as a starting point).\u003C\u002Fli>\n\u003Cli>Craft your loop. Just make sure you use the \u003Ccode>$posts\u003C\u002Fcode> variable, like this:\u003Ccode>if ( $posts -> have_posts() ) :\u003Cbr \u002F>\n        while ( $posts -> have_posts() ) :\u003Cbr \u002F>\n            $posts -> the_post(); ?>\u003Cbr \u002F>\n            \u002F\u002F Your markup here\u003Cbr \u002F>\n        endwhile;\u003Cbr \u002F>\n    endif;\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>The widget is just a simple custom loop, so you’ll have access to whatever data WP_Query has access to inside the loop.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch3>TODO\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Perhaps we could use it to query custom post types\u002Ftaxonomies, not just Posts\u003C\u002Fli>\n\u003Cli>Add hooks\u002Ffilters\u003C\u002Fli>\n\u003Cli>Add ability to extend admin\u003C\u002Fli>\n\u003C\u002Ful>\n","A simple, themeable widget which displays posts in the category, order, and quantity of your choosing.",5504,100,2,"2013-12-17T00:10:00.000Z","3.7.41","3.7","",[27,28,29,30],"category","posts","themeable","widget","http:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwidget-posts-by-category\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwidget-posts-by-category.1.0.4.zip",0,null,"2026-03-15T15:16:48.613Z"]