Home User profile
tagDiv Member
Tech geek. InterestingAnswers.com tyrant pest
Ryansmccain
tagDiv Member

I downloaded the Newspaper zip from Envato (where I bought it) and uncompressed it. I didn’t find a Newspaper-child directory in it.

I also didn’t see that directory on my server.

I then went to Themeforest to make sure your response wasn’t totally literal and didn’t see anything there.

Please advise.

Ryansmccain
tagDiv Member

Ahhhhh. I have no idea how that changed. Thanks!

Ryansmccain
tagDiv Member

Ignore my last message. You were right. It was a WP Rocket setting. Thank you!

Ryansmccain
tagDiv Member

That’s weird. I’ve had 10 people try and all 10 of them can’t the titles.

Can you send me a screenshot of this post showing the Youtube titles?
https://www.interestinganswers.com/culture/chef-boyardee-real-person/

I’m now trying to figure out why you can and others can’t.

I’m going to try disabling some plugins now.

BTW, is there anything specific (troubling) about WP Rocket that you can mention? I get great speed results with it and would like to use it.

Thanks.

Ryansmccain
tagDiv Member

Man, you are quick. I was about to edit my post again.

Anyways, I have it now looking good using the CSS in this thread:

https://forum.tagdiv.com/topic/how-to-make-this/

My last remaining question is can I display the creation and modified dates?

You can view it here: https://www.interestinganswers.com/history/why-are-there-two-koreas/

thanks.

Ryansmccain
tagDiv Member

Nope. The section to edit doesn’t exist in single template 1. However, I changed it to template 2 and was able to get it working. But, it’s very scrunched together. See here:

https://i.imgur.com/7lLkdBE.png

Can I fix this with CSS?

Also, can I have it similar to something like this?

POSTED: 1/1/11
MODIFIED: 2/2/13

I’d like to display the creation and modification dates.

Please advise.

Thanks!

Ryansmccain
tagDiv Member

Ohhhh. ?

I’m using default so which php file should I update ?

thanks..

Ryansmccain
tagDiv Member

For some reason, I can’t get this working.

I’m using this code:

<div class="td-module-meta-info">
<?php echo $td_mod_single->get_author();?>
<?php echo the_modified_date('l, F j, Y', '<div class="the-modified-date">LAST MODIFIED: ','</div>'); ?> >
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>

I’m updating “single_template_12.php” because the code doesn’t appear in “loop_single_12.php” –> https://i.imgur.com/yZhXCqZ.png

Here you can see I’m using post template style 12 –> https://i.imgur.com/R5xbNED.png

My website is https://www.InterestingAnswers.com

Once I can get this working, I’ll work on understanding child themes and getting it working there. But for now, I just want to make sure I can get it working this way and not introduce more failure points.

What am I missing?

Thanks

Ryansmccain
tagDiv Member

Thanks for that. I just want to be clear before I look to making changes. I’ll look into child themes after I see that I get it working at all.

I use blog and post template 12: https://i.imgur.com/G0wxURL.png

Based on that, which should I be updating?

Ryansmccain
tagDiv Member

I did read it. I was asking for clarification. I will do more research on child themes later.

Anyways can you please answer these 2 questions?

Does this php file:

https://i.imgur.com/2GEVzAw.png

…correspond to this setting?

https://i.imgur.com/BWH5lFA.png

I’m nearly 100% certain it does, however, the code that I’m supposed to be looking for it doesn’t appear there.

AND

So, which one does the code go in?

The post says to put it in loop but that code isn’t in loop.

Ryansmccain
tagDiv Member

I read it and I’m still a bit confused.

So the folder newsmag-child is a very specific folder? That signifies to the template that the themes in there are child themes?

Also,

Does this php file:

https://i.imgur.com/2GEVzAw.png

…correspond to this setting?

https://i.imgur.com/BWH5lFA.png

AND

So, which one does it go in?

The post says to put it in loop but that code isn’t in loop.

Thx

Ryansmccain
tagDiv Member

Sorry for the multiple posts, but I think I’m confused. Does this php file:

https://i.imgur.com/2GEVzAw.png

…correspond to this setting?

https://i.imgur.com/BWH5lFA.png

Ryansmccain
tagDiv Member

I’m reading about the child themes from the link above. Assuming I’m working with loop-single-X.php and I want to create a child for it. Do I copy that to file to the newsmag-child directory and then put my code in there?

Ryansmccain
tagDiv Member

So, which one does it go in?

The post says to put it in loop but that code isn’t in loop.

Thx

Ryansmccain
tagDiv Member

Oh I see. Thanks

Ryansmccain
tagDiv Member

So, it should look like this?

<div class="td-module-meta-info">
<?php echo $td_mod_single->get_author();?>
<?php echo the_modified_date('l, F j, Y', '<div class="the-modified-date">LAST MODIFIED: ','</div>');
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>

Ryansmccain
tagDiv Member

Is this still accurate?

You say to look in loop-single-X.php for this.

<div class="td-module-meta-info">
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>

This text doesn’t appear in that php file. It’s in single_templateX.php file.

Ryansmccain
tagDiv Member

Where can I get more info on those? Thanks

Ryansmccain
tagDiv Member

Has this been added to the theme yet?

Ryansmccain
tagDiv Member

They didn’t update automatically, but not a biggy. I did it manually.

Thanks

Ryansmccain
tagDiv Member

I resolve this by following this guide:

https://forum.tagdiv.com/newspaper-how-to-update-a-plugin/

I didn’t know updating the plugins was a separate process. It would be nice to get a pop-up telling me that.

Ryansmccain
tagDiv Member

Ohhhhh. perfect. thanks

Ryansmccain
tagDiv Member

Ya know what. I tried:

.home .td-main-page-wrap {
padding-top: 5;
}

…and it looks just like

.home .td-main-page-wrap {
padding-top: 10;
}

Can you not set the padding to 2,3,4, etc? Is it only 0 or 10?

thanks

Ryansmccain
tagDiv Member

Ahh. I see what you did. Interesting.

That worked.

Thanks again.

Viewing 25 posts - 101 through 125 (of 257 total)