Getting $comments outside the comment template
I have a ajax request hooked on “template_redirect” (the ajax requests the post’s url), and I want to display only the comment template:
I have a ajax request hooked on “template_redirect” (the ajax requests the post’s url), and I want to display only the comment template:
I’m using the standard admin-ajax.php method of doing ajax. So I have some functions like this:
Im creating a visit/page views counter with ajax,jquery and php, I have been reading a few articles that recommend the use of nonces for data manipulation through ajax, however i am not sure if i need to integrate the use of nonces for my simple counter?
We’re scoping an upcoming project that will require the development of a large php web application within an existing wordpress site – this is for our use only and we’ve no intention of trying to package it for other users; so interoperability isn’t really a concern as long as we can continue to apply WordPress updates as they’re released without breaking our application.
I am currently using a WP_Query that’ll trigger from an AJAX call when a button is pressed. The post meta fields lat lng will be used as location data for a google map. The query outputs fine without AJAX but cannot seem to get it to return the results with it.
I have an AJAX request that returns a post. The post_content has links to Twitter, YouTube, TED and other platforms that are registered as oEmbed providers in a default, vanilla WordPress install. By now, the WordPress oEmbed handler does not register them and displays plain links and nothing else.
Am try to implement data from database using AJAX based on a drop down list in WordPress. The codes returning 400 bad request in the console. I am hosted the page as localhost.
Problem After realizing that post formats are pretty popular, but only a extremly rough drawn concept, i see that users will run into possible traps. Post format … uses post meta fields & user doesn’t remember exact meta key name. takes the link/embed/whatever object from post editor & user inputs wrong data. Both are examples … Read more
Okay, so I programmed the following ajax code for my plugin, and I’m wondering why it’s not working:
I am trying to create a ajaxform on the front side. I am using the code