How to implement the transition from wp posts to the next page?

Let's say we have a site "watch movies online" on the main page(the first) located preview all movies(poster, title), the transition in which we find ourselves on the page(the second one) with the description of the film, next to start to watch a movie, we need to click on "watch online", and then we are directed to the following page(third), where we begin to engage directly the why come to the site . Actually a question: how to implement it on wp, because it sort of recording in the recording?
June 27th 19 at 15:00
1 answer
June 27th 19 at 15:02
Solution
not helped? - kenyon_Hodkiewicz11 commented on June 27th 19 at 15:05
: A thorough approach to this topic is not suitable because it is on the agenda there are other questions, but given You read the topic and immediately asked the question: under the third page(the page where people are watching a movie) I have prepared a design which is different from the second(page with info about the movie and click "watch online"), so as to make the transition to the third page to open another php file, that is, we are index.php->single.php->(the following is not clear what should be), and whether it is possible to achieve this? Because these tags give the opportunity to share the record in one php file, not to split the entry into several, as I understand it. - dortha.Schmidt12 commented on June 27th 19 at 15:08
:
you can use delimiters in addition to the wp_link_pages shortcodes is the add_shortcode and your entire system will manage to collect this way:
The content of the 1st page

<!--nextpage-->

Content 2 page

[video_shortcode id="123" size="medium" url="link"]
- kenyon_Hodkiewicz11 commented on June 27th 19 at 15:11
Hello again. After a long time I came back to this issue.
2ed08d079b83441595861e190dfeb682.png

I understand the shortcode works directly in the body of the content, but what if the button is outside of it? As we can see from the screenshot in the description to the movie I have is the main content of the entry and the button is outside it(the content), that does not implement the method You advised.

Still can't figure out how to take the url of the next page, if the page with the description of the film has this url -> wordpress/film/the hobbit/ , then the following I would like to see this -> wordpress/film/hobbit/smtr-online - dortha.Schmidt12 commented on June 27th 19 at 15:14
:
The place where are the buttons defined in the template using the function wp_link_pages as I wrote above.
The location buttons above or below the content is a layout.
The default link will be the following wordpress/film/hobbit/2 - kenyon_Hodkiewicz11 commented on June 27th 19 at 15:17
: Thank you, understood. And the last question: how do you move to a different page using a different template, for example online-page.php? - dortha.Schmidt12 commented on June 27th 19 at 15:20
perhaps only through
function get_template_part() - kenyon_Hodkiewicz11 commented on June 27th 19 at 15:23
Thanks, I will try. - dortha.Schmidt12 commented on June 27th 19 at 15:26

Find more questions by tags WordPress