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.
- The topic ‘Passing arugments to a different php?’ is closed to new replies.