Menu title attributes not working
-
Hi guys love the plugin a happy convery from qtranslate. However I noticed the above. Can this be sorted? I googled and found someone noticed the same and hacked the plugin code (I know, not something you should do) so wobndered if it could be built into next update?
Here’s what he wrote:
“OK, I had another look at this and think I figured it out. In all_in_one_seo_pack.php on lines #677 and 679, the $title_attrib and $menulabel variables are output. What I did was add __() around the variables, like this for #677:
$filtered = ‘<li class=”page_item page-item-‘.$postID.$matches[2].'”>‘.__($menulabel).’‘;
and this for #679:$filtered = ‘<li class=”page_item page-item-‘.$postID.$matches[2].'”>‘.__($menulabel).’‘;
That works for me, now it filters out the correct language when using language shortcodes, even for menu label and title attribute.
Since this is posted in the “future request” part of the forum, it would be great to have a quick word from the programmers as to whether this can be added to an upcoming version or not.
Thanks!”
The topic ‘Menu title attributes not working’ is closed to new replies.