because i
Forum Replies Created
-
Many errors
UP?
Where is this showing?
This is very strange. If i want to upload this link on minds.com i have no preview, no description and no image.
https://swiadomosc-zwiazkow.pl/najwieksze-bledy-plci-budowanie-zwiazkow/Thanks but this preview is misleading.
Forum: Plugins
In reply to: [Related Posts Thumbnails Plugin for WordPress] Don’t workOk i sent e-mail.
Developer mode is enabled.
Forum: Plugins
In reply to: [Related Posts Thumbnails Plugin for WordPress] Don’t workOk i tested more and here are my results:
1. I set default theme (twentysix?)
2. I disabled fast velocity minifyThis don’t help at all
3. I changed thumbnail source to custom
It changed this
To that
First image from the post is not visible here as you see
Maybe this helps?
public static function post_first_image() { 1296 global $post; 1297 $first_img = ''; 1298 if ($post == NULL) 1299 return false; 1300 else { 1301 $output = preg_match_all('/<img.*?src=[\'"](.*?)[\'"].*?>/i', $post->post_content, $matches); 1302 if (isset($matches[1][0])) { 1303 // Exclude base64 images; meta tags require full URLs 1304 if (strpos($matches[1][0], 'data:') === false) { 1305 $first_img = $matches[1][0]; 1306 } 1307 } else { 1308 return false; 1309 } 1310 return $first_img; 1311 } 1312 }4. ive enabled developer mode
I see. We have to wait. Question how long?
Forum: Plugins
In reply to: [Related Posts Thumbnails Plugin for WordPress] Thumbnails Not AppearingHi. How you resolved problem with no thumbnails?
The feature you are looking for isn’t ready yet.But you may add it on new update (few days?).
Maybe you can try this
public static function post_first_image() { 1296 global $post; 1297 $first_img = ''; 1298 if ($post == NULL) 1299 return false; 1300 else { 1301 $output = preg_match_all('/<img.*?src=[\'"](.*?)[\'"].*?>/i', $post->post_content, $matches); 1302 if (isset($matches[1][0])) { 1303 // Exclude base64 images; meta tags require full URLs 1304 if (strpos($matches[1][0], 'data:') === false) { 1305 $first_img = $matches[1][0]; 1306 } 1307 } else { 1308 return false; 1309 } 1310 return $first_img; 1311 } 1312 } 1313Ok then we must say bye and delete your plugin.
Thumbnails are basic option in most of the free related posts plugins.
- This reply was modified 6 years, 11 months ago by because i.
It’s fine now!
Forum: Plugins
In reply to: [Related Posts Thumbnails Plugin for WordPress] Don’t workNo. Source is “post thumbnails” and size is “thumbnail”
Actually situation is this
https://developers.facebook.com/tools/debug/sharing/?q=http%3A%2F%2Fswiadomosc-zwiazkow.pl%2Fwybor-kobiety-zycia-raport-dla-przebudzonego-mezczyzny%2FHere it shows 0 likes and shares.
The provided value for ‘og:url’ might be incorrect.
The provided property ‘og:url’ (‘https://swiadomosc-zwiazkow.pl/wybor-kobiety-zycia-raport-dla-przebudzonego-mezczyzny/’) does not represent the input URL. You can safely ignore this message after double checking the provided valuehttps://swiadomosc-zwiazkow.pl/wybor-kobiety-zycia-raport-dla-przebudzonego-mezczyzny/And here is 30 or 60
Will be added in nearest update? Because i don’t know if it is worth waiting and how much days