post thumbnails error

Are you added add_theme_support( ‘post-thumbnails’ ); line into functions.php file of your theme? Also check the loop. Are you added the_post_thumbnail() function there?

Exclude posts in home slider from sections

I am assuming that you are saving the slider code in slider.php file, news section code in section-news.php file and following this kind of snippets in front-page/home/index .php file get_template_part(‘slider’); get_templates_part(‘section-news’); then you can edit the slider.php file and add the new array variable $do_not_duplicate. So it is preserving the slider post IDs for future … Read more