Joined June 2014
·

jon shipman

Lenexa, KS
·
·

What I like doing (when I have a bunch of these, aka frontend profiles with a bunch of subpages). Add the rewrites for each page + query_vars, pre_get_posts to set posts_per_page to 1 (otherwise index.php pulls 10), template_include to pull in page.php, the_content filter to pull in a custom .php page, the_title filter to do the same.

Remember in the filters and the pre_get_posts to check for the query_var, in_the_loop(), and !is_nav_menu_item

Achievements
1 Karma
0 Total ProTip Views