How to use the SPA system (simple page application) for wordpress pages?
Good morning.
I notice that Fluent Community uses the SPA system (simple application page).
I wanted to know how to use it for wordpress pages in order to allow the interface to be conversed for navigation in other pages of the wordpress site?
Sincerely, Alexandre.
If you mean theme compatibility, then check this
https://fluentcommunity.co/docs/theme-compatibility-feature/
WiLson EberechiΒ Thank you, but that's not really what I'm looking for. Navigation between the Feed page and Classification Table for example and fluid, without reloading the page, only of the element to be displayed. How to do the same for wordpress pages?
Alexandre de RavelΒ You can't for existing wordpress pages, they exist independently and depend on different styles and scripts. The closest you can get is theme compatibility for now. What kind of pages are you trying to show?
Alexandre de RavelΒ I don't understand what you're asking.
You can create your WP page, copy the link and add the link to fluent community menu, so that your WP page would always be part of fluent community menus.
That's after you've used the fluent community templates on your page.
WiLson EberechiΒ But when that link loads it will take you to a "wordpress" page that loads in the fcom header and sidebar - it's a kind of trick and not actually still a part of the fcom application. All other fcom content is loaded directly into the portal area and the header, sidebar etc don't refresh.
SPA = Single Page Application
FCommunity's frontend is wrapped inside Vue, which is a JS framework, and that handles SPA interface. Meanwhile, WordPress core pages are not built on top of SPA interface. So afaik, making the core pages SPA interfaced not possible, still if you surf up the web, you might get some hints/ways to achieve SPA.
Tawsif Ahmed RiyadΒ It is not possible to open the possibility of keeping the structure (header, footer, menu, sidebar, etc...) and to propose the display of wordpress pages without reloading the structure?
I'm going to take a closer look at the Fluent Community code, I'm sure there's a way to tinker with that.