Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.974.595 Times

Ambrosite Body Class Enhanced 1.2

  Date Added: August 28, 2013  |  Visits: 241

Ambrosite Body Class Enhanced

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



When activated, this plugin causes the body_class template tag to output five additional classes.On single posts (is_single) : postname-[permalink slug] single-[category slug] parent-[parent category slug] (all parent and grandparent categories in a hierarchy of any depth)On pages (is_page) : pagename-[permalink slug]On category archives (is_archive and is_category) : parent-category-[parent category slug] (all parent and grandparent categories in a hierarchy of any depth)For example, if you have a post titled "Top 10 Decorating Ideas", in category "Christmas", with a parent category of "Holidays" and a grandparent category of "Calendar", the additional body classes will be as follows:postname-top-10-decorating-ideas single-christmas parent-holidays parent-calendarWhy is this useful? Because it enables you to style individual posts and pages, as well as entire categories of posts, using only CSS, without having to edit the template files or create new templates.Continuing the above example, if I wanted to give all of the posts in the Christmas category a green heading (to give them some extra holiday cheer), I could use a CSS selector like this:body.single-christmas h1 { color: green;}Going further, suppose I want to attach a background image of a Christmas tree ONLY to the "Top 10 Decorating Ideas" post:body.postname-top-10-decorating-ideas div.post { background: url('images/xmas_tree.gif') no-repeat left top;}What if I want all posts categorized under Holidays (Christmas, Thanksgiving, Easter, whatever) to have a sidebar with a gold border?body.parent-holidays div#sidebar, /* all posts assigned to a subcategory of Holidays */body.single-holidays div#sidebar { /* any posts assigned directly to the Holidays category */ border: solid 2px gold;}Installation : * Upload 'ambrosite-body-class.php' to the '/wp-content/plugins/' directory. * Activate the plugin through the 'Plugins' menu in WordPress. * Verify your theme has the body_class function on the body element in header.php, as explained in the WordPress Codex: http://codex.wordpress.org/Template_Tags/body_class

Requirements: No special requirements
Platforms: PHP
Keyword: Additional Ambrosite Assigned Background Body Class Categories Category Christmas Class Decorating Divsidebar Enhanced Enhanced Scripts Grandparent Hierarchy Holidays Ideasquot Pages Parent Posts Quottop Scripts Template Wordpress
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


AMBROSITE BODY CLASS ENHANCED RELATED
Networking  -  Social Access Control 1.1
Based on the 3rd-party Category Access, this plugin provides the core functionality for restricting the access permissions of posts. This gives you the ability to permit only specific registered users to read certain posts or certain categories of...
10 KB  
Network & Internet  -  Calendario Class 1.0
Calendario Class provides a PHP class that is useful for creating calendars and organizers. Calendario Class is a PHP class that helps you to create calendar and organizers. Its highly configurable, letting you choose how many days are in a...
98.3 KB  
Libraries  -  PHP Advanced Graphing Class 1.4
PHP Advanced Graphing Class is a PHP class that can be used to generate line, bar, and 2D/3D pie graphs from multiple data sets. PHP Advanced Graphing Class offers many style and data formatting options. The graphs can be built from data defined...
 
Networking  -  Events Category 0.4
Notice: This plugin is not being actively maintained. Other priorities have arisen which have forced development to discontinue. Being open source and free, you are of course free to take the code and improve upon it; if you are a developer and...
10 KB  
Modules  -  Category Image Banner 1.0
Category Image Banner will add a banner of the categories, with their images and text, across the top of all the catalog pages.Click the image or text to go to the category. This was designed to replace the standard 'category tree' on the left...
 
Libraries  -  Class::Container 0.12
Class::Container is a Perl module with Glues object frameworks together transparently. SYNOPSIS package Car; use Class::Container; @ISA = qw(Class::Container); __PACKAGE__->valid_params ( paint => {default => burgundy}, style =>...
19.46 KB  
Libraries  -  DBIx::Class::CDBICompat 0.07002
DBIx::Class::CDBICompat is a Class::DBI Compatibility layer. SYNOPSIS use base qw/DBIx::Class/; __PACKAGE__->load_components(qw/CDBICompat Core DB/); DBIx::Class features a fully featured compatibility layer with Class::DBI to ease...
174.08 KB  
Libraries  -  Attachment Mailer class 1.20
Attachment Mailer class is a PHP class that can send email messages with multiple attachments and HTML. I wrote this class to integrate more functionality for classes like Access_user or DB_cart and others using PHP’s mail function. But...
19.46 KB  
Libraries  -  Class::ArrayObjects 1.02
Class::ArrayObjects is a Perl utility class for array based objects. SYNOPSIS package Some::Class; use Class::ArrayObjects define => { fields => [qw(_foo_ _bar_ BAZ)], }; or package Other::Class; use base Some::Class; use...
6.14 KB  
Libraries  -  PHP HTML Form Generation and Validation Class 1.0 Beta 3
PHP HTML Form Generation and Validation Class is a PHP class for easy HTML form generation and validation. If youre a web developer you know that designing HTML forms and writing the PHP code for their validation is a really dull task. And if...
133.12 KB  
NEW DOWNLOADS IN SCRIPTS, NETWORKING
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Networking  -  Shortcode Autolink 0.1
Lets you create links automatically on the basis of internal research results, and everything through Shortcode !Installation : 1. Upload the plugin folder to your /wp-content/plugins/ folder. 2. Go to the Plugins page and activate the plugin. 3....
10 KB  
Networking  -  Pixel Sitemap 1.0.0
Pixel Sitemap Plugin allows with the use of widget to display in sidebar links on the posts in compact way, namely as a rows of 1 pixel pictures.The main features are: * Support cache for links * Display links in random order or by date * Easy...
10 KB  
Networking  -  Contexture Page Security 0.7.1
Contexture Page Security adds some much-needed "page security" to WordPress, allowing admins to limit or restrict access to individual pages or entire sections of their website. To do this, admins create "groups" of users that can be added to...
10 KB  
Networking  -  Vertical scroll recent post 8.0
This will scroll the recent post title in site side bar or any desired template location.In version 4.0 three new option added. 1. Categories selection. 2. select display Orderbys. 3. select display orderFeature * User can see the newest post at...
10 KB  
Networking  -  Wp-o-Matic-Authors 1.0
"Wp-o-matic-Authors" is an add-on to Wp-o-Matic. It automatically creates a new author for each campaign (even if already fetched). Then, each post imported by Wp-o-Matic will have as author the name given by this plugin instead of a name already...
10 KB