Custom template for a specific page – Sydney Theme
-
I’ve configured my site for years without having to write any code, other than some custom CSS. I’m at the point where it seems what I want to do next will required some theme customization. I am using the free version of Sydney.
I am a developer, but not a WordPress developer. I’ve never customized a theme, but I’ve done some minimal research. I’m interested in learning much more over time, but I’m hoping my immediate goal is simple enough that someone might be willing to push me through it.
I’d like to write some php that would be the content for a particular page (‘edit-collection-item’). Only the content; no modifications to header, footer, etc.
In page.php, I see this line: <?php get_template_part( ‘content’, ‘page’ ); ?>I created a file page-templates/page-edit-collection-item.php, hoping this would be retrieved by the line above. It had no effect. Clearly I misunderstood.
When I moved it to the same folder as page.php, it became the entire page, not just the content area of the theme. I was not surprised.
Is what I wish to do possible? If so, what file do I need to create inside which folder?Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Custom template for a specific page – Sydney Theme’ is closed to new replies.