WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Can't get rid of trailing space (nbsp) after page title in access menu (5 posts)

  1. eschickel
    Member
    Posted 4 years ago #

    Here is the site I'm working on: http://www.ne-ygn.org

    You'll notice there's a trailing space (nbsp) after "EVENTS" in the menu bar. I can't figure out where it's coming from!

    I'm using the "Events Manager" plugin, but added the Events page manually - so I don't think it's being caused by the plugin.

    - The page title in the "Pages" settings does not have it.
    - The page title in the "Events Manager" settings does not have it.
    - I've gone through the database and can't find it anywhere.

    Any insight would be greatly appreciated!

    Thanks,
    Evan

  2. Mark / t31os
    Moderator
    Posted 4 years ago #

    If it's not in the page's title(which it does appear to be) as you've outlined above.. then i'd look at the code that generates the menu(most likely in header.php at a guess).

    The source code certainly suggests the space is in the title...

    Try this..

    Remove the title, all of it, put in something random, save, check the page for the extra space(gone?), now go back and put the original title back in(but type it in manually), save, reload the page.

  3. eschickel
    Member
    Posted 4 years ago #

    Figured it out! It WAS the plugin. There's a function that overwrites the page title with the title specified in the plugin settings - which adds the NBSP. All set now.

    Thanks!

  4. bzevotek
    Member
    Posted 4 years ago #

    I have the same problem. Where did you find the problem and how did you fix it?

    Im at carthagerunners.org

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    I'm using the "Events Manager" plugin

    Figured it out! It WAS the plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic