WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] P2 Theme - Disable AJAX (3 posts)

  1. Justin01
    Member
    Posted 5 years ago #

    Hey guys,

    I was wondering if there was a quick way to disable AJAX in the P2 theme? Especially when a new post is posted on the frontpage of the Blog.

    I've tried disabling certain functions in the theme itself, but it didn't seemed to work.

    I want to disable it because I've activated the "title option", but when it dynamically appears on the frontpage, the title (and other options, that are created via some plugins) don't show up. The title is pretty important, since it links to an external link (like a linkdump).

    Thank you very much for your time.

    Justin

  2. noel
    Member
    Posted 5 years ago #

    Justin, the theme relies pretty heavily on JavaScript and thus AJAX.

    The theme should be compatible with the plugins out there using hooks and actions properly.

    Is there something in particular not working? It would help if I could reproduce the problem.

  3. Justin01
    Member
    Posted 5 years ago #

    Hi Noel,

    Thank you for your reply.

    I used the "Vote it Up" plugin, and when it dynamically appeared on the frontpage, the "Vote it Up"'s options didn't appeared. You had to refresh the page to see them..and that bothered me because when a visitor/member sees a new post, I want him to vote for it. But if the post appears using AJAX, he won't see the thumbs up/down and he won't take the time to refresh to vote for the post. And that's just for the "Vote it Up" plugin..

    Since the template of the P2 theme isn't that quite complicated, I simply took another (simple) theme and modified it to look like P2.

    All went well and I'll simply use this one instead.

    Thank you for your time!

    Justin

Topic Closed

This topic has been closed to new replies.

About this Topic