2
Hello! I am with the following problem, I am building a theme and the page where the posts are added is not the index.php, for the posts to appear I had to put <?php query_posts(''); ?>
in the loop, ai worked normally, but the functionality (Highlighted image) that exists in the ADM panel, is gone, but when I activate some other default wordpress theme, this option appears again. Any solution? Thank you!
/* ativa post thumbnails e especifica padrão para tamanho de imagem */
add_theme_support('post-thumbnails');
add_image_size('690x300', 690, 300, True);
query_posts() never, ever, fix anything. I swear to you. Trust me or the official documentation: https://developer.wordpress.org/reference/functions/query_posts/. Open another question with the problem you had before, which will certainly be easier to solve.
– Ricardo Moraleida