Answer the question
In order to leave comments, you need to log in
Is it possible to make a one-page layout under Wordpress so that each of the pages created in the engine fasts on this very page?
Greetings.
Is it possible to create a one-page layout for Wordpress, which is now fashionable, so that each of the pages created in the engine fasts on this very page? That is, the menu thus did not go to the .php page, but played the role of an anchor?
Answer the question
In order to leave comments, you need to log in
Can. The task is divided into two:
1. Displaying the content of all pages on the main page, one after another, with labels.
2. Organization of the menu.
For the menu, there are the following options:
1. specify the type of the menu item "arbitrary" and prescribe the label in the link yourself
2. specify the type of the menu item "page", intercept the click on the link using javascript / jQuery and scroll to the desired position
3. it may be possible somewhere to hook into the formation of a link for a menu item of the "page" type and do something there - but I won’t tell you here, I didn’t do it myself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question