{"id":22769,"date":"2013-04-05T07:03:00","date_gmt":"2013-04-05T07:03:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/jb-common\/"},"modified":"2013-04-05T11:46:45","modified_gmt":"2013-04-05T11:46:45","slug":"jb-common","status":"publish","type":"plugin","link":"https:\/\/ml.wordpress.org\/plugins\/jb-common\/","author":11954312,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"3.5.2","requires":"3.5.1","requires_php":"","requires_plugins":"","header_name":"JB Common","header_author":"Joan Botella Vinaches","header_description":"","assets_banners_color":"ffcccc","last_updated":"2013-04-05 11:46:45","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.joanbotella.com\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/jb-common\/","header_author_uri":"http:\/\/www.joanbotella.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1391,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"692088","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"692088","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"692088","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"692088","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"692088","resolution":"4","location":"assets"}},"screenshots":{"1":"Detail of the popping group on the admin bar. Mind the users and plugins \nshortcuts, and the W3C validator link for the current URL.","2":"The JB Common Configuration admin section. Each option is listed as name, description, custom value and default value.","3":"The section for viewing the JB Common log contents. If you integrate the \nlog system with your software, you can view your outputs here.","4":"The info admin section. A complete reference for all functions, \nshortcodes, widgets and features."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[37813,1346,37809,1714,9768,37810,94,3152,3841,1479,1594,2640,3195,37811,37812,908,732,6489,13040,7160,7159,162],"plugin_category":[50,52,59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-22769","plugin","type-plugin","status-publish","hentry","plugin_tags-append-vars","plugin_tags-attachments","plugin_tags-auto-format","plugin_tags-bio","plugin_tags-common","plugin_tags-current-url","plugin_tags-debug","plugin_tags-e-mail","plugin_tags-favicon","plugin_tags-feature","plugin_tags-feeds","plugin_tags-footer","plugin_tags-head","plugin_tags-is-login","plugin_tags-is-register","plugin_tags-log","plugin_tags-maintenance","plugin_tags-meta-tag","plugin_tags-shorcode","plugin_tags-validator","plugin_tags-w3c","plugin_tags-widget","plugin_category-media","plugin_category-performance","plugin_category-utilities-and-tools","plugin_committers-joanbotella"],"banners":{"banner":"https:\/\/ps.w.org\/jb-common\/assets\/banner-772x250.png?rev=692088","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/jb-common_ffcccc.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/jb-common\/assets\/screenshot-1.png?rev=692088","caption":"Detail of the popping group on the admin bar. Mind the users and plugins \nshortcuts, and the W3C validator link for the current URL."},{"src":"https:\/\/ps.w.org\/jb-common\/assets\/screenshot-2.png?rev=692088","caption":"The JB Common Configuration admin section. Each option is listed as name, description, custom value and default value."},{"src":"https:\/\/ps.w.org\/jb-common\/assets\/screenshot-3.png?rev=692088","caption":"The section for viewing the JB Common log contents. If you integrate the \nlog system with your software, you can view your outputs here."},{"src":"https:\/\/ps.w.org\/jb-common\/assets\/screenshot-4.png?rev=692088","caption":"The info admin section. A complete reference for all functions, \nshortcodes, widgets and features."}],"raw_content":"<!--section=description-->\n<p>A plugin with common features missed in WordPress, like favicon, meta tags, adding HTML to head and footer, WordPress e-mail from header filter, etc.<\/p>\n <p>I've developed this plugin for my own job. I've realized that when I create a \nnew WordPress project, there are some features I have to plugin every time. I \ndecided to bundle they all into a single plugin, and I'm publishing it for \nother creators who may find it useful too.<\/p>\n <p>Take a look to the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/jb-common\/changelog\/\" title=\"Go to the Changelog section\">Changelog<\/a> \nfor a complete feature list, you may be interested in some of them.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unzip <code>jb-common.zip<\/code> inside the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Customize the plugin options for your own site.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>Why not writting a plugin for each feature?<\/h4>\n <p>This plugin was designed for creating new WordPress sites faster, and managing one plugin is faster than managing many.<\/p>\n <h4>I need only one of your features and I don't want to install them all<\/h4>\n <p>Feel free to copy the code from that feature to your own plugin, but remember the GNU\/GPLv3 or later license!<\/p>\n <h4>Will you add new features in the next version?<\/h4>\n <p>Maybe. I accept suggestions, tell me on <a href=\"http:\/\/wordpress.org\/support\/plugin\/jb-common\" title=\"Go to the Support section\">the plugin's WordPress Extend support section<\/a>\nif you have one. Only features useful on most blogs will be included.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n <ul>\n<li><p>Available languages: english (default), castillian (spanish) (es_ES).<\/p><\/li>\n<li><p>Some integration with the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/attachments\/\" title=\"Go to WordPress.org Extend entry for the plugin Attachments\">Attachments plugin<\/a>\nby <a href=\"https:\/\/github.com\/jchristopher\/attachments\" title=\"Go to Jonathan Christopher GitHub site\">Jonathan Christopher<\/a>. (Option <code>jbcommon_attachments_meta_key<\/code>)<\/p><\/li>\n<li><p>Disable the WordPress auto format feature for exact HTML editing. (Option <code>jbcommon_auto_format<\/code>)<\/p><\/li>\n<li><p>W3C Validator link on Admin Bar for entries code validation. (Option <code>jbcommon_show_validator_link<\/code>)<\/p><\/li>\n<li><p>Maintenance mode for redirecting your visitors to a custom \"under maintenance\" page. (Options <code>jbcommon_maintenance_mode<\/code> , <code>jbcommon_maintenance_url<\/code> ,  jbcommon_maintenance_key and <code>jbcommon_maintenance_value<\/code>)<\/p><\/li>\n<li><p>Enable the WordPress debug mode without modifying the wp-config.php (Option <code>jbcommon_debug_mode<\/code>)<\/p><\/li>\n<li><p>Text box for inserting custom text on footer, using the wp_footer hook. (Option <code>jbcommon_footer<\/code>)<\/p><\/li>\n<li><p>Filter the WordPress e-mails name and address, for avoiding the default \"WordPress wordpress@your.domain\" header. (Options <code>jbcommon_email_from_address<\/code> and <code>jbcommon_email_from_name<\/code>)<\/p><\/li>\n<li><p>Add your custom favicon by URL. (Options <code>jbcommon_favicon_mime<\/code> and <code>jbcommon_favicon_url<\/code>)<\/p><\/li>\n<li><p>Text box for inserting custom text on head, using the wp_head hook. (Option <code>jbcommon_head<\/code>)<\/p><\/li>\n<li><p>Text boxes for some common meta tags like keywords and description, and override the WordPress generator meta tag for avoid version echoing. (Options <code>jbcommon_meta_tag_author<\/code> , <code>jbcommon_meta_tag_description<\/code> ,  jbcommon_meta_tag_generator , <code>jbcommon_meta_tag_keywords<\/code> )<\/p><\/li>\n<li><p>Log features that you can integrate on your own code, with multiple verbose levels for displaying on screen and writting to a file. (Options <code>jbcommon_log<\/code> , <code>jbcommon_log_session_key<\/code> ,  jbcommon_log_file , <code>jbcommon_log_file_max_lines<\/code> ,  jbcommon_log_level_file , <code>jbcommon_log_level_display_admin<\/code> ,  jbcommon_log_level_display )<\/p><\/li>\n<li><p>Author bio echoing. (Widget <code>JBCommon_Bio_Widget<\/code> and shortcode <code>jbcommon_sc_bio<\/code>)<\/p><\/li>\n<li><p>Contexted feeds, for example, echoing only the category feed link on category pages. (Widget <code>JBCommon_Feeds_Widget<\/code> and shortcode <code>jbcommon_sc_feeds<\/code>)<\/p><\/li>\n<li><p>Shortcode for calling PHP functions. (Shortcode <code>jbcommon_sc_call_function<\/code>)<\/p><\/li>\n<li><p>Shortcode for echoing PHP constants. (Shortcode <code>jbcommon_sc_get_constant<\/code>)<\/p><\/li>\n<li><p>Add an admin menu separator. (Function <code>jbcommon_add_admin_menu_separator($position)<\/code> )<\/p><\/li>\n<li><p>Echo the attachments from the Attachments plugin. (Function <code>jbcommon_echo_attachments($header_level=4)<\/code> )<\/p><\/li>\n<li><p>Retrieve an admin page URL. (Function <code>jbcommon_get_admin_page_url($page)<\/code> )<\/p><\/li>\n<li><p>Retrieve the current admin page permalink. (Function <code>jbcommon_get_admin_permalink()<\/code> )<\/p><\/li>\n<li><p>Retrieve the current URL, not only inside The Loop like get_permalink requires. (Function <code>jbcommon_get_current_url()<\/code> )<\/p><\/li>\n<li><p>Retrieve the current category for the pre_get_posts hook. (Function <code>jbcommon_get_query_category($wp_query=false)<\/code> )<\/p><\/li>\n<li><p>Retrieve the URL for the W3C validation for the current URL. (Function <code>jbcommon_get_validator_url($url=false)<\/code> )<\/p><\/li>\n<li><p>Check if all elements inside an array are of a specified type. (Function <code>jbcommon_is_array_of($a,$class)<\/code> )<\/p><\/li>\n<li><p>Check if the current page is the login one. (Function <code>jbcommon_is_login_page()<\/code> )<\/p><\/li>\n<li><p>Check if the current page is the register one. (Function <code>jbcommon_is_register_page()<\/code> )<\/p><\/li>\n<li><p>Echo the print_r PHP function wrapped between <code>&lt;pre&gt;<\/code> and <code>&lt;\/pre&gt;<\/code>. (Function <code>jbcommon_print_r($var)<\/code> )<\/p><\/li>\n<li><p>Retrieve an URL with some vars appended. (Function <code>jbcommon_url_append_vars($vars,$url=false,$entity=true)<\/code> )<\/p><\/li>\n<\/ul>","raw_excerpt":"A plugin with common features missed in WordPress, like favicon, meta tags, adding HTML to head and footer, WordPress e-mail from header filter, etc.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22769"}],"author":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/joanbotella"}],"wp:attachment":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22769"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22769"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22769"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22769"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22769"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}