I'm making a wordpress plugin for a client. Basically, what it'll do is replace the current category menu with a collapsable/expandable category menu.
+ Category
- Post
- Post
- Posts
+Category
+Category
|
I want to use get_permalink() and get_category_link() but I'm getting fatal errors. I would like to know the rules of "How to use wordpress built-in functions in plugins?".
I can easily use them with theme files but not with the damn plugin.