Tagged Questions
0
votes
1answer
21 views
POST from jQuery to PHP
I have a form that passes field values to jQuery, which validates the fields and creates the variables being sent in data: {} in the snippet below.
$.ajax({
type: "POST",
url: "<?php ...
1
vote
1answer
142 views
WP_Query with ajax handler returns the same posts
I have a problem that is getting me bald atm. I have a ajax call that handles a loop that handles some querys and returns posts for me.
So far so good, but the first time the user sees the page we ...
0
votes
0answers
24 views
Image screen not working [closed]
I'm getting white screen when I go edit in Wordpress admin edit page for any images.
So when I insert an image to Tinymce under edit page/post then click on image icon (on top left of the inserted ...
0
votes
1answer
52 views
Security to delete post by Admin
My code is so simple like when admin delete a post by Wordpress fucntion (PHP) and do action with jQuery
<?php
include('../../../../../../wp-config.php');
if(current_user_can('edit_posts')){
$id = ...
1
vote
1answer
26 views
jQuery inluclude still seems ncessary for script to work within post
I have a jQuery script that works fine within a WordPress post as long as I include a reference to the jQuery libarary within the post.
<script ...
2
votes
2answers
233 views
jquery plugin only in one page/post
Ive seen all the documentation in the codex but I am doing something wrong since it doesnt work!
I want to implement this jquery plugin (https://github.com/davidcrawford/typist-jquery) in my welcome ...
4
votes
1answer
283 views
How to Add jQuery Infinite Scroll to My Custom Archive Page
I currently have a custom archive page that displays my current post at the top and then links to all of my older posts below that. However, I need to break up the page so that it displays the ...
0
votes
1answer
31 views
displaying the categories post
I have this php code below for displaying the post from the specific categories.
<ul id="sliderx">
<?php query_posts('category_name=slideshow&showposts=10');
while (have_posts()) : ...
2
votes
2answers
509 views
The correct way to call posts with ajax
I'm trying to write an image gallery plugin with jQuery. I'm using jQuerys $.post AJAX method to send and receive info from the relevant post page. Basically I'll be looping through the attachments ...
2
votes
0answers
443 views
“Uncaught SyntaxError: Unexpected token <” in load-scripts.php
Out of curiosity, I'm implementing AJAX in saving post. I didn't know where to start until I found this Q&A. It looks something I can grab and build on. It works but something on the Wordpress ...
1
vote
0answers
556 views
How do I locate the exact location where this error is occurring 404 page not found
I recently installed a wordpress theme and lots of plugins. This error appears on blog post after refreshing page for second time anywhere in between the post content. Here's the link to my site:
...
0
votes
1answer
467 views
Using the loop to set locations for all posts on a single google map
Firstly, hi all! I am new to worpress stackexchange.
I have been trying to build my own google map to show the location of all my posts. But I don't seem to be able to get the markers to display on ...
0
votes
3answers
89 views
Do all wordpress themes a similar class name for content?
I was wondering if all wordpress theme have a similar class name for the content.. For example I know the class for post/content in the twenty ten and twenty eleven is
.entry-content
if not then ...
0
votes
1answer
790 views
jquery: getting contents of #content field on post page
I managed to get the #content field html with this jquery call:
jQuery("#content").html()
This seems to be failing though on "Add New Post" pages. Any tips on how to get the contents of the ...
0
votes
3answers
2k views
How to load post content on index page using ajax when post title in sidebar is clicked
I'm working on a new blog which display in a list, on sidebar, some categories and the posts of them.
In the index page, in main content, I list some post titles from other category "New".
What I ...
2
votes
2answers
433 views
How do I use Ajax to show the new posts realtime, on the frontpage
Does anyone know how to make new posts automatically show up in the frontpage, with out having to refresh the page. I have a wordpress site with multiple authors and want their new posts to show up ...
1
vote
1answer
4k views
How to create a load more post entries like Twitter?
Hey guys, last days i have been trying to figure out how to do that. As read on http://net.tutsplus.com/tutorials/javascript-ajax/create-a-twitter-like-load-more-widget/ but inside wordpress. And i ...
1
vote
1answer
1k views
Disable Jquery UI post tabs
Hey all,
I'm using Jquery UI tabs with the WordPress Post Tabs plugin and it works like a charm. However, I'd like to auto disable or hide tabs that do not have any data. I've worked with Jquery quite ...