• I’m having a little trouble trying to create a new page template where using the Grid Template, I can display blog posts of a certain category, rather than child pages. I copied pages.php and inserted the code that this user posted. This new template allows me to display Category Posts, but in a list format.

    I was looking at content-grid.php to see how I could emulate the grid format, but I’m at a loss. Where do I go from here? What do I need to add to this new template file?

    For reference, I’d like to make this page (using category posts) look like this page (using child pages).

    On a related note, do I need to make a child theme from Goran to keep my changes from being overwritten, or do I make a child theme from Edin first, then have an child Goran theme from there?

    EDIT: I wasn’t sure if I should have put this under Edin or Goran. I’m editing the parent files in Edin, but I’m using Goran, so I chose the latter.

Viewing 1 replies (of 1 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Because Goran is already a child theme it’s not possible to create a child theme of Goran. You can try the “grandchild theme” technique described here but it’s not officially supported.

    I was looking at content-grid.php to see how I could emulate the grid format, but I’m at a loss. Where do I go from here? What do I need to add to this new template file?

    Making the type of major structural change you want to do requires some substantial HTML, PHP, and CSS knowledge, as it’s not a simple change, because posts are displayed via the loop, and pages are not. 🙂

    To get you started, you’ll want to add some CSS to the posts on that new grid template to reduce their width and then float them next to each other. You could try having a look at a grid-based blog theme like Pictorico to see how it’s done there, and then copying some of those techniques.

Viewing 1 replies (of 1 total)
  • The topic ‘Create Grid Template that uses Category Posts not Child Pages’ is closed to new replies.