| bio | website | uxinput.com |
|---|---|---|
| location | St Louis, MO | |
| age | ||
| visits | member for | 2 years, 1 month |
| seen | Apr 14 '11 at 15:51 | |
| stats | profile views | 11 |
|
Apr 12 |
awarded | Student |
|
Apr 12 |
comment |
Possible to use pagename inside get_template_part? Ah, you're right. It works without the quotes. Thank you! I appreciate it! I wanted to break up specific secondary areas on pages without creating unique page templates for each of 10-12 pages. Basically, on a magazine-style layout, I want to extend the page past the content entry area. So, for instance, I'll have a page-tier1.php file that defines the inner header and subnav and then generically links to a template_part that pulls in a content area specific to that page. That secondary section pulls in unique content for the 10-12 pages without having to hard-code each call. |
|
Apr 12 |
asked | Possible to use pagename inside get_template_part? |