I’m working on a Flash front end for WordPress. You can check it out here: http://www.ejkent.com
Instead of using the XML/RSS feed, my guys found it easier to create additional PHP pages to pull the data out of the database directly and format it the way they need it.
The problem this creates is broken links in the case of a Page Slug. Currently, we are using the GUID field for posts, which I thought was the permalink, but turns out it’s not.
Anyone know an efficient way to get a Post’s Permalink from the database without going through WordPress or using get_permalink()? Or a way of using get_permalink() in a PHP file that’s not in The Loop or in WordPress. Thanks.
- The topic ‘Get Permalinks from the DB outside of WP?’ is closed to new replies.