Html "code" effect not working

  • Unknown's avatar

    Hello I’m trying to post html within the but it comes out as if I didn’t apply the “" action... help?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Whoops didn’t realized the html will show up.

    When I’m trying to to use the code html in my pages or blog post it seems to be ignored… any idea why?

  • Unknown's avatar

    What’s the code for please and where are you posting it? Are you suing the HTML editor? Or are you placing it in a text widget?
    See here > http://en.support.wordpress.com/code/

  • Unknown's avatar

    I’m trying to post a picture linking to a page. And yes I am using the html editor.

  • Unknown's avatar

    If it’s an advertising code or an affiliate link code or JavaScript or an iframe cod, etc. (see the link I posted above) the software is stripping it out.

  • Unknown's avatar

    Are you using the method described here?

    Working With Images

  • Unknown's avatar

    I am not sure if posting a picture from photobucket is considered advertising. However I tried posting simple text like “example” within the code tags. That didn’t show up either.

  • Unknown's avatar

    Example
    I tried the above in my posting and it shows up as:

    Example

    :S

  • Unknown's avatar

    could it be that the effect is disabled somewhere?

  • Unknown's avatar

    or maybe the theme that i’m using does not support it?

  • Unknown's avatar

    What do you mean that you’re putting it between code tags? Are you trying to make the code visible?

    If you’re using html to insert an image (from photobucket or anywhere else) and then enclosing that in an “a href” html tag to have a click on the image lead to another page, that should work — unless, as timethief says above, the link is affiliate linking or advertising.

    Here’s and example of a link code bringing someone to my about page from my gravatar image, uploaded to Photobucket since you are using Photobucket, used just for an example:
    <a href="http://mmadfan.wordpress.com/about/" target="_blank"><img src="http://i196.photobucket.com/albums/aa289/MMADfan/WP%20Blog%20Avatars/CelticCatLogo1-1.png" border="0" alt="Celtic Cat"></a>
    This will make the image appear and be clickable.

  • Unknown's avatar

    BTW, I didn’t see any code in your code example “Example,” just the word.

  • Unknown's avatar

    ^ Yes I was just putting an example of how it looked like. Even when i put it between the code in my posts…

  • Unknown's avatar

    And if you’re in the html editor, simply type the html — don’t use any little back ticks like you used here — they’re to enable posters to give examples of code without it being “active.”

    If you’re using the visual editor, use the “insert image” button in the first row of controls, then when the image appears in your editing pane, click on it once.

    After clicking, you’ll see a little “picture” icon in the upper left-hand corner. Click on it, and you can do things like center the image and add a link to it. The default links to the image itself. Replace that with the url of the page you want it to lead to, then save your changes.

    When you’re there, you can also resize the image, but if you’re concerned about image quality, it’s best to upload the image at the size you want it, since resizing within wordpress tends to hurt the resolution (don’t have a link to that info handy).

    I think you’re making your task more complicated than it is, or using some characters that you don’t need, or something.

    Hope this helps. :)

  • Unknown's avatar

    Hello thanks for all your attempts to help however I am an experience html user and I believe I don’t think I’m going anything wrong…I have no idea why this is not working. I am simply trying to show html through the code tags but the system seems to be ignoring the code tag… could It be that I have turned on/off something that is making the system ignore the code tag?

  • Unknown's avatar

    Okay I’m going to try and explain myself in a better way.

    So basically right now I’m just trying to make the code tags work, to at least show something like this :

    <b> example</b>

    However in my post when I try to to do that it shows up as

    <b>example</b>

    It ignores the code tags …

  • Unknown's avatar

    @imvudesigner
    Please don’t be insulted but when you say you are experienced in the use of HTML are you perchance referring to experience you gained working on Blogger blogs, or Myspaces blog?

    WordPress software will correct invalidly nested HTML. Have you gone here > Settings > Writing and enabled this?
    ___ WordPress should correct invalidly nested XHTML automatically” and then scroll down and click “Save Changes.

    I see that you have referred to HTML tags that are not supported HTML Tags above. WordPress.com allows the following HTML code in your posts, pages, and widgets:

    address, a, abbr, acronym, area, article, aside, b, big, blockquote, br, caption, cite, class, code, col, del, details, dd, div, dl, dt, em, figure, figcaption, footer, font, h1, h2, h3, h4, h5, h6, header, hgroup, hr, i, img, ins, kbd, li, map, ol, p, pre, q, s, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var

    Add Code to Your Site

  • Unknown's avatar

    @timetheif

    I’m definitely no expert when it comes to html. However, I am able to create simple webpages as well as css style sheets and have had experience with them for over two years.

    Yes, that section is enabled in the settings.

    This is really strange because I think something is wrong with the theme that I’m using perhaps? I feel like if I can use the
    example

    here, as I reply right now, I should be using it correctly…

  • Unknown's avatar

    http://imvudesignertest.wordpress.com/

    ^ As you can see in the first post, the banner shows up despite the fact that I’ve put it between the tags...

  • Unknown's avatar

    Between what tags, exactly? We can’t see what tags you’re putting in, only the word “tags.” (I suppose I could slog through “View Page Source,” but . . .)

    Are you trying to just show the bare naked html on the post and not have the banner visible? In other words, you want the code visible? What are you using to do that — or to do whatever it is that you’re trying to do?

    I’m sure that there are other, better, ways to show html code in a post, but I’ve used a shortcode for it: [code] [/code], and that worked fine. Since it’s not something I do regularly, it worked for my purposes — and there were image src tags in there, as well. There are other shortcodes for displaying different sorts of code using [sourcecode][/sourcecode], and you can add parameters to specify what kind of code you’re displaying.

    Here’s the relevant wp.com link: http://en.support.wordpress.com/code/posting-source-code/

    If this isn’t what you mean, you’ll need to describe in more detail what it is you’re trying to do in your post.

  • The topic ‘Html "code" effect not working’ is closed to new replies.