Understanding and modifying function of
-
Hi,
I am currently working on a wordpress site that is constantly evolving, currently the site has slideshows that call the <!–nextpage–> function at the end of each image. We are trying to change it so that it will display 2 images on mobile while keeping it at 1 image on desktop.
The problem I am running into is that I do not understand how the comment <!–nextpage–> calls to its function so I may modify it and place a counter for mobile views that will allow the users in mobile to see two images before going to the next page. In Addition I need to place an ad inbetween these images.
My original Idea was to insert a counter that would negate the 1st <!–nextpage–> tag and insert a ad code instead, and then use the 2nd <!–nextpage–> to place the navigation menu. Reset counter and then have this continue throughout the post until the end of the post.
However I am not sure how the comment <!–nextpage–> pulls all of its coding so it is currently outside of my capabilities to do without obtaining a bit more knowledge on its function. Can anyone enlighten me a bit?
- The topic ‘Understanding and modifying function of’ is closed to new replies.