This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Pure Web Brilliant's CSS3 selectors for tags


Adds classes to


p> tags to allow child node selection without CSS3.


Adds the following classes to paragraph tags:

  • paragraph-last
  • paragraph-number-X (e.g. paragraph-number-1)
  • first-p-since-a-heading

This allows for CSS2.1 rules to mimic CSS3 selectors for backward and mobile compatibility.

  • use “paragraph-number-X” instead of “p:first-child”
  • use “paragraph-last” instead of “p:last-child”

Arbitrary section

Kevinjohn Gallagher: Kevinjohn Gallagher

Agency: Pure Web Brilliant

Framework release blog post: Pure Web Brilliant’s plugin framework released

” I want to go on record thanking my colleagues and many of our current & past clients, who were (mostly) happy to negotiate changes in the licence of our past work so that we could make it open source. “

  • Package: Pure Web Brilliant
  • Version: 2.0.1
  • Author: Kevinjohn Gallagher
  • Copyright: Copyright (c) 2012, Kevinjohn Gallagher
  • Link:
  • Licence:


  1. Upload kevinjohn_gallagher___p_tag_css3_selectors_via_php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


I am seeing “… requires the parent framework to be installed and activated”

This program is part of the Pure Web Brilliant family, and requires the parent framework to be installed and activated.
You can find that at:

Contributors & Developers

“Pure Web Brilliant's CSS3 selectors for tags” is open source software. The following people have contributed to this plugin.




  • Updated security check


  • Removal of non-GPLv3 compatible functions.
  • Publish to repository.