I need to display a static page with an image in wordpress.
I got a blog theme and I could display the image but all other details like post, etc are displayed together.
How can I remove that?
Is there any theme for single image display
I need to display a static page with an image in wordpress.
I got a blog theme and I could display the image but all other details like post, etc are displayed together.
How can I remove that?
Is there any theme for single image display
See https://premium.wpmudev.org/blog/creating-custom-page-templates-in-wordpress/
You can create a page and a php file named page-{slug}.php
where "slug" is the actual slug of the page. There you can add your custom code, for example just showing an image. Something along the lines of:
<?php
echo '<img src="' . the_post_thumbnail() . '">';
I'm assuming you want the featured image, otherwise something like:
<?php
echo '<img src="https://yoursite.com/wp-content/uploads...">';
This way will give you full programatic control over the page, otherwise jasie' suggestion is better.
You might look at the BlankSlate theme as a starting point. You can create a child theme of it (per @jasie's answer) to remove things like the site title and search bar, then be left with just the image.