'; }elseif($_POST["inap_test"] == 2){ update_option('inap_test',''); $message .= 'INAP test options deleted.
'; $inapall = get_option('inap'); }else{ INAP::update_options($_REQUEST['inap']); update_option('inap',$inapall); update_option('inap_test',''); $message .= 'INAP options updated.
'; } }elseif($_POST["action"] == "restoredefaults"){ $inapall = ''; INAP::set_defaults(); $message .= 'INAP settings restored to defaults.
'; }elseif($_POST["action"] == "restoreupdate" && $_POST['resop']){ $options = trim($_POST['resop']); if( get_magic_quotes_gpc() ) { $options = trim(stripslashes($options)); } $options = preg_replace('!s:(\d+):"(.*?)";!e', "'s:'.strlen('$2').':\"$2\";'", $options ); $options = unserialize($options); $inapall = ''; if(is_array($options)){ INAP::update_options($options); update_option('inap_test',$inapall); $message .= 'Options successfully saved as test options. Please review them for consistancy before saving.
'; } } $inap_test = get_option('inap_test'); if(is_array($inap_test)){ $inapall = $inap_test; $is_test= true; $message .= 'You are using the test options currently. You must save them as the live options or delete them to see the current live options.
To view these settings append ?inap=test to any URL in your blog or click here '; } if($inapall['comment_template'] == '1'){ $temp1 = 'checked="checked"'; }elseif($inapall['comment_template'] == '2'){ $temp2 = 'checked="checked"'; }else{ $temp0 = '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['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['paginate_max_words_para'] == ''){ if($sm2) $inapall['paginate_max_words_para'] = $inapall['line_break']; if($sm3) $inapall['paginate_max_words_para'] = $inapall['word_limit']; } if($inapall['max_words_para'] == ''){ if($sm2) $inapall['max_words_para'] = $inapall['line_break']; if($sm3) $inapall['max_words_para'] = $inapall['word_limit']; } $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','allow_custom','read_more'); foreach($texts as $name){ $inapall[$name]= stripslashes(htmlspecialchars($inapall[$name],ENT_QUOTES)); } $checkboxes = array('strip_excerpt','strip_html','use_fade','simple_posts','simple_comments','special_effects','comment_threaded','show_addcomments_single','show_comments_single','show_addcomments_page','show_comments_page','show_addcomments_home','show_comments_home','trimfeeds','live_preview','live_preview_smilies','live_preview_html','comment_order','inap_pages','hide_child_comments','hide_excerpt','allow_custom','paginate_mode','default_behavior','add_comments_tags','posts_off','comments_off','nav_off','give_credit','go_to_post','hide_old_child_comments'); foreach($checkboxes as $name){ if($inapall[$name]==1) $$name= 'checked="checked"'; } if($inapall['comment_order'] == 'DESC'){ $comment_order= 'checked="checked"';} if($message){ echo '

'.$message; echo '

'; } ?>

Edit Inap Configuration

Black bordered options are the most important.

  • name="inap[posts_off]"> «—
    name="inap[comments_off]"> «—
    name="inap[nav_off]"> «—
  • name="inap[simple_posts]"> «— [?]

  • name="inap[simple_comments]"> «— [?]

  • name="inap[allow_custom]"> «— [?]

  • name="inap[trimfeeds]"> «— [?]

This plugin is about 120k characters long, has over 3000 words of documentation, and I have spent over 250 hours to program, maintain, and triage it. Have you found In-line Ajax Page useful? If so, isn't it worth a little bit of time or money?

Even a small donation helps. (You wouldn't beleive how much it takes to keep one of these grasshoppers fed.) But if circumstances make a monetary donation impossible, links, referrals and comments are appreciated.
Donate With Paypal Donate from my Amazon Wish List
Or if you can't donate money selecting the following checkbox will append a small link into your wordpress footer to AnthologyOI.com, please consider using it. name="inap[give_credit]">

The following texts are the default texts displayed when a post has more than one page. You can use the tags %title, %author, %date, %categories, %count (comment count) and %time to show their respective data in the following textboxes.
  • name="inap[go_to_post]"> «— [?]


  • [?]
    [?]
    [?]
    «— [?]

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

  • name="inap[hide_excerpt]"> «— [?]

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

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

By default INAP only creates two pages, a short preview and everything else; however, the pagination option allows you to create additional pages to further split the post.
  • [?]

  • Combined the example options with CSS styling yield: Go to

    «— [?] «— [?] «— [?]

    «— [?] «— «— [?]

The following texts are for comments. You can use the tags %title, %author, %date, and %time to show their respective data in the following textboxes.
  • name="inap[show_comments_single]">«—
    name="inap[show_comments_page]">«—

  • [?]
    [?]
    [?]

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

  • name="inap[hide_child_comments]">«— [?]

  • name="inap[hide_old_child_comments]">«— days old. [?]

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




  • [?]
    [?]
    [?]

  • «— «—

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

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

  • name="inap[live_preview]"> «—
    name="inap[live_preview_html]"> «—
    Do not display the following tags (leave them as code such as <strong>) «—
    name="inap[live_preview_smilies]"> «—

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


  • [?]
    [?]
    [?]

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

  • [?]

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

  • Scriptaculous show comments/add comments effect and hide effect

  • and hide effect

value="1"> Save these options as a test (will not be publically visible but you won't be able to edit the actual blog settings.)

Delete test settings (will revert admin panel options to the live settings.)

value="3">Save current settings as live settings (will change publicily visible settings.)