Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Static paragraph before blog posts in WordPress Reply To: Static paragraph before blog posts in WordPress

#197228
gardenshovel
Participant

index.php is the blogroll page.

index.php calls content.php.

content-single.php is a single post’s content when viewed on it’s own individual page.

I think ideally I’d have my opening paragraph on index.php and content-single.php. That should be easy to copy across once I get the code right!

I’ve taken a section from full-width.php (the template that every other page on the site uses) and stuck that above the posts in index.php and it’s getting there. It inherits the title of the first post in the blogroll at the moment! http://tinyurl.com/obwtzgk

This is the section that I’m trying to adapt to work on it’s own, after the header and above the blogroll: http://codepen.io/anon/pen/ZYjJEg

It requires an article number. The website treats every block of text or post on the site as an article, so I’m not sure how I would create an article to go there that’s “hidden” so to speak.