HTML Not Working in My New WP Blog

by rbowen
11 replies
I hope I've just forgotten how I did an earlier WP blog (version 2.3.1 ... I think), but I've copied the same format .....

"<a href="xyz.com"><strong>Click Here</strong></a>

..... from one of the posts and pasted it into the 'HTML' view/mode of a new WP WordPress 2.7.1 blog that I'm trying to build, and it doesn't work. :?

I also tried "Inserting Video", and that doesn't work - and it did in my earlier WP blog.

Has something changed in this new WP version, or am I just doing something wrong (&/or stupid)?! Smile

Thanks,
Richard
#blog #html #working
  • Profile picture of the author Abledragon
    I've found the HTML view in post-write to be extremely temperamental and frustrating!

    I've never worked out why, but it frequently just ignores or undoes HTML I put in.

    So these days I do everything in the Visual view and only go to HTML view if there's something very specific I want to put in that the Visual view won't handle.

    Nothing wrong with the HTML you've put above, but why not try doing it through the Visual view and see if it works OK.

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[720167].message }}
  • Profile picture of the author raindog777
    I've had the same problem with all of my sites on 2.7.1. Just highlight the "Click Here" and hit the insert/edit link button. I've also had a problem with wordpress jumping between visual and HTML view while I'm typing. Not sure why.
    {{ DiscussionBoard.errors[720181].message }}
    • Profile picture of the author Wade Watson
      Stop using the lousy interface that comes with WordPress. I just reviewed several free external blog editors and I can tell you that's the only way to go. I just use the WordPress interface for last minute touchups now.

      My fav editors were Zoundry Raven and Microsoft Live Writer. Both have good HTML editing capability, as well as lots of other stuff. An editor called w.blogger even gives you a good HTML editor in place of a WYSIWYG one.

      These editors also work with other blogging platforms. Raven will even post to multiples at once. If you choose it, though, be sure to go into settings and change the box that replaces your links with their affiliate links.

      --Wade
      {{ DiscussionBoard.errors[720254].message }}
  • Profile picture of the author danemorgan
    The problem with external editor tools is that they don't support plugins you might be using on your post edit pages.

    Can you define "it doesn't work".
    Signature
    Did you ever notice that “author” is the root of the word “authority“?
    {{ DiscussionBoard.errors[720269].message }}
    • Profile picture of the author Wade Watson
      That's true. An external editor may not be able to use you plugins. I think 95% of bloggers don't use plugins within their entries, though, at least not most of the time. Even so, you can always go in and add those after doing the entry work in your editor. I always double check a post in WP before hitting Publish, anyway. An external editor is just a much better text editor than the stock WordPress one.
      {{ DiscussionBoard.errors[721954].message }}
    • Profile picture of the author rbowen
      Guys: Thanks - I'll try your suggestions and see what happens.

      Wade: I think I'll hold off on those HTML editors for now, as I'm kinda new to all of this.

      DaneMorgan: It simply displays the actual HTML code I entered in "HTML Mode". Instead of displaying "Click Here" and then, when you do, taking you to "www.XYX.com" (in my example, above post), it just displays the HTML code itself ("<a href... etc.)

      Hmmm! I decided to try something and it worked, sort of.

      I deleted the post that I described in my initial post, the one with the HTML code and the video I was trying to install. I redid the HTML code and published that in a post by itself - without the attempted video insertion. And that worked! When I clicked on the resulting link it took me to the web site it should have.

      Then I tried publishing another post with just the video inserted, but that didn't work.

      I clicked on the "insert video" icon and went through the same procedure as I remember going through a couple of months ago (with my older WP blog). However, I ended up with a link that, when you click on it (in the published blog page), opens a window to download & save the file to my hard drive ... without playing the video.

      I double checked and I can "Open with" Real Player and the video plays just fine.

      In doing the "Insert Video", I used "Browser Upload". Once the video file was loaded, I typed in a Title, Caption & Description. However, I'm not sure what I'm supposed to do when it comes to the last part, the "URL" part.

      It gives me 3 choices: 'None', 'File URL' and 'Post URL'. I tired 'None' & 'Post URL', but each time I got the same results - clicking on the published link opens a download window ... it doesn't play the video.

      When I tried "Post URL", the post shows my Title, Caption & Description just fine (whereas the 1st two options - 'None' & 'File URL' - did not). But it doesn't play the video when I click on it ... although at least it doesn't do the download window.

      So, I'm "dead in the water". :confused: Anybody have any suggestions - hopefully not too terribly 'technical', which I'm (obviously) not.

      Thanks,
      Richard
      {{ DiscussionBoard.errors[722436].message }}
      • Profile picture of the author Wade Watson
        Well, Richard, I think you could have learned to use an external editor is less time than it took to struggle with your video insertion problem, but here's my take. In order to have the video actually appear on the page, it needs to be placed as an object. Forget the "Insert Video" button. You need an embed code for the video, then simply paste it into the HTML view. I don't know what your source is, but if you've ever looked at a YouTube embed code it has an HTML "object" code at the beginning and end, along with information about the video player, size-- and the URL. It sounds like you tried to do it with just the URL and all that will give you is a link.
        {{ DiscussionBoard.errors[723153].message }}
        • Profile picture of the author danemorgan
          Originally Posted by Wade Watson View Post

          ... In order to have the video actually appear on the page, it needs to be placed as an object. Forget the "Insert Video" button. You need an embed code for the video...
          You nailed it.

          I'll agree 100% that the WP editor is worse than pretty much anything other than no editor at all.

          That said, this is pretty much exactly why I mentioned the plugin issue.

          There are plugins that you can add that will embed your video/audio into your post correctly. PodPress, for instance. But in order to use them you have to be working within the WordPress editor.

          Now, there Might be an external editor out there that does embeds too. It really wouldn't be a difficult thing to do and the demand is definitely high enough.
          Signature
          Did you ever notice that “author” is the root of the word “authority“?
          {{ DiscussionBoard.errors[723199].message }}
          • Profile picture of the author Wade Watson
            Right, Dane. Some of the blog editors I've seen have made it easy to upload your video to an online host like YouTube, and then it will embed the code. I haven't seen one that will load a player on the page, then upload and embed your video into it. I'll admit, I'm no expert at that, but I would guess the high end web editors like Dreamweaver can do that.
            {{ DiscussionBoard.errors[723404].message }}
  • Profile picture of the author .silent
    Well, as far as I know, you shouldn't put the <strong></strong> tags inside the hyperlink. Try putting it outside the link, and if it isn't strong, you can do this:

    <a style="font-weight: bold;" href="#">anchor text</a>

    Try that out.
    Signature
    Design Inspiration at it's finest. Get inspiration on your next project, or just get some real eye candy!
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    PM me for $15 PSD designs (normally $50), only 5 spots available and the price goes up!
    {{ DiscussionBoard.errors[723406].message }}
    • Profile picture of the author Wade Watson
      This thread has stimulated my curiosity, so I did a little research and found a Flash player plugin for WordPress that allows you to create your own embed code. I suppose this would be just the thing for a for-price online video, for instance. I haven't tried it yet, but I'll let you know when I do.

      Flash Video Player Plugin for WordPress
      {{ DiscussionBoard.errors[723443].message }}

Trending Topics