'; } if($inapall['comment_template'] == '1'){ $temp1 = 'checked="checked"'; }elseif($inapall['comment_template'] == '2'){ $temp2 = 'checked="checked"'; }else{ $temp = 'checked="checked"'; } if($inapall['split_mode'] == '3'){ $sm3 = 'checked="checked"'; }elseif($inapall['split_mode'] == '2'){ $sm2 = 'checked="checked"'; }else{ $sm1 = 'checked="checked"'; } if($inapall['split_comments'] == '3'){ $sc3 = 'checked="checked"'; }elseif($inapall['split_comments'] == '2'){ $sc2 = 'checked="checked"'; }else{ $sc1 = 'checked="checked"'; } if($inapall['paginate_mode'] == '3'){ $fp3 = 'checked="checked"'; }elseif($inapall['paginate_mode'] == '2'){ $fp2 = 'checked="checked"'; }elseif($inapall['paginate_mode'] == '1'){ $fp1 = 'checked="checked"'; }else{ $fp0 = 'checked="checked"'; } if($inapall['default_behavior'] == 'content'){ $sel1 = 'checked="checked"'; }else{ $sel2 = 'checked="checked"'; } if($inapall['js_library'] == '3' || ($inapall['use_prototype'] == 1 && !$inapall['js_library'])){ $jl3 = 'checked="checked"'; }elseif($inapall['js_library'] == '2'){ $jl2 = 'checked="checked"'; }else{ $jl1 = 'checked="checked"'; } if($inapall['strip_excerpt'] == 1){ $se = 'checked="checked"'; } if($inapall['strip_html'] == 1){ $sh = 'checked="checked"'; } if($inapall['use_fade'] == 1){ $uf = 'checked="checked"'; } if($inapall['comment_threaded'] == 1){ $ct = 'checked="checked"'; } /* if($inapall['use_jquery'] == 1){ $uj = 'checked="checked"'; } if($inapall['use_prototype'] == 1){ $up = 'checked="checked"'; }*/ if($inapall['special_effects']){ $spe = 'checked="checked"'; } if($inapall['show_comments_single'] == 1){ $scs = 'checked="checked"'; } if($inapall['show_addcomments_single'] == 1){ $sas = 'checked="checked"'; } if($inapall['show_comments_page'] == 1){ $scp = 'checked="checked"'; } if($inapall['show_addcomments_page'] == 1){ $sap = 'checked="checked"'; } if($inapall['add_comments_tags'] == 1){ $act = 'checked="checked"'; } if($inapall['simple_posts'] == 1){ $sp = 'checked="checked"'; } if($inapall['simple_comments'] == 1){ $sc = 'checked="checked"'; } if($inapall['trimfeeds'] == 1){ $tf = 'checked="checked"'; } if($inapall['live_preview'] == 1){ $lp = 'checked="checked"'; } if($inapall['live_preview_html'] == 1){ $lph = 'checked="checked"'; } if($inapall['live_preview_smilies'] == 1){ $lps = 'checked="checked"'; } if($inapall['inap_pages'] == 1){ $ip = 'checked="checked"'; } if($inapall['comment_order'] == 'DESC'){ $co = 'checked="checked"'; } $texts = array('link_show_text','link_hide_text','link_embed_show_text','link_embed_hide_text','comment_open','comment_hide','addcomment_reply_open','addcomment_reply_hide','comment_tag','comment_all_tag','comment_body_tag','comment_title_tag','addcomment_open','pagelinks','addcomment_hide','live_preview_before','live_preview_after'); foreach($texts as $name){ $inapall[$name]= stripslashes(htmlspecialchars($inapall[$name],ENT_QUOTES)); } if($message){ echo '

'.$message; echo '

'; } ?>

Edit Inap Configuration

may cause undesirable effects with certain plugins; if you have any problems with it, you may want to edit your files as described in the instructions. ','inap');?>
  • name="inap[simple_posts]"> «—

Have you found Inline Ajax Page useful? If so, isn't it worth a little bit of time or money? If you are feeling monetarily generous make a donation. How much is entirely up to you If circumstances make a monetary donation impossible, links, referrals and comments are appreciated.
Donate With Paypal Donate from my Amazon Wish List Donate with Amazon Honor System

  • name="inap[inap_pages]"> «—

  • «—

  • «—

  • «—

  • «—




  • «—

  • «—

  • name="inap[strip_excerpt]"> «—

  • name="inap[strip_html]"> «—






  • «—

  • «—

  • «—

  • «—

  • «—

  • «—

  • «—

  • «—

  • «—

  • «—




  • name="inap[comment_threaded]">«—

  • «—

  • name="inap[comment_order]">«—




  • «—

  • «—

  • «—

  • name="inap[show_comments_single]">«—

  • name="inap[show_comments_page]">«—

  • «—

  • «—

  • «—

  • «—

  • name="inap[add_comments_tags]"> «—

  • name="inap[live_preview]"> «—

  • name="inap[live_preview_html]"> «—

  • «—
  • «— You say:</p>" ','inap');?>

  • «—

  • name="inap[live_preview_smilies]"> «—

  • name="inap[show_addcomments_single]"> «—

  • name="inap[show_addcomments_page]"> «—

  • name="inap[use_prototype]"> «—




official INAP support thread.','inap');?>
  • «—

  • «—

  • name="inap[special_effects]"> «—

  • «—

  • «—

  • «—

  • «—



Quick Doc

Now open your index.php (or post.php depending on your theme) in your themes folder. To display posts in-line replace the_content or the_excerpt with inap_content or inap_excerpt respectively. These will give you the most basic options and are mirror images of the normal function.

To display comments in-line add <?php do_action('inap_comments'); ?> where you want the comments to appear when they are loaded and add <?php do_action('inap_comments_link'); ?> where you want the show/hide comments link to appear.

To display the add comment box in-line add <?php do_action('inap_addcomments'); ?> where you want the add comment box to appear and add <?php do_action('inap_addcomments_link'); ?> where you want the show/hide add comment box link to appear.

Save the file and upload it to your current theme folder.



Reference
This is not the complete reference, just parts that you may need frequently. Please visit the main INAP page for the latest documentation.

This plugin adds the following tags for the loop (there are multiple ways to do the same thing):
Listed in preferential order.

To show post content:
Select Simple Post <- best if you use the admin panel.
do_action('inap_post'); <- if Simple Mode doesn't work, or has problems.

To show comment link:
do_action('inap_comments_link');

To show comment content:
do_action('inap_comments');

To show add comment link:
do_action('inap_addcomments_link');

To show add comment box:
do_action('inap_addcomments');

Pagination:There are three basic ways you can harness the power of pagination. 1) on a post-by-post basis with nextpage. Everything else works as normal. The page links are added inside the content and only show up when you load the rest of the post. 2) Force all posts to paginate just set it to split on paragraphs or words and you are ready to go. 3) Remove the excerpt from the beginning of all posts. To do this, just select trim excerpt and force the number of pages to be 1.

Split Mode:Inap can display the content itself in three ways. Splits the post only if there is a <!–more–> tag, always split it after the number of line breaks you set (defaults to the first) or emulate the_excerpt in that it will trim it to a specified number of words. However, if you explicitly add an excerpt to the post it will automatically use that in all cases.

Strip HTML:The default is to show the html, but if you want html stripped from your previews you can set this to off. Stripping HTML may cause some plugins not to work correctly, and may cause display errors.

Should other information be here? Drop me a comment.