Title: Basic PHP function question
Last modified: August 18, 2016

---

# Basic PHP function question

 *  [elmsblog](https://wordpress.org/support/users/elmsblog/)
 * (@elmsblog)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/basic-php-function-question/)
 * Installed a plugin for my AIM online status. The issue for me is that my website
   waits until this plugin has retrived and displayed my online status before rendering
   the rest of the page. Is there a way around this at all??? I just want my page
   to load while the plugin is searching for my AOL screenname.
 * Thanks ya’ll!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [niziol](https://wordpress.org/support/users/niziol/)
 * (@niziol)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/basic-php-function-question/#post-338895)
 * I’m not completely sure, but I think the only way would be something like an 
   iframe in HTML, because even if you include a seperate php page via php, it would
   still need to execute and generate its results before sending the server could
   output the page to the browser.
 * I’m sure there is a way with javascript or something, I just don’t know what 
   it is!
 * Good luck,
    Michael.
 *  [failurebydesign](https://wordpress.org/support/users/failurebydesign/)
 * (@failurebydesign)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/basic-php-function-question/#post-338904)
 * The Javascript handler onLoad (when used in your BODY tag) loads anything you
   want after the rest of the page has finished loading.
    I’m stupid with Javascript
   though so I have no idea how to run a PHP script with onLoad.. sorry!!
 *  Thread Starter [elmsblog](https://wordpress.org/support/users/elmsblog/)
 * (@elmsblog)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/basic-php-function-question/#post-338936)
 * that would be cool. anyone familiar or know another technique??
 * Thanks!
 *  [CalEvans](https://wordpress.org/support/users/calevans/)
 * (@calevans)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/basic-php-function-question/#post-338941)
 * [@elmsblog](https://wordpress.org/support/users/elmsblog/),
 * I’ve toyed with the idea of AJAXifying this plugin. Maybe v2.0. That would prevent
   it form stopping the load of your page because it would use JavaScript to load
   it in the background. Then display it. It’s a thought I’ve had for a while, just
   never got around to it.
 * =C=

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Basic PHP function question’ is closed to new replies.

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [time](https://wordpress.org/support/topic-tag/time/)

 * 4 replies
 * 4 participants
 * Last reply from: [CalEvans](https://wordpress.org/support/users/calevans/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/basic-php-function-question/#post-338941)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
