11 years, 11 months ago
I tried to find a solution for this problem and well this is what I could get upon…
When the WP config loads, it prepares the permalink string and then scans for a file (say links.txt) in the root folder.
If the contents of the file are not same with the generated permalink string, then its written into that file.
And when BBpress gets loaded, it reads that file for permalinks and then generates header/footer as per the links.
I know that this is not the best of the methods. But still this is what I could think of.
Hope its useful for anybody trying the same thing.
Thanks for the suggestion…….
but they are bound to change sometime in future.
I also read your article. Thanks I was bit struggling with this thing also(getting WP info in BBpress). But even if I get the information, how would i construct the Permalink structure of the WP.
I have been following the WP code to write my own functions, but they seem to go pretty deep and I dont know whether creating a copy of these functions in BBpress would be safe or not.
Follow bbPress on Twitter •
Contact Us •
Terms of Service