I’m using http://www.alexhager.at/how-to-integrate-salesforce-in-contact-form-7/ to receive leads on my salesforce using contact form 7. I wana track the source of traffic coming to my website.
Solved…..
<?php $the_query = new WP_Query( array( ‘category__not_in’ => array( 1,2 ),’posts_per_page’ => -1, ‘offset’ => 1,‘orderby’=>’title’,’order’=>’ASC’ ) );
// The Loop
while ( $the_query->have_posts() ) : $the_query->the_post();?>
$arguments = array(‘numberposts’ => 9999, ‘offset’=> 0, ‘category’ => ‘10,11,12,13,14,15’);
$myposts = get_posts( $arguments );
I also tried this but it sorts by category example
a
b
c
a
b
c