Skip to content

Commit 51bc163

Browse files
committed
some minor documentation tweaks
1 parent d649c64 commit 51bc163

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

doc/cookbook/wordpress.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ Integrate Infinite AJAX Scroll with Wordpress
33

44
In this cookbook we install Infinite AJAX Scroll into the default Twenty Twelve theme.
55

6-
1) Download [jquery-ias.min.js](download.html).
6+
1) Download [jquery-ias.min.js](../download.html).
77

8-
2) Place jquery-ias.min.js into the folder `wp-content/themes/twentytwelve/js`
8+
2) Copy `jquery-ias.min.js` into the folder `wp-content/themes/twentytwelve/js`
99

1010
3) Open `wp-content/themes/twentytwelve/header.php` in your editor
1111

12-
4) Add jQuery to the theme. Paste the following code before the line with "`</head>`":
12+
4) Add jQuery to the theme. To do so, paste the following code before the line with "`</head>`":
1313

1414
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
1515

1616
5) Paste the following code before the line with "`</head>`":
1717

1818
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-ias.min.js" type="text/javascript"></script>
1919

20-
6) Now page the following code before the line with "`</head>`":
20+
6) Now paste the following code before the line with "`</head>`":
2121

2222
<script type="text/javascript">
2323
var ias = $.ias({

doc/support.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ If you have found a bug please [report those to Github](https://github.com/webcr
88
FAQ
99
===
1010

11+
Below are some of the most frequently asked questions.
12+
1113
### Next page is loaded too early. How can I fix this?
1214

1315
This might happen if your container contains images with a non-fixed height. Try to set the height attribute on your images, or initialize Infinite AJAX Scroll after the images have loaded.

0 commit comments

Comments
 (0)