I'm writing a directory/table plugin. Add one or more shortcodes to a page and get tables instead. It worked before converting it to a plugin. Now it doesn't work. The problem is that I don't understand the Wcms object and how to pull the page content. My current method is crappy and completely breaks for blog pages. I am unable to get the page content for blog pages.
Do you have any documentation on the Wcms object?
The Wcms object
Re: The Wcms object
I noticed that my plugin program returns a "404" for page content when it is a blog page. So it does not decode the shortcode. However, after my program runs, the full text of the blog shows up anyway. The shortcode is there but not decoded. It appears that my program should run after the blog plugin.
Everything works fine when I modify the Sky theme. It's only a plugin problem.
At this point I'm just going to fork the Sky theme and include the directory code.
Everything works fine when I modify the Sky theme. It's only a plugin problem.
At this point I'm just going to fork the Sky theme and include the directory code.
Re: The Wcms object
Hi Matt, are you still having issues?
We updated our documentation to help with data setting and fetching: https://wondercms.com/docs
Let us know if we can improve it any further.
We updated our documentation to help with data setting and fetching: https://wondercms.com/docs
Let us know if we can improve it any further.