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:

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
Via [WP]


Popular posts from this blog

Tria Mera - 666 - The truth

Following is a reference to the movie white noise, what you see on this page is not my opinion, and I am not interested on this stuff, if you come here than you are probably searching after watching the movie or researching tria mera term, this is for educational purposes only.

The expression, Third Day, appears in several narratives in the Bible. (Occasionally, it is “three days.”) Some biblical interpreters have thought that some of these third day motifs have significance by signifying a certain divine principle, and a few interpreters have thought that they are cryptic in meaning. Why? Interestingly, these narratives record some of the most important events in the history of Israel. And surprisingly, except for the Bible’s mention of the third day, the seventh day, and its account of creation in Genesis 1, the Bible rarely mentions the other days of the week.
The Number of the Beast is described in the Book of Revelation 13:18. From the King James translation:[5]
Here is wisdom. L…

How to Access Satellite Internet for Free

Before you start, please note that sniffing data is highly illegal, and the below is a tutorial so you understand how it works, there is no other reference in English that goes in depth except this page, therefore you need to link back in case you used this content on any medium.
I held no responsibility what so ever if you use the below in other purposes that is not educational or testing.

For a long time satellite internet is the right solution for people in remote locations, such as forests, desert, islands and more deep far locations.

Even after the huge expansion of internet to most of the inhabited remote locations there are still people who uses satellite internet for different reasons, as it cannot be disrupted by your government, it is portable, just take your dish and decoder with you to your new home as long as the satellite you subscribed in is covering your new area as well.

Now about free access to this internet, it's around you everywhere, all you need is the right …

How to Fix Ghost Touches on any Tablet / Phone - Aka Touch Glitch

A DIY on how to fix any tablet or phone touch screen, no matter if it's android or windows this fix should work, most of the times ghost touch or phantom touches are caused by over heat and grounding issues, so instead of tweaking the software which didn't work for you for ages get your tools and watch this video! it's really simple and needs no technical knowledge.