Hello, I have such a problem, I do a landing page on WordPress , I created a new page, called it landing-page and made it static.

I have a portfolio on the layout, I created a new type of portfolio entry, made sorting in the form of categories, then through Wp_Query created a loop output in the page template.

And then look further what problem, if I do not make it static, it turns out that navigation and some solutions with Ajax loading work, everything works with reference to a url, that is, of this type

My-site.com/landing-pagepagepage/2
My-site.com/landing-pagepagepage/3

And I need to make it the main one and it turns out if I make it static, then WordPress tries to follow this url:

My-site.com/page/2 My-site.com/page/3

It is clear that navigation does not work, but the Ajax upload button is also attached to navigation and does not work.

Here I have a problem how to solve the problem with the url or not to bind Ajax to the url?

For Ajax upload, I use this solution.

I tried jquery.infinitescroll script, but it also binds to the navigation.

  • What do you mean by "static page"? By the way, trying to follow such links due to the fact that you did not indicate the scheme (protocol) in the links - tutankhamun
  • Static homepage Word Press on which custom posts about protocols are not heard - Vladimir Boyko
  • Show link (element <a ...>) - tutankhamun
  • What kind of link to show you? I say I tried to fasten ajax loading of posts to the static main page from the example by reference, but it works only with reference to pagination. How can I get around this problem or how can I upload posts by AYAX and not link to pagination and links? - Vladimir Boyko

0