Is absolute control possible with WordPress

WordPress is just a CMS written in PHP language (well, some Javascript, HTML, and CSS too). It means if you’re building a self-hosted WordPress website (or, as you call it, WordPress.org) – you have absolute and total control and can do whatever you need. However, the possibilities are limited – by your own knowledge and … Read more

Switching From HTML to Visual Editor and Back Completely Strips Page Contents

I’ve had this code in a custom local plugin for a while. Or you could just stick it in your theme’s functions.php: // Allow iframe in TinyMCE function tinymce_add_iframe( $arr = array() ) { $extra=”iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width]”; if ( isset( $arr[‘extended_valid_elements’] ) ) { // append to existing value $arr[‘extended_valid_elements’] .= ‘,’ . $extra; } else { … Read more

How to prevent pages from automatically adding line breaks?

Try using get_the_content(); in your page template loop instead of the_content(); EDIT 05/24/2012 – Try this: <div id=”main-content”> <?php while( have_posts() ) : the_post() ?> <h1 id=”pagetitle”><?php the_title(); ?></h1> <div class=”pagecontent”> <?php echo get_the_content(); ?> </div> <?php endwhile ?> </div> P.S. You will also need to consider the rest of your more “normal” wordpress pages … Read more

New to CMS – WP functionality. overkill or just right?

For the most part, I believe WordPress will do just fine. You will have to brush up on your knowledge of PHP to get the hang of creating your own custom templates, but there are plenty of sites (This One Included) that will help guide you. There are also a plethora of free & premium … Read more

How do I put a wordpress blog into my html site?

Either install wordpress in a subdomain (blog.yoursite.com or sub folder (yoursite.com/blog) Design the WordPress site exactly like your current website to get a consistent design. Or make your entire website in WordPress. WordPress can be used for many other things than blogging.

How to Include HTML in Excerpts?

The excerpt is created in -> wp-includes/formatting.php with this code: function wp_trim_excerpt($text) { // Fakes an excerpt if needed global $post; if ( ” == $text ) { $text = get_the_content(”); $text = apply_filters(‘the_content’, $text); $text = str_replace(‘\]\]\>’, ‘]]&gt;’, $text); $text = strip_tags($text); $excerpt_length = 55; $words = explode(‘ ‘, $text, $excerpt_length + 1); if … Read more