• Kathryn
    I am using Fictive with the wp-tiles plugin. I want to create different page templates so that I can set up wp filters on post queries eg. so on one page I get everyone whose birthday is today and then on another page I get everyone in a certain category.
    For the birthday I have set up a taxonomy on month/day and added a function to functions.php to handle the date check but I need to call it from a page template. How do I set up a template up for fictive (is it the content.php that I need to copy and rename as a template ?)

Viewing 1 replies (of 1 total)
  • By page templates, do you mean in the WordPress custom page template sense?

    http://codex.ww.wp.xz.cn/Page_Templates#Custom_Page_Template

    If so, you’ll need to make sure you set it up using the proper comment tags at the top, as you’ll see in the Codex.

    In terms of which existing template file to use as a base, it probably depends on what existing template you want to base your new one. For example, if you want to be mostly like the static page template but with some additions, you could copy the content-page.php file and and use that as a base.

Viewing 1 replies (of 1 total)

The topic ‘wp filter posts query’ is closed to new replies.