![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
I want to create a page that act as a category and show all the posts:
a kind of sitemap. I called a page with the slug "/map" and assigned it my custom page template. In the template i just override wp_query: PHP Code:
but it uses wrong HTML-Titlte and its missing H1 tags and also the body of the original /map page. Is there a way in genesis of simply doing this? I.e. 1. creating a page and using H1, TITLE, and Body from the Page 2. display posts from a custom WP_Query the same way as if i accessed /category/ EDIT: I've found a very hacky solution: PHP Code:
Thanks, Antonio
|
|
#2
|
|||
|
|||
|
How about something like this? http://www.briangardner.com/custom-archives-page/
|
|
#3
|
|||
|
|||
|
Quote:
before the loop, i handle the archive loop in functions.php i don't need to recreate it in this template. Also a plugin apply_filter() call it in the "before wrap" functions. So its not something i can do with the custom grid loop.
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create blog in directory of site to build it then when finished move to root? | surflook | General Discussion | 4 | 03-10-2010 07:36 PM |
| Unable to create directory | mikeoh | General Discussion | 3 | 02-02-2009 09:46 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us