To show news article using specific article ID permanently from a category. This is done so as to have static pages like "about us" and use it like a mini CMS.
<?php $articleID = '23'; include 'news/index.php'; ?>
I know its possible by having different categories with just one article in it. But it becomes extremely messy if i have to have 50+ different static pages for which i have to create 50+ different categories with one article each. Not recommended if i have others handling the admin backend.
What you could do here is manually set the article ID parameter before your news include like so
<?php define(ID, 6); // replace 6 with your article ID include 'news/index.php';
I just tested this really quickly and it seems to work, though something might catch fire that I haven't thought about.
u r awesome. i'll test it and let you know.