Image is missing on site homepage

Looks to me like you transferred this site from another domain. For instance, the image on https://www.fileour.com/test-post-2/ is being pulled from http://www.livetvshow24.ga/wp-content/uploads/2018/07/RX-Entertainment-youtube-cover-photo-300×169.jpg did you work on this site on another domain and then migrate it? You need to change the db references so the site knows where to pull them from.

‘Nothing found’ on home page after custom CSS edit

I agree with the comment of @the_hobbes about your code block inadvertently commenting out part of the theme’s code. If removing that part of the code doesn’t fix the issue, you can try reinstalling the WordPress theme. It will enable the homepage to display with the default CSS codes. Follow these steps: In the WordPress … Read more

change header height on 2017 theme for logged in users

WordPress will automatically add a body class to the body tag if a user is logged in. You could potentially use this to adjust the height. For example.. .logged-in #myElement { …Your CSS } Something like this should work. .logged-in.twentyseventeen-front-page.has-header-image .custom-header-media { height: calc(70vh); } Note the calc 70vh is 70% of viewport height, so … Read more

Make WooCommerce product categories only show images on homepage

Try running your function hooked into the template_redirect action like so: <?php function fp_categories() { if( is_front_page() ) { add_action( ‘woocommerce_before_subcategory_title’, ‘woocommerce_subcategory_thumbnail’, 10 ) ; } else { remove_action( ‘woocommerce_before_subcategory_title’, ‘woocommerce_subcategory_thumbnail’, 10 ) ; } } add_action( ‘template_redirect’, ‘fp_categories’ ); ?> I’m fuzzy on the logic why this works – I believe otherwise the functions … Read more

Hiding New Posts on Front Page

You could try do something similar to the code you have tried, but using the before argument instead of the after: $query->set( ‘date_query’, array( array( ‘before’ => ‘-1 day’, ) ) ); This way, you should get only posts published before 1 day ago.