Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Commit 994cf3b

Browse files
authored
Merge pull request #77 from tealborder/master
Adds filter wpiw_list_class to documentation
2 parents db4ba7c + 34bd385 commit 994cf3b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ The second allows you to filter video results from the widget:
5151
add_filter('wpiw_images_only', '__return_true');
5252
```
5353

54-
The rest allow you to add custom classes to each list item, link or image:
54+
The rest allow you to add custom classes to the [ul] list container, each list item, link or image:
5555

5656
```
57+
add_filter( 'wpiw_list_class', 'my_instagram_class' );
58+
5759
add_filter( 'wpiw_item_class', 'my_instagram_class' );
5860
add_filter( 'wpiw_a_class', 'my_instagram_class' );
5961
add_filter( 'wpiw_img_class', 'my_instagram_class' );

readme.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ The second allows you to filter video results from the widget:
4949

5050
`add_filter('wpiw_images_only', '__return_true');`
5151

52-
The rest allow you to add custom classes to each list item, link or image:
52+
The rest allow you to add custom classes to the [ul] list container, each list item, link or image:
5353

54-
`add_filter( 'wpiw_item_class', 'my_instagram_class' );
54+
`add_filter( 'wpiw_list_class', 'my_instagram_class' );
55+
56+
add_filter( 'wpiw_item_class', 'my_instagram_class' );
5557
add_filter( 'wpiw_a_class', 'my_instagram_class' );
5658
add_filter( 'wpiw_img_class', 'my_instagram_class' );
5759
add_filter( 'wpiw_linka_class', 'my_instagram_class' );

0 commit comments

Comments
 (0)