Home > By category > Scripts >Modules > PageNamed Menu Classes

PageNamed Menu Classes

  • Downloads: 
  • Views: 
  • Rating:

Have you tried to style your menu or page list items different and found annoying to update page IDs in your Style Sheets to match your page's?

If you know what a Style Sheet is and know that SEO rules, then you should know there's a limitation on current wordpess version that removes post-title and post-name from menu-items in database, to prevent them to be confused with the the actual page. Yes, they are stored in the same table, and until all the functions are revised to be safe not to confuse nav-menu-tems with posts or pages, you can't get the name nor title nor url! of the post to use it in your menu item's class.

I know WP considers the ID of the post as the more safe and CONSTANT piece of data you can use to refer to your article, but that's inside your WP installation, not extensible to the real world. The post or menu ID could change due to several factors like backing up your site, moving domain, replacing page, new menu items created, etc., but there's something you will NEVER allow to change: the PERMALINK.

Consequences of changing the url of your post are so severe, that our best clients are those who let their website in hands some hacky guy who promised™miraculous rankings on search engines and they lost 50% of value (for a company depending on 2M internet sales).

Post and Menu IDs could change, breaking the link with your Style Seet rules, and losing your custom logos.

You might want to rather pay extra your developer to keep permalinks the same, than IDs.

So now the most SAFE and CONSTANT piece of data, for you, is the permalink, not the ID. You should do ANYTHING to get it done this way, regardless of what your programmer says is safer. He works for your Google rank, not for WordPress, so listen to me, not them.

After banging my head for days trying to get a solution for this, I realized nobody does it because WordPress doesn't provide the data (yet).

If you are a WP guru, or a coder monkey like me, check the article about this plugin's release for the code what will allow you to hack that wp class that can't get the title:

If you wouldn't hack your .php files, here's a ready-to-use plugin, soon to appear in WordPress pages.

It's very simple, but it adds your page / post's slug ( sanitized-name-of-your-page ™or ™your-manually-entered-permalink ) to the class of the li that contains it. It also takes a little bit until your SEO defines the right permalink for your posts and you will still have to re-adjust the Style Sheet after his changes (until next release when this plugin will keep track of changes) but once the permalink is defined (they should be defined before making the post live, anyway) your icon / style will remain together with your menu item, regardless of the above scenarios where your post ID could change.


Adds a pagenamed_name-of-your-page class to each menu / list item for you to style them different, working-around WP limitation on not saving page name or title or url of the related page in menu items DB rows.

Better than using IDs, since the permalink MUST stay FOREVER for Google indexing, while menu and page ID are important only inside WP database.

Adds a pagenamed_name-of-your-page class to each menu / list item for you to style them different.
Works for either custom menus or page listings made with the previous wp_list_pages() function.
Extra code to remove unwanted useless classes from menus (Need plugin editing)

Future features

It will keep track of changes made to permalink to update the stylesheet (even though is not recommended for an old page, to prevent losing indexed value in google)
Option in admin panel to remove unwanted useless classes from menus.


Go to the Plugins section of your Dashboard, click "Add New", make sure you are looking at the "Search" section (tab-less links above). There enter "PageNamed Menu Classes" in the search field, and click "Install Now". (you are probably there now) After installed, Activate it, and you're set.

If you got this by email, upload the zip to your site through the "upload" tab-less link in the "Add New" section of your "Plugins" control panel in your WP Dashboard. Then Activate.

Free download from Shareware Connection - Have you tried to style your menu or page list items different and found annoying to update page IDs in your Style Sheets to match your page's?

Publisher: Sergio Zambrano | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: PHP, Scripts
Released Date: 27-02-2013 | Rating: 0 | Title: PageNamed Menu Classes

Author Url: http://downloads.wordpress.org/plugin/pagenamed-menu-classes.1.0.zip
Program Info Url: http://downloads.wordpress.org/plugin/pagenamed-menu-classes.1.0.zip
Download Url: http://downloads.wordpress.org/plugin/pagenamed-menu-classes.1.0.zip

PageNamed Menu Classes keywords:
PageNamed Menu Classes related downloads:

Simple Twitter Plugin - Simple Twitter Plugin allow to display your tweets as a widget in your sidebar

Very Simple Post Images - ... is a WordPress Plugin that makes adding adding images to a post gallery as simple as possible

Post title marquee scroll - Post title marquee scroll is a simple wordpress plugin to create the marquee scroll in the website with post title

Anniversary Content Plugin - The Anniversary content plugin is a simple content plugin designed to display the right number automatically for anniversary style displays.

Simple coComments - Simple coComments is a simple WordPress Plugin to add coComments support to WordPress.

Shareware Connection periodically updates pricing and software information of 'PageNamed Menu Classes' from company source 'Sergio Zambrano' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'PageNamed Menu Classes' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of PageNamed Menu Classes.

New Reviews

SeaMonkey, Portable Edition - Using the Internet has become a necessity for a majority of people, including those who do not use a PC regularly. To browse web, stream video or download online content, people often resort to using various third party apps. For example, using ...

Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...

Enpass Password Manager - With time, average PC users find it tedious to deal with oodles of passwords. For every online profile, whether it is social media or online banking, creating user name and password is required and after a time it can be cumbersome to handle them ...

Avira Ultimate Protection Suite - With time the importance of PC security has gone up by leaps and bounds. Earlier, people used to rely on standalone antivirus software. However, security conscious users prefer having a more robust form of protection. They opt for Internet ...

Autodesk Smoke - Autodesk is the company well known for making some of the most feature rich and versatile tools for 3D modeling, animation and engineering design related work. Its Smoke is a Mac OS specific app that is aimed at professionals involved in ...

Sigma Internet Monitoring - There is no denying the huge importance of internet in human life. Without the web, it has literally become imposable to carry on a lot of personal and professional activities, irrespective of your age, gender and qualification. While the web ...

WebSite X5 Evolution 10 - Web designing has evolved lot compared to the early days of the internet. You can pick from a number of web design apps and frameworks that take away the pain of manual coding and debugging to a large extent. Even then, it may be necessary to ...

MacPilot - The Mac OS contains many advanced features that can make computing a different experience altogether. However, not all Mac users are aware of such deep rooted features of the Apple OS. The usual surface customizations are what most of them remain ...

CyberFence - Technological innovations play a pivotal role in changing human lives but they also come with their pitfalls. Perhaps, nothing can be a bigger example of this than the web. You need the internet for education, work, monetary transactions and ...

Reallusion iClone - Nowadays, there is no scarcity of 3D animation and modeling software in market. However, not all such apps are user friendly and easy on wallet. If you want an intuitive and capable tool for making 3D animations without requiring much time, give ...

New Downloads

Cool Record Edit Pro 2015

Cool Record Edit Pro allows
users to record sound from any
source to your hard drive. The
Editor allows you to perform


Net::Amazon::S3 is a simple,
easy to use, pure Ruby
implementation of the Amazon

Email Input Filter

Email Input Filter converts
email style markup into web
friendly format.

Rooh.it Instant
Highlighter: Save and Share
`parts` of web-pages

Add a highlighter pen to your
blog: anyone can then make
'highlights on any part of
your page' and automatically
post ...

Direction of Arrival
Estimation with MUSIC

In many practical signal
processing problems, the
objective is to estimate from
measurements a set of constant
parameters ...

WDM Network Blocking
Computation Toolbox

WDM Network Blocking
Computation Toolbox - Blocking
computation in WDM Networks
for three different types of


A demo and a minified version
of the script is included in
this package.


ASPTemplate is an ASP/ASPX
HTML template engine.

Region of interest
Extraction by free hand

We run ROI_extract code in
Matlab, and chose the image
which want to extract ROI from
it and we select the ROI.

Time & Rate Unit Conversion

Designed to supplement the
conversion functions found in
the aerospace toolbox
(aerospace toolbox not
required), CONVTIME ...

LevelTen for Scripts

LevelTen is a top rated, free
web counter statistics


ldapvi is an interactive LDAP
client for Unix terminals.