I’m currently having a problem with a website i’m working on which uses roots.
I’m setting up a fully blown new website, but until I’m ready to launch, I just want to run the new theme and install showing nothing but news, but I’m having issues with Roots.
The issue I’m having is that my content.php seems to duplicate itself.
Is there anyone here who has any idea as to what’s causing this, as I’ve been racking my mind over it for a little while now and I’m struggling to understand just why it’s doing it.
Thanks for taking the time to read this and perhaps help.
I don’t see anything wrong either with duplications… posting code or a screenshot of what you’re seeing might help.
I’m sure you’re still working on it - but you might want to adjust the line-height on your span.major for the headings (and maybe make them into heading tags) because they’re collapsing on mobile. Screenshot: http://cl.ly/image/2d0K3q1T2Y40
I’ve managed to work out that the number of news items shown setting in Wordpress was duplicating the content.php file, which has now been fixed and modified. But I now have another issue as shown here.
As you can see, when it’s on the news page, the news shows up correctly using the <!-more-> wordpress feature, but it’s not working on the home page. Now, I have put the code of my content.php page below, and it is exactly the same as that on my news page. I can’t quite fathom why it’s different. Would anyone have any ideas?
@JulienMelissas thanks for pointing that out. I’m still quite new to using wordpress and working with responsive layouts, but I will get that fixed right away!
My guess is that you have the front page set to static, which will prevent the <!--more--> tag from working. You need to manually set this option as per the Codex.