Thread Starter
Innac
(@innac)
<?php
// The Query
query_posts( 'cat=4&orderby=date&order=ASC' );
// The Loop
while ( have_posts() ) : the_post();
// global $post;
//global $wp_query;
$post_id = $post->ID;
$queried_post = get_post($post_id);
$content = $queried_post->post_content;
// print_r($queried_post); exit();
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo '<div>'.$content.'</div>';
endwhile;
// Reset Query
wp_reset_query();
?>
So far I have come up with this, but tooltips doesn’t work anyway. Tried filtering by ID, but it only prints ID numbers.
Thread Starter
Innac
(@innac)
Appreciate the answer, but as for a newbie in wordpress, what id should be in apply_filters() function? post_id?