WP247 Body Classes

Add unique classes to the body tag for easy styling based on post attributes (post type, slug, and ID) and various WordPress "is" functions:

  • wp_is_mobile()
  • is_home()
  • is_front_page()
  • is_blog()
  • is_admin()
  • is_admin_bar_showing()
  • is_404()
  • is_super_admin()
  • is_user_logged_in()
  • is_search()
  • is_archive()
  • is_author()
  • is_category()
  • is_tag()
  • is_tax()
  • is_date()
  • is_year()
  • is_month()
  • is_day()
  • is_time()
  • is_single()
  • is_sticky()
  • $post->post_type
  • $post->name
  • $post->ID
  • $user->nicename
  • $user->id
  • $archive->slug (e.g. Category slug, Tag slug, etc.)
  • $archive->id (e.g. Category id, Tag id, etc.)

Add classes based on the results from mobiledetect.net's Mobile_Detect script. This script parses the value passed by the browser in the HTTP_USER_AGENT string. Consequently, mobile detection is more of an art than a science and, unfortunately, is not perfect. You can check things like:

  • is-mobile
  • is-tablet
  • is-phone
  • Mobile Operating System
  • Mobile Browser
  • Type of tablet
  • Type of phone

This plugin adds classes to the html body tag indicating:

  • whether or not the requesting device is a mobile device (.is-mobile or .is-not-mobile)

  • the type of post being viewed (.is-? where ? is the post type (page, post, whetever special post types are defined) ). E.g. .is-page or .is-post

  • the slug of the post being viewed (.is-?-! where ? is the post type and ! is the post slug). E.g. a post with slug "hello-world' would have class .is-post-hello-world

  • the ID of the post being viewed (.is-?-# where ? is the post type and # is the post ID). E.g. a post with ID "1" would have class .is-page-1

  • whether or not the requested page shows archived results (.is-archive or .is-not-archive)

    If the page being displayed is an archive

    • the type of archive being viewed (.is-? where ? represents the type of archive (author, category, date, tag) ) E.g. .is-author

    • the slug of the archive being viewed (.is-?-! where ? is the archive type and ! is the archive slug) E.g. a category with slug "uncategorized' would have class .is-category-uncategorized

    • the ID of the archive being viewed (.is-?-# where ? is the archive type and # is the archive ID) E.g. a category with ID "1" would have class .is-category-1

Use these classes in your styling to provide a better browsing experience for your viewers.

Simply Exclude

Note to all used who tried the version 2.0 and 2.0.1 there were was bugs in the logic which upgrades the previous version of the Simply Exclude configuration to the version 2.0 format. If you lost your settings you can now reload them manually. Simply go into simply Exclude > Settings and at the .........

Similar: 44%

Better Notifications for WordPress

Recently updated to be even easier to use! Better Notifications for WordPress allows you to generate custom email notifications and send them to user roles (including custom roles) or individual users for all kinds of things happening on your WordPress website. Emails are sent out via your Word.........

Similar: 20%

Display posts in grid layout without coding - Content Views

Do you want to display most recent posts on any WordPress page in responsive, customizable Grid layout? Or: display posts by any category, tag, author, keyword display posts in order of title, date, ID display posts with nice pagination display thumbnail in different size than 150x150 or 300x300 .........

Similar: 17%

WordPress Shortcodes

WordPress Shortcodes is a free WordPress plugin that brings an amazing set of beautiful and useful elements to your site. The plugin comes bundled with the full set of elements, all absolutely free of charge. Learn how you can use WordPress Shortcodes to easily create import / export safe links to .........

Similar: 12%

The Welcomizer

Quickly create animations for your WordPress blog. Designed for webmasters, marketing consultants, web designers and bloggers. Demo page <- Basic examples Multisite friendly. ∞...

Similar: 11%

Quick Featured Images

The plugin is available in English, Spanish (Español), Arabic (العربية) and German (Deutsch)....

Similar: 11%

Import CSV with Ultimate CSV Importer

Import CSV data to WordPress is made very easy even for novice users as in few clicks and 3 simple steps with CSV Importer plugin. Now csv importer supports multi language and almost every WordPress modules and plugin fields as follows. Import data feed periodically from csv file as...

Similar: 10%

Social Share 2.0 - Social Bookmarks

This plugin adds a small widget within each blog post to share blog posts on Facebook, Twitter, Google Buzz, Digg, Surfpeople, and well over 100 more social bookmarking and sharing sites ....

Similar: 9%

Ads Manager WP/BB

Use this plugin to quickly and easily insert Any Ad code Unit to your posts and BuddyPress sections including Forum topics....

Similar: 9%

Zedity Editor: The Best Way to Create Your Posts and Pages!

Would you like to make your WordPress experience much easier? Zedity enables you to create posts and pages as naturally as writing on paper! With absolutely no coding skills required, creating catchy and professional content becomes incredibly easy and quick for anyone! Zedity is available in .........

Similar: 8%