Hi Docthib,
I’d like to ask you to run a few tests:
1. Create a backup of the SEO Mata Tag plugin and the Readmore plugin; or of the entire FlatPress instance.
2. Please copy the patched files into your FlatPress instance.
3. Check whether the behavior works as expected.
A prerequisite is an installed FlatPress 1.5.1 Stringendo instance.
The implemented logic accounts for the following cases:
1. If multiple posts are displayed in the post stream with images, the first image (not the thumbnail) should be distributed via Open Graph.
2. If multiple posts are displayed in the post stream with one or more galleries, the first image in the gallery (not the thumbnail) should be distributed via Open Graph.
3. If a single post is displayed with one or more images, the first image (not the thumbnail) should be distributed via Open Graph.
4. If a single post is displayed with one or more galleries, the first image in the gallery (not the thumbnail) should be distributed via Open Graph.
5. When a static page with one or more images is displayed, the first image (not the preview) should be shared via Open Graph.
6. When a static page with one or more galleries is displayed, the first image (not the preview) should be shared via Open Graph.
If there is a problem, I need at least the following information:
1. A brief, concise description of the issue
2. What your expectations are
3. The raw text from the post editor or static page editor.
If the behavior is as expected, please provide brief feedback.
Best regards,
Frank