Tagged Questions
-6
votes
3answers
262 views
Jquery Slider for profile template
I want to show the posts under a category in my page.The first 5 posts should be shown when the page loads and When the user clicks the next button/link next 5 posts should be shown. Currently I show ...
0
votes
1answer
159 views
Pass WP post content to a jQuery plugin (Fancybox)
I'm building a portfolio WordPress. It only displays image thumbnails, with a video element that call the fancybox. In the <a> tags, the attributes have the information for the fancybox to load ...
2
votes
2answers
532 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 ...
0
votes
2answers
212 views
Load comments per post on click with AJAX
I'm working on a theme that uses a slider to display blog posts. Beneath the slider is a pagination that displays like a timeline, with a date instead of a page number, calling the corresponding blog ...
0
votes
1answer
31 views
Loops running into each other
I have 3 loops on one page, each pulling a different CPT into a portfolio like layout.
Live: http://iassc.baltimoredrew.com/providers/
Gist: https://gist.github.com/3503334
However the tags for the ...
0
votes
1answer
118 views
Using jQuery .after inside loop
I have a bit of javascript that will dynamically add a static post to a loop. The script uses the jQuery 'after' method and on a static page it works beautifully but when inside the loop I don't get ...
0
votes
1answer
492 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 ...
2
votes
2answers
398 views
Modify this loop to fit my jQuery slider (slides)
I´m trying to make a slider which takes thumbnails from a certain custom post type and displays for of them for each "slide". I get the slider and thumbnails to work like they should, but I´m unsure ...
0
votes
1answer
424 views
how to json_encode(); the Loop content so that the encoded array is [“0”:content, “1”:content]
<?php
$dVC=array();
query_posts('meta_key=featuredt&posts_per_page=5');
if (have_posts()) :
while (have_posts()) : the_post();
$dVC []= $post->post_content;?>
<div ...
0
votes
1answer
708 views
Using jQuery toggle() in WordPress post to show/hide Tweet button?
What is the appropriate way to use jQuery toggle() function in a WordPress post to show/hide a Twitter "Tweet" button?
The problem I am encountering is when I put the code in my content-post.php, the ...
-1
votes
1answer
308 views
jQuery cycle and WordPress: Captions, buttons, oh my
I'm attempting to use jQuery cycle to create a rotator on my blog (which will be used going forward on all other blogs) like the following: http://www.pbs.org/teachers
<div id="feature-well">
...
0
votes
1answer
289 views
Ajax request with jQuery without WP_ajax
I try to made a website in full ajax (a html5 website). I use jquery and innerShiv (for ie).
For exemple I want to load all the content of the "section" tag of a page.
When I use that script, it ...
4
votes
1answer
2k views
How can I fetch loop of post titles via AJAX?
I have a list of the most recent post titles in sidebar.php. Here is an example of how that code looks:
<?php $args = array('posts_per_page' => 20); ?>
<?php $sidebar = new ...
