Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hirasso committed Jul 24, 2024
1 parent 61e5c8d commit b89c9d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ $focus = fcp_get_focalpoint($imageID);
</div>
```

### WordPress attachment image
### Using `wp_get_attachment_image`

If you are making use of WordPress' function `wp_get_attachment_image($id)`, the plugin will automatically inject two css custom properties for you to use:
If you are making use of the WordPress function [`wp_get_attachment_image()`](https://developer.wordpress.org/reference/functions/wp_get_attachment_image/), the plugin will automatically inject a class `focal-point-image` and two custom css properties for you to use:

```diff
<img
Expand Down

0 comments on commit b89c9d8

Please sign in to comment.