A
by Aaron T. Grogg
4.8 (5 reviews)
Add URL Slugs as Body Classes
Add URL Slugs to body Class
Tested up to WP 4.2 (Current: 6.9)
v1.3
Current Version v1.3
Updated 10 years ago
Last Update on 15 May, 2015
Synced 7 hours ago
Last Synced on
Rank
#7,924
-4 this week
Active Installs
800+
-2.8%
KW Avg Position
N/A
—
No change
Downloads
6.4K
+6 today
Support Resolved
0%
—
No change
Rating
96%
Review 4.8 out of 5
4.8
(5 reviews)
Next Milestone 900
800+
900+
284
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Need 81 more installs to reach 900+
Rank Changes
Current
#7,924
Change
Best
#
Downloads Growth
Downloads
Growth
Peak
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
4.8
5 reviews
Overall
96%
5
4
(80%)
4
1
(20%)
3
0
(0%)
2
0
(0%)
1
0
(0%)
Tracked Keywords
Showing 0 of 0| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| No keyword data available yet. | ||||
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.3
- Last Updated
- May 15, 2015
- Requires WP
- 3.1+
- Tested Up To
- 4.2
- PHP Version
- N/A
- Author
- Aaron T. Grogg
Support & Rating
- Rating
- ★ ★ ★ ★ ★ 4.8
- Reviews
- 5
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowFrequently Asked Questions
Common questions about Add URL Slugs as Body Classes
Additional CSS classes are added to the HTML body tag so you can easily add custom CSS and/or JS to Posts or
Pages. Basically anything that appears in the URL after your domain name, will be split on the "/", then
pushed back together separated by spaces in the HTML's body tag.
Pages. Basically anything that appears in the URL after your domain name, will be split on the "/", then
pushed back together separated by spaces in the HTML's body tag.
Say you created a Post that could be found at the following URL:
http://www.example.com/2012/02/24/wordpress-plugin-add-url-slugs-as-body-classes/
That page's body tag would have at least these classes:
2012 02 24 wordpress-plugin-add-url-slugs-as-body-classess
It gets much stronger when you start thinking about Categories or nested Pages, because a Category page like:
http://www.example.com/category/wordpress/
get these additional CSS classes:
category wordpress
This would allow you to add custom CSS and/or JS to all Category pages, or even just the WordPress Category page!
Or a nested Page that could be found at this URL:
http://www.example.com/movies/star-trek/wrath-of-khan/
would get these additional CSS classes:
movies star-trek wrath-of-khan
So you could add custom CSS just for your Movies pages, other custom CSS for just the Star Trek Movies pages,
and still more custom CSS for just the Wrath of Khan Star Trek Movie page.
http://www.example.com/2012/02/24/wordpress-plugin-add-url-slugs-as-body-classes/
That page's body tag would have at least these classes:
2012 02 24 wordpress-plugin-add-url-slugs-as-body-classess
It gets much stronger when you start thinking about Categories or nested Pages, because a Category page like:
http://www.example.com/category/wordpress/
get these additional CSS classes:
category wordpress
This would allow you to add custom CSS and/or JS to all Category pages, or even just the WordPress Category page!
Or a nested Page that could be found at this URL:
http://www.example.com/movies/star-trek/wrath-of-khan/
would get these additional CSS classes:
movies star-trek wrath-of-khan
So you could add custom CSS just for your Movies pages, other custom CSS for just the Star Trek Movies pages,
and still more custom CSS for just the Wrath of Khan Star Trek Movie page.
Really only if you used some custom CSS or JS to some specific webpages. You could add custom background images,
use different fonts, add sound effects, add different JS libraries, the list is limited only by your needs, really.
use different fonts, add sound effects, add different JS libraries, the list is limited only by your needs, really.