Error title with full-width template 4 and no sidebar

Posted in: Newspaper
Post count: 21

When i post with options:

full-width and no sidebar
=> http://www.screencast.com/t/S4Q8d50t
when view that post then title of post on header
=> http://www.screencast.com/t/zOJaX3yuI1

please help me, how to resole this problem?

best regards,

Post count: 317

Hi,

This is happening because I guess you haven’t selected a Featured Image. Try to add a feature image and it should work.

Regards

Post count: 6600

Hi,

@Thanks mehedi!

@daicadung
Make sure you use a feature image and add it like this: http://screencast.com/t/RNOXLLylfxDE
Please let me know if you figure this out.

Thanks

Post count: 21

Hi mehedi, Lucian,
Thanks for support.

Everything OK after insert feature images.
But, hat post is a infographic images, if used feature image, that post very bad.

How can fix by css custom?

if can not fix by css, i will use template 3 for infographic.

Best regards,

Post count: 388

I had the exact same problem. If you’re willing to dig into child themes and a bit of PHP, I outlined my solution here:

https://forum.tagdiv.com/topic/single-4-without-featured-image/

(I’m happy to elaborate if you’re interested and need any more detail)

Post count: 6600

Hi,


@TheMediumUTM
Thanks!

@daicadung
Please try @TheMediumUTM implementation.

Thanks

Post count: 388

P.S. daicadung: I later simplified my implementation by editing single.php instead of single_template_4.php.

Instead of steps 3 and 4 in the above link, just find this in single.php:

if(empty($td_post_theme_settings['td_post_template']) and !empty($td_default_site_post_template)) {
    $td_post_theme_settings['td_post_template'] = $td_default_site_post_template;
}

And replace it with this:

if(empty($td_post_theme_settings['td_post_template']) and !empty($td_default_site_post_template)) {
	
	if ($td_default_site_post_template == 'single_template_4') {
		if (!has_post_thumbnail($post->ID)) {
			$td_default_site_post_template = 'single_template_2';
		}
}
	$td_post_theme_settings['td_post_template'] = $td_default_site_post_template;
}

Let us know if you’re trying this and/or want help 😀

Post count: 21

Hi @TheMediumUTM

I will fix code and confirm later.
Again, thank you very much.

Best regards,

Post count: 21

Hi @TheMediumUTM

Sorry to bother you, I want to taking with you by email? Please, give me your email.

Thank you.

Post count: 388

Maybe we can try to solve it here first? I don’t mind posting complete code modifications. Where are you stuck?

Post count: 21

Hi @TheMediumUTM

I talk to you another problem, not the problem of this topic.

Thank you.

Post count: 388

If it’s not something straightforward enough to create a new forum topic about, it’s probably not something I can give the time to… sorry! If you want to create a topic, I’ll check it there. Otherwise, you can look for a professional at http://studio.envato.com.

Best of luck!

Viewing 12 posts - 1 through 12 (of 12 total)
The forum ‘Newspaper’ is closed to new topics and replies.