This post is one of my WP Greet Box Troubleshooting Guides series (more to come).
Symptom
You have installed WP Greet Box and found that your greeting messages do not show up.
Note that this troubleshooting guide should only be used for WP Greet Box with cache compatibility mode enabled.
Step 1: Check code embed
- Visit one of your post pages.
- Make sure there are no javascript error messages when you visit a post page.
- On your post page, do a browser View > Source on the page, then check if the following text are there:
- wp-greet-box/css/wp-greet-box.css
- id=”greet_block”
- wp-greet-box/js/functions.js
- wp-greet-box/js/onload.js
If all is there, then proceed to next step.
If wp-greet-box/css/wp-greet-box.css does not exists, it could mean that your theme does not make a call to the standard wp_head() function. You can fix this issue by manually inserting the follow between your <head> and </head> tags:
<link rel="stylesheet" href="/wp-content/plugins/wp-greet-box/css/wp-greet-box.css" type="text/css" />
If wp-greet-box/js/functions.js & wp-greet-box/js/onload.js does not exists, it could be that your theme does not make a call to the standard wp_footer() function. You can fix this issue by adding <?php wp_footer(); ?> into your theme’s footer.php or manually inserting the following towards the bottom of your HTML (near the </body> tag):
<script type="text/javascript" src="/wp-content/plugins/wp-greet-box/js/functions.js"></script>
<script type="text/javascript" src="/wp-content/plugins/wp-greet-box/js/onload.js"></script>
If any of these are not there, you might have not installed the plugin properly. Please read the readme.txt file and then retry the installation.
Read on…