diff --git a/readme.md b/readme.md index f926cef..6b2a27b 100644 --- a/readme.md +++ b/readme.md @@ -51,7 +51,7 @@ object(FocalPointPicker\FocalPoint)#2796 (4) { } ``` -## Usage in your templates: +## Usage in your templates ### Object Position @@ -111,9 +111,9 @@ $focus = fcp_get_focalpoint($imageID); ``` -### 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