Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jamida

    (@jamida)

    Thanks for pointing out to me where the info I need is… (and I really do mean that) but you’re missing my point. In the “bad old days” I could just as well go to the codex to also find the update yet you’ve provided this handy feature on the dashboard to tell me updates are available.

    Thread Starter jamida

    (@jamida)

    I think the problem may be related to the fact that these images, despite my best efforts otherwise, are being re-sized by the system. I’ve started a new question-thread on this issue.

    thanks all!

    Thread Starter jamida

    (@jamida)

    No, I do not mean the visual editor… I mean that I have not published this post and am viewing the page by clicking the “preview” button. The “view source” snippet I posted above was grabbed that way. (But I was unaware of any problems in switching back and forth between the 2 modes. So I’ll keep that in mind.)

    I am reading more into the kses.php suggestion earlier. It looks like the default <img> tag does not allow for a “usemap” attribute. So I added it. However that’s no help. I may need to add an <area> tag and a <map> tag to that file to get the full functionality I’m looking for.

    I’m surprised to find that when I add that HTML code, I put the new stuff in CAPS. Here’s the kicker… SOME of the stuff wordpress converted to lowercase, others it left as caps. Perhaps a sign of what the kses.php file is processing/mangling?

    Thread Starter jamida

    (@jamida)

    Thanks phpprincess, but I don’t think that’s it as the code is showing up when I hit view source, it’s just not working right. Here’s a sample:

    <img class="aligncenter size-full wp-image-312" src="https://newswithnumbers.com/wordpress/wp-content/uploads/2009/07/HealthCareQuality.gif" USEMAP="#HealthCareQuality" width="800" height="600" />
    <MAP NAME="HealthCareQuality">
    <AREA SHAPE='rect' COORDS='113,91,121,99' TITLE='Japan HDI: 8, Infant Mort 3, Life Expect 82.3'>
    <AREA SHAPE='rect' COORDS='92,107,100,115' TITLE='Iceland HDI: 1, Infant Mort 2, Life Expect 81.5'>
    </MAP>

    I’m in preview mode, btw in case this makes a diff. I get this up there by first inserting the image in the normal way. Then I edit the HTML to add the “usemap” attribute to the IMG tag and then add the rest of the <MAP> stuff.

    So… it’s not like wordpress is blocking the tags, but instead is somehow just making it not work.

    I’m not familiar with this syntax. Is it valid PHP?

    foreach ($results as $o):
        $type = $o->action_type;
    endforeach;

    Specifically the “:” at the end of the foreach line and the closing “endforeach;”.

    If indeed this is the problem then it could be that the closing “:” on the foreach line just makes the loop run through all the $results with the effect that $o is assigned the last result and then your code runs.

    Good luck

    Thread Starter jamida

    (@jamida)

    Really! So “self pinging” is by design!?! Wow. Anyway, thanks for that plug in. I’ll give it a shot.

    I’m a little surprised that I was able to write an article under 2.7 (or maybe 2.6) of wordpress with an internal link to another article and it didn’t fire up the ping back mechanism. But again, I’m happy for anything that solves my problem.

    Thanks!

    Thread Starter jamida

    (@jamida)

    Nevermind… I found it, it’s under “appearance”/”widgets”

Viewing 7 replies - 1 through 7 (of 7 total)