Shri Mataji Talks from Archived Tapes

So I hope you will listen to My lecture today, you will take the tapes home and listen to them again and again.” (H.H. Shri Mataji Nirmala Devi, Litchfield, 11 June 1989)

100,
‘category__in’ => array(1042) ,
‘order’ => ‘ASC’,
‘nopaging’ => 1,

);

// The Query
$the_query = new WP_Query( $args );

// The Loop
if ( $the_query->have_posts() ) {

while ( $the_query->have_posts() ) {

$the_query->the_post();
$date = get_the_date( $d );
$month= substr($date, 5, 2);
$day= substr($date, 7, 2);
$year = substr($date, 0, 4);

$cat_output = array_map(function ($obj) { return $obj->cat_name; }, get_the_category() );
$cat_output = array_intersect($cat_output, array(‘Recorded Event’, ‘Speeches by others’, ‘Yogi Event’, ‘Transcript – NOT VERIFIED’, ‘Transcript Verified’, ‘Transcript Incomplete or Draft’ ,’Transcript Reviewed – NOT VERIFIED’,’Audios’, ‘Videos’, ‘Video DP’));
$cat_output = array_unique ( array_map( $substr, $cat_output ) );
$cat_output = array_intersect(array(‘R’, ‘S’, ‘Y’, ‘T’, ‘A’, ‘V’ ),$cat_output);
if (in_array(“T”, $cat_output)) { ++$T; }
if (in_array(“A”, $cat_output)) { ++$A; }
if (in_array(“V”, $cat_output)) { ++$V; }
if (in_array(“Y”, $cat_output)) { ++$Y; }
if (in_array(“S”, $cat_output)) { ++$S; }
if (in_array(“R”, $cat_output)) { ++$R; }
if ( in_array(“V”, $cat_output) or in_array(“A”, $cat_output) ) { ++$M; }

$place = ‘Place Unknown’;
$city = ‘City Unknown’;
$country = ‘Country Unknown’;

foreach((get_the_category()) as $childcat) {

if (in_array($childcat->cat_name, $countries)) $country = $childcat->cat_name;

if (in_array($childcat->cat_name, $cities)) $city = $childcat->cat_name;

if (in_array($childcat->cat_name, $places)) $place = $childcat->cat_name;

} //end of foreach get_category()

//var_dump($cat_output);
$cat_output = awesome($cat_output);

$final = ‘

  • ‘ . $year . ‘-‘ . $month . $day . ‘‘ . get_the_title() . ‘, ‘ .$place. ‘, ‘ .$city. ‘ (‘ .$country. ‘) ‘ . implode(‘ ‘, $cat_output) . ‘
  • ‘ ;

    if (($year==1970) or ($year==1960)) $year = ‘Unknown’;

    if(!isset($array[$year])) { $array[$year] = array(); }

    array_push($array[$year], $final);

    }
    echo ‘

    ‘;

    }

    else {
    echo ‘no posts’;
    // no posts found
    }

    /* Restore original Post Data */
    wp_reset_postdata();

    echo ‘

    ‘;
    $RS = $R+$S;
    echo “

  • – Events with Transcript – $T
  • “;
    echo “

  • – Events with Audio – $A
  • “;
    echo “

  • – Events with Video – $V
  • “;
    echo “

  • – Yogi Events – $Y
  • “;

    echo ‘

    ‘;

    $temp = array();
    ksort($array);

    end($array);
    $last_key = key($array);

    foreach ($array as $key => $values) {
    if ($last_key != $key) {
    echo ‘‘ .$key. ‘, ‘;
    }
    else {echo ‘‘ .$key. ‘ ‘;
    }
    }

    foreach ($array as $key => $values) {
    echo “

      “;
      $country_count = $key . ‘ (‘ . count($array[$key]) . ‘)’;
      array_push($temp, $key);
      echo ”

    • $country_count

    • “;

      foreach ($values as $value) {
      echo $value;
      }
      echo ‘

    ‘;
    }
    echo ‘
    ‘;

    ?>