hello I am having a dilemma with a wordpress plugin, its more logic than a code problem so I hope you guys can still help me. over all here is the function of the plugin, again all code works fine there is just a small dilemma im trying to solve.
ok, the issue lies with in the install code on activation.
I create the post table. that post table has a post_type of page
now I create the postmeta.
it has a meta_key of _wp_page_template
and a meta_value of template_name.theme name here.php
as you can already see thats my problem, my custom templates rely on a theme so when someone changes the theme, the custom template will be erased, I want to make this more dynamic so it don't matter what theme is installed.