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

#197226
gardenshovel
Participant

Update on this (and sort of notes for myself!).

content.php is the template for the blogroll, I took some source code from a different page (Showreel) and pasted that into content.php above the posts, and it works as I want it, it’s just hard coded into the page so I can’t edit it.

This is that code: http://codepen.io/anon/pen/wBxeYm

And this is it in action: http://tinyurl.com/obwtzgk

Now I’m going to look at the code for page.php and find the part that lines up with the CodePen code, and copy it over to content.php instead, I would assume that would give me an editable region, akin to any other paragraph area on the site.

Edit: Ah, it hasn’t worked, it’s put it above every post in the blogroll! I hadn’t scrolled down when I wrote the above :S So content.php is the posts.