Sorry, the forums are locked while I handle some maintenance.

 
This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

javascript in Pages

UserPost

10:12 am
December 4, 2009


ben@woodcreative.net

New Member

posts 2

Is there some reason that the rich text editor in WP, even when used in only HTML mode, adds <p> tags in the middle of my post when it renders on the page? They aren't visible in the HTML view, only rendered. I'm trying to embed a configuration javascript to use the Flowplayer flash player (http://flowplayer.org/tools/fl…..embed.html). – do you have any experience using this with WP btw?

I did get around this for now by compacting the script to remove extra lines and line breaks, but my script is still not running, maybe a separate issue. I do have the same script running on an HTML page all by itself.

Thanks!

12:43 pm
December 4, 2009


AaronCampbell

Admin

posts 242

The p tags actually aren't added by the visual editor.  They're added by a function called wpautop, and they're added when a post is dispalyed (as opposed to before it goes into the database).  There are some WordPress plugins that will allow you to turn that off on a per-post basis.

Upset at my slow responses recently? Please read my explanation.


About the Xavisys Forum

Forum Timezone: America/Phoenix

Most Users Ever Online: 50

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 26
Topics: 410
Posts: 1034

Membership:

There are 792 Members
There has been 1 Guest

There are 2 Admins
There is 1 Moderator

Top Posters:

lkmweb@me.com – 9
Brayne – 8
Xarzu – 8
Iain – 8
Aaron Fineman – 8
checox7@yahoo.com – 6

Recent New Members: puckles@gmail.com, kwelx@kwelx.com, kaufmanauthor@gmail.com, meesfrenkelfrank@hotmail.com, heather@holmpage.com, mark@avantgarde-group.nl

Administrators: AaronCampbell (242 Posts), Imported Questions (1 Post)

Moderators: nancy@mequoda.com (0 Posts)



 
Stop Censorship