• Resolved Mr Robville

    (@mr-robville)


    Hi there, I’m having a bit of a struggle with a site I’m working on. (https://tinyurl.com/zxxa22l)
    When I visit the project pages there’s a “1” (without quotations) below the footer, causing it to raise with a blank space underneath. I’ve searched high and low but can’t figure out what’s causing this.

    All other pages work fine unless I’m in admin mode and the WP toolbar is displayed atop. Then the evil ‘one’ appears everywhere.

    Does anyone have any idea what’s causing this and how to get rid of it? I’m not very tech savvy when it comes to webdesign.

Viewing 7 replies - 1 through 7 (of 7 total)
  • It’s in the body [I found this using firebug – on firefox/chrome, right click on the “1” and select inspect element from the dropdown].

    It looks like in index.php under the wp-footer it’s in there. I doubt it’s in the footer.php

    It could be worth using search [control+F] to search each file for the offending “1”!

    Thread Starter Mr Robville

    (@mr-robville)

    Hi, thanks a lot for your reply.
    I’ve checked both the index.php within the WP root folder as within the theme’s root folder but unfortunately there’s no sight of this dreadful 1.
    Both php files are about 20 lines of code. Could it be I checked the wrong index.php?

    Possibly. I can’t remember of the top of my head where the theme folders are located as that is the folder where you should be editing.

    You can edit your theme using the editor within WordPress [For some reason this is how I usually edit].

    If you sign into your WordPress admin. on the left bar look for “Appearance” and then select “Editor”.

    This by default should load your current theme. The files in the right hand list are your theme’s files and this is what you should edit. Look down this list for (index.php) and start here first.

    Thread Starter Mr Robville

    (@mr-robville)

    I found the main index template file as it’s referred to. Still, no sign of “1”. I’m browsing through some other files in that list as well but none contain it. Could it be possible that it’s some kind of inline bit that a plugin adds?

    Thinking about this, it must be on the page template (page.php).

    From the code I can see it’s either on template relating to
    “single” or “single-portfolio”

    I don’t think it’s a plug-in as there usually is mark-up around the code which there’s isn’t

    Thread Starter Mr Robville

    (@mr-robville)

    Ladies and gentlemen, we got him.
    There was a 1 without quotations located behind the footer bit within single-portfolio.php of the portfolio magic plugin. Everything now works properly.
    A thousand times thank you.

    Glad you sorted it ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘A random "1" located below site footer’ is closed to new replies.