A
A
Alexander Sobolev2020-04-27 14:23:40
WordPress
Alexander Sobolev, 2020-04-27 14:23:40

How to create an ajax wordpress theme?

There was a need to create a Wordpress theme with an audio player in the header .. navbar .. without interruptions during transitions
Accordingly, by ajax, all content is loaded into the main div on click in the navigation (conditionally), and if everything is clear with the main page, then what about the rest? How can wordpress explain what to load when clicking on a link?
For example when going to mysite.domen/about WP should filter out /about and load the content in the main div
How is this implemented in WP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2020-04-27
@HeadOnFire

REST API + frontend routing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question