Reply To: Problems with template

NapitWPTech Theme Support Forums The NewsMag Problems with template Reply To: Problems with template


Bishal Napit

Hi Lize,

For the first issue, if you can code it on your own, then, you can achieve this goal easily via the child theme. For creating the child theme, you can refer to this link:

Here, in the child theme, you might need to register the new image size required for the single post page like this below in the functions.php file of the child theme:
add_image_size('the-newsmag-child-image-size', 700, 450, true);

Please update the above value, ie, width of 700px and height of 450px as your site requirement. After adding this value, you might need to use the plugin Regenerate Thumbnails available via the WordPress plugin directory to crop the images in this new registered size.

Now, after that, you can duplicate the file template-parts/content.php in the same way as it is in the parent theme folder. Now, you can find the code: <?php the_post_thumbnail('the-newsmag-featured-large-thumbnail'); ?> in that mentioned file, which might need to be replaced by <?php the_post_thumbnail('the-newsmag-child-image-size'); ?> and check.

And for the second issue, you can paste the below CSS code in the Additional CSS Box provided via the Customizer Options and check:-

#primary .entry-header-meta .byline {
	display: none;

If you like the theme and appreciate the work put out on the theme, then, you can help by rating this theme through this link here:

Bishal Napit