Forums

Query pages within included ajax file. (2 posts)

  1. Mobster
    Member
    Posted 3 months ago #

    I have spent hours and absolutely cannot seem to query pages with an ajax request.

    I am using a jquery Ajax tabs script. I uses ajax to call external pages and loads them.

    It handles php and php includes ok.
    It handles html ok.
    It handles

    But when loaded into a Wordpress page, it absolutely will not query any posts or pages. What could possibly be preventing queries from running in Ajax?

    Is is possible to database connect, query posts into any static page or Ajax?

  2. dmatranga
    Member
    Posted 2 weeks ago #

    did you ever figure this out?

    I have a 2-column layout for my custom WP theme, with a list of all teh posts in the left column and the display of the posts in the right column. Ideally, I'd like to query the WP database whenever a link is clicked and then display that post on the right side without reloading the sidebar. Is this possible?

    Thanks,
    Dan

Reply

You must log in to post.

About this Topic

Tags