Dont' work with Today theme
-
Hello David,
I tried in every way to bring up the external image, but it seems that does not want to know.
Looking at the code in action, the URL is not shown and of course even the image.
Maybe I’m missing something …
I tried all your suggestions, but nothing.The url of the site is http://www.gdapress.it/blog/
You will notice immediately what is the post that does not see the external image.
The theme the main page has these tags:
$ Image_id = get_post_thumbnail_id ($ post-> ID);
$ = Get_thumbnail_src cover ($ image_id, ‘short-one’);
$ No_cover = get_template_directory_uri ();——
if ($ image_id) {
echo ‘
<img src = “‘. $ cover [0].'” alt = “‘. get_the_title ().'” /> ‘;
} Else {
echo ‘
<img src = “‘. $ no_cover.’ /images/no-cover/short-one.png” alt = “no-cover” /> </ a > ‘;
}little change in the internal ones.
file function has only to recall the thumbnails.Maybe I have the solution under the eyes, but do not see it …… 🙁
In your opinion what is my problem?
Thank you so much 🙂
The topic ‘Dont' work with Today theme’ is closed to new replies.