WordPress Problem - Need help if you're good

4 replies
  • WEB DESIGN
  • |
I've had a website up and running for a while now and all of a sudden I have some issues with the pages (not posts). I hadn't been doing any editing at all, and now the headings (H1, H2, H3) and the photos on these pages are no longer visible on the website. They are visible when I go to the edit and preview pages, but they don't show up on live pages. Go to the website (Elliptical vs Treadmill) and go to the elliptical machine page. That page has H1, H2, H3 headers and a photo, but you won't see any of them.
Any help will be greatly appreciated.
Thanks,
Mark
#good #problem #wordpress
  • Profile picture of the author Patrick
    You can see them in the edit page screen ?

    Where are those images in the page ? Which part..
    {{ DiscussionBoard.errors[4448588].message }}
    • Profile picture of the author Putting4Par
      Originally Posted by schwarzes View Post

      You can see them in the edit page screen ?

      Where are those images in the page ? Which part..
      Yes, all the headers (H1, H2, H3) and the photo are visible on the visual edit page and the preview page. The photo is located in the top right corner of the page. The page looks just fine on these pages, but these items don't show up at all when you look online. It's very frustrating. I've turned off plugins, reloaded Wordpress, etc., etc. I've even tried creating new pages on this site and they suffer from the same problems. The posts are no problem. They come out fine. Thanks, mark
      {{ DiscussionBoard.errors[4448708].message }}
  • Profile picture of the author Kezz
    I just had a look through the code of that page and there is no sign of any image or heading HTML tags. There is just the one heading, i.e. the page heading itself.

    But what I do see is a huge amount of junk code. Here is a sample:

    <p><span
    style="font-family: Microsoft New Tai Lue,sans-serif;"><span
    style="font-size: medium;">One of the newer and most popular pieces of exercise equipment is the </span></span><em><a
    title="Elliptical vs Treadmill" href="http://www.ellipticalvstreadmill.us"><span
    style="font-family: Microsoft New Tai Lue,sans-serif; color: #000080;"><span
    style="font-size: medium;"><strong>elliptical</strong></span></span></a></em><span
    style="font-family: Microsoft New Tai Lue,sans-serif;"><span
    style="font-size: medium;"> or cross trainer. From the name itself, you can already gather that this exercise machine incorporates an oval-shaped movement to give its user a great workout. It's a weight-bearing exercise just like walking and jogging but is relatively low-impact. It's also easy to use.</span></span></p>
    And that's just one paragraph. It should look like this:

    <p>One of the newer and most popular pieces of exercise equipment is the <em><a
    title="Elliptical vs Treadmill" href="http://www.ellipticalvstreadmill.us"><strong>elliptical</strong></a></em> or cross trainer. From the name itself, you can already gather that this exercise machine incorporates an oval-shaped movement to give its user a great workout. It's a weight-bearing exercise just like walking and jogging but is relatively low-impact. It's also easy to use.</p>
    I'm guessing you might have pasted in your content from a Word Processor like MS Word?

    I'm also guessing with all the junk code in there, that's what's preventing everything from coming through properly at publishing time.

    I would suggest suggest starting with a fresh WP page, pasting all your content into an empty Notepad document, and then copying and pasting all that into your editor area. This will make sure any junk code is stripped out.

    There is also a button in the editor panel to paste from Word, and paste as plain text - I just prefer to go via notepad.

    Then, when you know there is no junk code (look in html mode to make sure) go ahead and add your headings and images again.
    {{ DiscussionBoard.errors[4449964].message }}
  • Profile picture of the author levoltz
    all you need to do is clean up the base code, and have a proper CSS file in place instead of inline CSS all over.
    having a common CSS file would also make it easy for maintenance.
    {{ DiscussionBoard.errors[4450823].message }}

Trending Topics