WordPress.org

Ready to get started?Download WordPress

Plugin Directory

JB Common

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.

1.0

  • Available languages: english (default), castillian (spanish) (es_ES).

  • Some integration with the Attachments plugin by Jonathan Christopher. (Option jbcommon_attachments_meta_key)

  • Disable the WordPress auto format feature for exact HTML editing. (Option jbcommon_auto_format)

  • W3C Validator link on Admin Bar for entries code validation. (Option jbcommon_show_validator_link)

  • Maintenance mode for redirecting your visitors to a custom "under maintenance" page. (Options jbcommon_maintenance_mode , jbcommon_maintenance_url , jbcommon_maintenance_key and jbcommon_maintenance_value)

  • Enable the WordPress debug mode without modifying the wp-config.php (Option jbcommon_debug_mode)

  • Text box for inserting custom text on footer, using the wp_footer hook. (Option jbcommon_footer)

  • Filter the WordPress e-mails name and address, for avoiding the default "WordPress wordpress@your.domain" header. (Options jbcommon_email_from_address and jbcommon_email_from_name)

  • Add your custom favicon by URL. (Options jbcommon_favicon_mime and jbcommon_favicon_url)

  • Text box for inserting custom text on head, using the wp_head hook. (Option jbcommon_head)

  • Text boxes for some common meta tags like keywords and description, and override the WordPress generator meta tag for avoid version echoing. (Options jbcommon_meta_tag_author , jbcommon_meta_tag_description , jbcommon_meta_tag_generator , jbcommon_meta_tag_keywords )

  • Log features that you can integrate on your own code, with multiple verbose levels for displaying on screen and writting to a file. (Options jbcommon_log , jbcommon_log_session_key , jbcommon_log_file , jbcommon_log_file_max_lines , jbcommon_log_level_file , jbcommon_log_level_display_admin , jbcommon_log_level_display )

  • Author bio echoing. (Widget JBCommon_Bio_Widget and shortcode jbcommon_sc_bio)

  • Contexted feeds, for example, echoing only the category feed link on category pages. (Widget JBCommon_Feeds_Widget and shortcode jbcommon_sc_feeds)

  • Shortcode for calling PHP functions. (Shortcode jbcommon_sc_call_function)

  • Shortcode for echoing PHP constants. (Shortcode jbcommon_sc_get_constant)

  • Add an admin menu separator. (Function jbcommon_add_admin_menu_separator($position) )

  • Echo the attachments from the Attachments plugin. (Function jbcommon_echo_attachments($header_level=4) )

  • Retrieve an admin page URL. (Function jbcommon_get_admin_page_url($page) )

  • Retrieve the current admin page permalink. (Function jbcommon_get_admin_permalink() )

  • Retrieve the current URL, not only inside The Loop like get_permalink requires. (Function jbcommon_get_current_url() )

  • Retrieve the current category for the pre_get_posts hook. (Function jbcommon_get_query_category($wp_query=false) )

  • Retrieve the URL for the W3C validation for the current URL. (Function jbcommon_get_validator_url($url=false) )

  • Check if all elements inside an array are of a specified type. (Function jbcommon_is_array_of($a,$class) )

  • Check if the current page is the login one. (Function jbcommon_is_login_page() )

  • Check if the current page is the register one. (Function jbcommon_is_register_page() )

  • Echo the print_r PHP function wrapped between <pre> and </pre>. (Function jbcommon_print_r($var) )

  • Retrieve an URL with some vars appended. (Function jbcommon_url_append_vars($vars,$url=false,$entity=true) )

Requires: 3.5.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-5
Downloads: 212

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1