• Resolved inkypaper

    (@inkypaper)


    Sorry for posting again. I don’t know why I can’t delete my support topics, I hope im not annoying anyone here, I only got this last problem and my new site is complete!

    I have css area in single.php with data that loads with simply static successfully then fails to get updated, supposedly done through js clicks (Tabs) and ajax requests to other php/ajax pages. The pages text content shows or if the a php page is copied in the css area directly in single.php it shows but simply static doesn’t find the separate ajax requests and no link for Js/ajax requests I can get to add to simply static.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter inkypaper

    (@inkypaper)

    So basically the request that fails look like this “GET /wp-content/themes/theme-folder/data-2.php?post_id=69”

    Thread Starter inkypaper

    (@inkypaper)

    I think I’ll just remove Ajax and perhaps put some other tabs option.

    “#4 Ajax requests won’t work
    Your site may need to make Ajax requests to the database in order to display certain elements without reloading a page.

    These Ajax requests won’t work if you use a static generator plugin because that is dynamic functionality that needs to communicate with the database, and the static site doesn’t have a database.”

    https://www.strattic.com/11-things-to-consider-wordpress-static-site-generator-plugin/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Ajax Tabs can’t get data’ is closed to new replies.