Support » How-To and Troubleshooting » Passing arugments to a different php?

Passing arugments to a different php?

  • I recently made a new template in the same style as my friend’s website, mostly just to see if I could do it with WordPress. I was pleasently surprised when I found it that I could, indeed, do it with very little work. You can check it out here:
    Based on this site:
    However, when you click the archives links at the bottom of my page, it passes those arugments to the main index.php and dumps you on the main index.php.
    So, what I was wondering was, is there a way to make archives and permalinks and the like use the template you are currently on?
    For example, if I were on my index.php and I clicked on the ‘Computer’ category, it would display my posts under that category on index.php. Now, if I were to do the same on dyouji.php, I want it to show those posts on dyouji.php, not index.php. I already tried changing the blogurl setting in wordpress, but it affects the whole site, not just one template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is a way to do… very simple actually, but you need the newest nightly of WP (1.3alpha). It supports %category% in the permalinks, so for specific categories you can have it point to it’s own index page.

    The categories was just an example, I want it to do that for ALL links, including, but not limited to: permalinks, categories, next entry/previous entry, the calender if I make a template that uses it, monthly archives, etc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Passing arugments to a different php?’ is closed to new replies.