Lyrics Index

 
array($cat->cat_ID),
‘posts_per_page’ => -1,
‘post_type’ => ‘post’,
‘post_status’ => ‘publish’,
‘orderby’ => ‘title’,
‘order’ => ‘ASC’
);
$the_query = new WP_Query($args);
?>

‘ ;
$i = 0 ;
while ( $the_query->have_posts() ) : $the_query->the_post();
$i++ ;
echo ‘

‘;
$permalink = get_permalink($post->ID);
$the_title = get_the_title($post->ID);
echo ‘

‘ . $the_title . ‘

‘ ;
echo ‘

‘;
endwhile;
echo ‘

‘ ;
// Reset Post Data
wp_reset_postdata();
?>

Print Friendly, PDF & Email

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

This site uses Akismet to reduce spam. Learn how your comment data is processed.