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 34.255.338 Times

Ambrosite Body Class Enhanced 1.2

  Date Added: August 28, 2013  |  Visits: 330

Ambrosite Body Class Enhanced

Report Broken Link
Printer Friendly Version


Product Homepage
Download (24 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  
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...
 
Networking  -  No category parents 0.1
This plugin will completely remove the mandatory 'Category Base' and all the parents from your category permalinks (e.g. /category/parent-category/my-category/ to /my-category/).Installation : 1. Upload no-category-parents.php to the...
10 KB  
Networking  -  Post Groups 1.2.0
One feature that I was looking for in WordPress was the ability to place my posts in their own separate pages. Thus, I would have different "sub-blogs" defined for the same WordPress site instead of the single weblog allowed by the default...
10 KB  
Utilities  -  E&Q Notes lite 1.3
Easy & Quick Notes, free version. An exclusive easy-to-use notebook. All notes can be grouped into categories. Category name is freely definable. Each category can be marked with a color or symbol (or both). Code protection available. Font...
1024 KB  
Libraries  -  gimphp 0.2.0
gimphp is a PHP Class library to write Gimp scripts directly in PHP. To realize the Cultural Association Milug cards it was created a web-application that is based on PHP to use Gimp as a graphic engine. It work with gimuse server to produce...
1.8 MB  
Accounting Tools  -  Christmas Style for Flipbook 3D Theme 1.0
Merry Christmas! As a gift, we will offer you 100% free 3D flip book themes for Facile Template! This group of images will bring you bright color and warm color background for eBook designing! The Christmas Style Theme will be tiny tool for your...
3.96 MB  
File Management  -  Phaeton 1.0
Phaeton is a multi user agent class written in PHP, capable of simultaneously downloading several remote pages over HTTP. Use it instead of Snoopy, it is a lot faster if you need to get several pages.
 
Modules  -  Another Wordpress Meta Plugin 2.0.3
The plugin provides several additional fields when editing/creating pages and posts.InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress...
 
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