[Resolved] Looking for brilliant ideas for a tricky task involving accents
I’m trying to use my page name, the_title();, to define my bookmark category, category_name, in order to display a specific list of link depending on what page the user is on.
This works perfectly except for one problem: a lot of my page names have accents in them for the French version of the site. Where I display the_title() only, this is not a problem, but where I use the_title() as a variable to define my category_name, it doesn’t work at all (whereas names with no accents work beautifully).
I wanted to then try using the slug to avoid the accent problem, but get_bookmarks doesn’t seem to recognize category slugs as an option.
Any bright ideas out there?
- The topic ‘[Resolved] Looking for brilliant ideas for a tricky task involving accents’ is closed to new replies.