{"id":106219,"date":"2019-07-08T00:49:50","date_gmt":"2019-07-08T00:49:50","guid":{"rendered":"https:\/\/en-ca.wordpress.org\/plugins\/ryans-useful-options\/"},"modified":"2020-11-05T16:30:32","modified_gmt":"2020-11-05T16:30:32","slug":"ryans-useful-options","status":"closed","type":"plugin","link":"https:\/\/br.wordpress.org\/plugins\/ryans-useful-options\/","author":80965,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.6.6","stable_tag":"1.6.6","tested":"5.5.18","requires":"4.0","requires_php":"5.3","requires_plugins":"","header_name":"Ryan's Useful Options","header_author":"Ryan Paul","header_description":"This plugin adds various functions and\/or snippets recommended for standard WP installations such as front-end 'Delete', 'Edit', and 'Logout' buttons, a simple settings screen with on\/off options for Bootstrap 4 Grid CSS, Harmonia, and BX Slider Javascript, removes attached media from deleted posts\/pages, turns off self pingbacks, removes styles from tag clouds, cleans up what's outputted from the wp_head function, adds an 'is_child()' function, and protects a page and its ancestors through requiring user login by defining page slug of parent page.","assets_banners_color":"","last_updated":"2020-11-05 16:30:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.ryanpaul.ca","header_author_uri":"http:\/\/www.ryanpaul.ca","rating":0,"author_block_rating":0,"active_installs":10,"downloads":994,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":{"1.0":{"tag":"1.0","author":"othellobloke","date":"2019-07-08 17:53:15"},"1.1":{"tag":"1.1","author":"othellobloke","date":"2019-07-08 20:08:11"},"1.2":{"tag":"1.2","author":"othellobloke","date":"2019-07-09 07:37:09"},"1.3":{"tag":"1.3","author":"othellobloke","date":"2019-07-09 08:14:23"},"1.4":{"tag":"1.4","author":"othellobloke","date":"2019-07-09 20:01:48"},"1.6":{"tag":"1.6","author":"othellobloke","date":"2019-08-10 05:46:40"},"1.6.1":{"tag":"1.6.1","author":"othellobloke","date":"2019-08-10 18:24:16"},"1.6.2":{"tag":"1.6.2","author":"othellobloke","date":"2019-09-05 20:33:41"},"1.6.3":{"tag":"1.6.3","author":"othellobloke","date":"2019-09-16 02:25:59"},"1.6.4":{"tag":"1.6.4","author":"othellobloke","date":"2019-10-27 16:32:22"},"1.6.5":{"tag":"1.6.5","author":"othellobloke","date":"2020-10-27 09:25:08"},"1.6.6":{"tag":"1.6.6","author":"othellobloke","date":"2020-11-05 16:30:32"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[728,6040,173687,173686,140598],"plugin_category":[],"plugin_contributors":[173668],"plugin_business_model":[],"class_list":["post-106219","plugin","type-plugin","status-closed","hentry","plugin_tags-bootstrap","plugin_tags-grid","plugin_tags-is_child","plugin_tags-purecss","plugin_tags-query-strings","plugin_contributors-othellobloke","plugin_committers-othellobloke"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ryans-useful-options.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin amongst other things adds a front end 'Delete', 'Edit', and 'Logout' buttons, with an option to remove attached media from deleted posts\/pages, turns off self pingbacks, an option to remove styles from tag clouds, an option to clean up what's outputted from the wp_head function, the option to replace bundled jQuery with Google's latest hosted version, the option to disable user enumeration, the option to disable author archives, and the ability to protect a page and its ancestors through requiring user login by defining page slug of parent page.<\/p>\n\n<p>Aside from the option to include Bootstrap Grid, it also automatically adds Bootstrap tables, forms, and button CSS to the front-end of this website without adding any typography or other styles included with Bootstrap, adds an \"is_child()\" function which you can use in your template. Check below for is_child examples.<\/p>\n\n<p>Checks if the current page, posting or category is somehow related to category or page ID 10.<\/p>\n\n<p>is_child(10)<\/p>\n\n<p>Checks just if the current element is a direct child of Example Category.<\/p>\n\n<p>is_child(Example Category,false)<\/p>\n\n<p>Checks if the current element (page) is somehow related to a page with the slug some-page.<\/p>\n\n<p>is_child(some-page, 1)<\/p>\n\n<!--section=installation-->\n<p>Just install from your WordPress \"Plugins &gt; Add New\" screen and all will be well. Manual installation is very straightforward as well:<\/p>\n\n<ol>\n<li>Upload the zip file and unzip it in the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to <code>Ryan's Useful Options<\/code> and enable the options you want.<\/li>\n<\/ol>","raw_excerpt":"This plugin amongst other things adds a front end &#039;Delete&#039;, &#039;Edit&#039;, and &#039;Logout&#039; buttons, with an option to remove attac &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/106219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=106219"}],"author":[{"embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/othellobloke"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=106219"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=106219"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=106219"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=106219"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=106219"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/br.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=106219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}