• Resolved pedrorafael

    (@pedrorafael)


    Hi,

    here’s a cool tip to make your plugin even better …

    Using {username}, {first_name}, {last_name}, {display_name}, {nickname} and {email} in menus, in some cases the theme breaks due to the amount of characters. Example: Let’s use the option to capture the user’s {nickname}. If a user uses a fancy word with 20, 30, 40 characters, it can make the site look totally distorted, you know?

    It has css palliative solutions, using text-overflow, but I don’t recommend it because if users use sub menus it will break the theme too. Simple and efficient solution is using php itself as a substr…

    Hope you hear my voice … :p

    Thank you,

    Pedro.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Suggestion for the plugin: limit characters not to break the theme.’ is closed to new replies.