How can I split long posts into pages?

Your theme must have support for the <!–nextpage–> tag. You will need to add <?php wp_link_pages(); ?> in your post loop. http://codex.wordpress.org/Function_Reference/wp_link_pages

Limit get_pages to only show 5 items

I have had similar problems with the number attribute in get_pages() I got around it by using get_children: $pages = get_children(array( ‘numberposts’ =>1, ‘post_parent’ => $heading_page->post_id )); and using post_parent instead of child_of.

Differentiate between posts and pages in search results

Try this… <?php //prevent this div from displaying for pages: if ( get_post_type() != ‘page’ ) : ?> <div class=”searchdate”><?php the_time(‘F jS, Y’) ?></div> <?php endif; ?> The is_page() conditional tag only checks if currently displayed content is a single page view. Nothing for you at this point. See http://codex.wordpress.org/Function_Reference/is_page

Get the Page Content,without generating HTML

Where are you doing your code parsing? If you’re doing it directly in the template file, inside the Loop, then you should be using get_the_content(). However, it might be more efficient to filter the_content(), via the the_content filter. e.g. in functions.php: function mytheme_filter_the_content( $content ) { // add code here to filter the_content // which … Read more

How can I have two content titles?

Strictly speaking title is column in posts database table so it is not easy (or makes sense) to add one more title. But it is trivial to emulate by using custom field to store additional title (or anything else).

Display a specific dynamic sidebar widgets on a specific page

I think what you might need is simply to run register_sidebar() in an ‘widgets_init’ hook. The TwentyTen theme has examples for register_sidebar() in its functions.php file, but here’s what it might look like: add_action( ‘widgets_init’, ‘twentyten_widgets_init’ ); function twentyten_widgets_init() { register_sidebar( array( ‘name’ => __( ‘News Sidebar’, ‘yoursite’ ), ‘id’ => ‘sidebar-news’, ‘description’ => __( … Read more

Single post as homepage?

Not sure if it is the most elegant way but the easiest is probably to create a shortcode that displays a single page, and then set that page to display as the front page. e.g. http://wordpress.org/extend/plugins/post-content-shortcodes/