WordPress ‘sub-page’/’partial’?

I haven’t used wordpress at all before and I’m trying to reskin an existing wordpress site. All is going well, but in page.php I’d like to have a similar layout to this:

title
-------
A paragraph of text that varies depending on the category of the page
-------
The article

That paragraph is will be different depending on the category ID. Is there any stock way of doing this in wordpress? I was going to just make an API that grabs that section but if there’s already a way to do this, that would be great.

Related posts

Leave a Reply

1 comment