Skip to main content

P2 WordPress Theme WYSIWYG or Rich Text Editor On Front Page

First of all let me describe what is WordPress P2
A group blog theme for short update messages, inspired by Twitter. Featuring: Hassle-free posting from the front page. Perfect for group blogging, or as a liveblog theme. Dynamic page updates. Threaded comment display on the front page. In-line editing for posts and comments. Live tag suggestion based on previously used tags. A show/hide feature for comments, to keep things tidy. Real-time notifications when a new comment or update is posted. Super-handy keyboard shortcuts. Helvetica Neue for you modern font lovers.
In other words it's a them with a post box on the main page that enables registered members to post status update, posts, discussion or whatever and comment on others posts.

P2 WordPress theme lacks WYSIWYG or rich text editor on the front page, users with no knowledge of HTML will experience trouble posting pictures or formatting, quoting text, the problem is that if you implement an editor like TinyMCE it will conflict of the status update leading into a very slow infinite loop of more TinyMCE calls, at the same number of posts per page.

Now I didn't try much on adding it as I preferred to leave it as text, no pictures, no formatting exactly like twitter,   but I found some posts about an alternatives editors which is slightly lighter then TinyMCE.

How to enable WYSIWYG on P2 Wordpress Theme:
http://corpocrat.com/2008/12/18/free-wysiwyg-textarea-html-editor/


1. Download free-wysiwyg-textarea-html-editor.
2. Extract the zip file and place it in your p2 theme directory.
3. Modify the included ed.js file to work with your directory structure.
4. Include ed.js in your header.
5. Add   to your post-form.php right after
tag.
Via [WP]

Comments

Popular posts from this blog

Free Online Anti-Mosquito, Pest, Rats and Bugs Ultrasonic Generator

No need to download any files or apps, just open this page on any device no matter PC, Mac, Android, iOS, Palm OS, anything really can run this page, so make sure to bookmark it!

Ultrasonic Generator Features
Anti Mosquito.Anti Bugs like Cockroaches.Anti Other kinds of Pest.Anti Rats and other small animals.Anti Teens, yes it annoyed them too much they will leave you alone. Usage:Just open this page, scroll down and click start on any handheld, PC, MAC and others.Turn on the volume of your device up to max.Do not use headphones.You might not hear the sound if you are older than usually 20, if you have a good hearing than you will.
Click start below to get the ultrasonic started.

STARTSTOP

Portable Wi-Fi Routers: A Smarter Way to Stay Connected While Traveling Across Spain

Spain has certainly emerged as one of the top tourist destinations around the world. Millions around the world plan holiday trips and vacations across various cities and counties in Spain. However, the biggest challenge while traveling abroad is staying connected. Most tourist
s find it hard to stay connected with their family members, relatives and friends back in the home country because they are not really sure about which networks they should buy and what kind of service they should choose.

At times many people feel that they are being cheated because of the high charges that they have to incur.
While there are hotels in Spain that offer better Wi-Fi connectivity for tourists the problem is that they charge high rates for it. This means that you end up spending more on the connectivity than on any other services. Many tourists feel that it cuts down their budget and that is not something that they prefer. Travelers today want to stay connected with their loved ones even while the…