This repository was archived by the owner on Sep 24, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,11 @@ The second allows you to filter video results from the widget:
5151add_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+
5759add_filter( 'wpiw_item_class', 'my_instagram_class' );
5860add_filter( 'wpiw_a_class', 'my_instagram_class' );
5961add_filter( 'wpiw_img_class', 'my_instagram_class' );
Original file line number Diff line number Diff 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' );
5557add_filter( 'wpiw_a_class', 'my_instagram_class' );
5658add_filter( 'wpiw_img_class', 'my_instagram_class' );
5759add_filter( 'wpiw_linka_class', 'my_instagram_class' );
You can’t perform that action at this time.
0 commit comments