2
You could try this instead
if (!is_front_page() && is_home()) {
get_template_part('template-parts/blog-categories');
}
Explanation for the difference between front_page an home is here: https://wordpress.stackexchange.com/a/239838
if you set a page as a blog-page it is "home", in your case the landing-page is the so called "...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
urls × 1437url-rewriting × 266
permalinks × 208
custom-post-types × 100
php × 92
redirect × 85
images × 78
posts × 72
plugins × 70
slug × 67
rewrite-rules × 65
categories × 64
pages × 61
htaccess × 57
links × 57
site-url × 53
customization × 48
functions × 47
custom-taxonomy × 42
parameter × 36
multisite × 35
plugin-development × 29
404-error × 28
filters × 27
seo × 25