i've tested several modifications to the core, but none was working properly regarding a new rule to add to the rewrite process, so i'd like to see if it's possible to write one here...
the goal, display the content of a static page like it would be a real "page" inside wp, but not having to create that page, because it cause too much process from the users.
so if mysite.com/blogname/show/stats
/show/ is the rewrite rule to call the /stats*
like for the /page/ rule, it would simply call the show.php template and display the content of the /stats* thing in it...
my way to see it is that if we add a new plugin that require this feature, the coder simply have to create a function like show_stats() that would return the content, and the template show.php looks something like:
<?php get_header() ?>
<div id="container">
<div id="content" class="hfeed">
<?php
$resync_show = 'show_' . $_REQUEST['show'];
echo $resync_show();
?>
</div>
<!-- #content .hfeed -->
</div>
<!-- #container -->
<?php get_sidebar() ?>
<?php get_footer() ?>
easy to understand ???
i have most of the things working properly, like creating the rewrite rule as a plugin... but the other details need to be inside the core code, and not all the lines are working properly...
can someone help?