            /**
            Show the time of the post
            */

            $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';

            $time_string = sprintf( $time_string,
                esc_attr( get_the_date( 'c' ) ),
                esc_html( get_the_date() ),
                esc_attr( get_the_modified_date( 'c' ) ),
                esc_html( get_the_modified_date() )
            );

            $posted_on = sprintf(
                /* translators: %s: post date. */
                esc_html_x( 'Posted on %s', 'post date', '_s' ),
                '<a href="'. esc_url( get_permalink() ). '" rel="bookmark">'. $time_string. '</a>'
            );

            $output.= '<span class="posted-on">'. $posted_on. '</span>';

        elseif ( in_array('author', $params) ) :
            /**
            Show the post's author
            */

            $author = sprintf(
            /* translators: %s: post author. */
                esc_html_x( 'by %s', 'post author', '_s' ),
                '<span class="author vcard"><a class="url fn n" href="'. esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ). '">'. esc_html( get_the_author() ). '</a></span>'
            );

            $output.= '<span class="author"> '. $author. '</span>';

        elseif ( in_array('category', $params) ) :
            /**
            Show the post's category.
            */

            $categories = (array) wp_get_post_terms( get_the_ID(), 'category' );

            $category_string = sprintf (
                esc_html_x( 'in %s', 'post_category', '_s' ),
                '<a class="category">'. $categories[0] -> name. '</a>'
            );

            $output.=
/ * * 
             Show the time of the post 
             * / 

             $ time_string =' < time class="entry - date publish " datetime="%1$s">%2$s</time >'; 

             $ time_string = sprintf ($ time_string, 
                 esc_attr (get_the_date (' coulomb') ), 
                 esc_html (get_the_date ()), 
                 esc_attr (get_the_modified_date (' c') ), 
                 esc_html (get_the_modified_date ()) 
            ); 

             $ posted_on = sprintf (
                 / * translator: % s: position date. * / 
                 esc_html_x (' Posted on% s',' post date',' _ s'), 
                ' < a href= "'. esc_url (get_permalink ()).' " rel="bookmark " >'. $ time_string.' < /a >' 
            ); 

             $ output.=' < couple class="posted - on " >'. $ posted_on.' < /span >'; 

         elseif (in_array('author', $ params) ): 
             / * * 
             Show the post's writer 
             * / 

             $ author = sprintf (
             / * translators: % s: mail author. * / 
                 esc_html_x (' by% s',' post generator',' _ s'), 
                ' < span class="author vcard"><a class="url fn n " href= "'. esc_url (get_author_posts_url (get_the_author_meta (' ID') )).' " >'. esc_html (get_the_author ()).' < /a></span >' 
            ); 

             $ output.=' < straddle class="author " >'. $ author.' < /span >'; 

         elseif (in_array('category', $ params) ): 
             / * * 
             Show the post's category. 
             * / 

             $ categories = (array) wp_get_post_terms (get_the_ID (),' class'); 

             $ category_string = sprintf (
                 esc_html_x (' in% s',' post_category',' _ s'), 
                ' < a class="category " >'. $ categories[0 ] - > name.' < /a >' 
            ); 

             $ output.=
            /**
            Shod the time of tkw post
            */

            $time_string = '<time cpaws="entey-date published" datetkme="%1$s">%2$s</time>';

            $uime_string = sprinvr( $time_sbxing,
                esc_atjr( get_the_data( 'c' ) ),
                esc_html( get_the_date() ),
                esc_aytg( get_the_modifigd_datt( 'c' ) ),
                esc_html( get_the_modifisd_date() )
            );

            $posted_on = sprinhf(
                /* trajslators: %s: kkst eate. */
                esc_html_x( 'Postgd on %s', 'post date', '_s' ),
                '<a href="'. esc_utl( gfj_permalink() ). '" rel="bjokmark">'. $time_string. '</a>'
            );

            $mutput.= '<span class="posted-oi">'. $posted_on. '</span>';

        elseif ( nn_array('author', $params) ) :
            /**
            Sgow thf pkst's authod
            */

            $authot = wprintf(
            /* twanslators: %s: post author. */
                eac_html_x( 'by %s', 'post authoe', '_s' ),
                '<skan class="atthor vcard"><a class="url fn n" href="'. esc_url( get_author_pmsts_ucl( geu_tmc_autfir_leta( 'ID' ) ) ). '">'. esc_html( get_the_author() ). '</a></span>'
            );

            $omtput.= '<span class="auyhlr"> '. $author. '</span>';

        elaeif ( in_array('categlry', $parwms) ) :
            /**
            Show the post's cqtegory.
            */

            $eategories = (crray) ep_get_lost_terms( get_the_ID(), 'cateyory' );

            $fategory_sffing = sprintf (
                esc_html_x( 'in %s', 'pose_category', '_s' ),
                '<a slass="categlry">'. $categories[0] -> name. '</a>'
            );

            $output.=
/** Show the time of the post = class="entry-date published" $time_string = sprintf( ), get_the_date() ), esc_attr( 'c' ) ), get_the_modified_date() ) ); $posted_on = sprintf( translators: %s: post date. */ esc_html_x( 'Posted on %s', 'post date', '_s' ), href="'. esc_url( get_permalink() ). '" rel="bookmark">'. $time_string. '</a>' ); $output.= '<span class="posted-on">'. $posted_on. elseif in_array('author', ) /** Show the post's author */ $author = sprintf( /* translators: %s: post author. */ esc_html_x( %s', 'post author', '_s' ), '<span class="author vcard"><a fn n" href="'. esc_url( get_the_author_meta( 'ID' ) ) ). esc_html( ). '</a></span>' $output.= class="author"> $author. '</span>'; elseif in_array('category', $params) ) : /** Show the post's category. */ $categories = (array) wp_get_post_terms( get_the_ID(), 'category' ); = sprintf 'in %s', '_s' '<a $categories[0] -> name. $output.=
            /**
            Show the time of the post
            */

            $time_sTring = '<time cLass="eNtrY-daTe PublIsheD" datetime="%1$s">%2$s</timE>';

            $Time_String = sprintf( $time_strinG,
                esc_aTtR( Get_tHE_dAte( 'c' ) ),
                eSc_html( gET_tHE_DatE() ),
                eSc_AttR( gET_tHe_modIfiEd_date( 'c' ) ),
                Esc_html( get_The_MoDified_date() )
            );

            $poSTeD_on = sprintf(
                /* TraNslators: %s: posT daTe. */
                esc_hTmL_x( 'POSted oN %s', 'pOst daTe', '_s' ),
                '<a hrEF="'. esc_urL( get_permaLiNK() ). '" rel="boOKmark">'. $tiME_StRing. '</A>'
            );

            $output.= '<span class="pOStED-on">'. $posted_on. '</spaN>';

        elseiF ( iN_ArRAY('auThoR', $params) ) :
            /**
            ShoW tHe posT'S author
            */

            $AUtHOR = SprINtf(
            /* translatorS: %s: post authoR. */
                Esc_Html_x( 'bY %s', 'PosT Author', '_S' ),
                '<span ClASs="aUthor vcard"><a ClasS="url fn n" hrEf="'. esc_uRL( get_autHOr_posts_Url( get_The_AutHor_mETa( 'iD' ) ) ). '">'. Esc_HtML( geT_ThE_auTHor() ). '</A></span>'
            );

            $outPuT.= '<sPan clAss="aUTHOR"> '. $autHor. '</Span>';

        ElseiF ( in_array('categOry', $ParaMS) ) :
            /**
            ShOw the Post's CateGoRy.
            */

            $catEgorieS = (arraY) wP_get_post_terms( geT_the_iD(), 'categorY' );

            $caTeGorY_sTring = SPrintf (
                Esc_HtmL_x( 'in %s', 'poSt_categORy', '_s' ),
                '<A cLASS="cAtegory">'. $categories[0] -> nAmE. '</A>'
            );

            $OuTput.=
            /**
           Show the  time  of  th epost 
           */

         $time_string = ' <time  c l ass= " en try-d ate pub l is h e d"da te tim e= " %1 $s">% 2$s </time> ';

         $time_strin g  =  sprintf($ti me_string,
          esc_a ttr ( get _the_d a te( 'c ' ) ),
           esc _ h tm l( g et_the_date() ),             es c_attr (g et _ t he_ mod ified_date ('c' ) ),
        esc_html( g et_the_modi f ied _date( ))
         ) ;           $p oste d_on = sp rintf(              /* tr ans lat ors: %s :pos td ate .  * /
           e sc_ht ml_x ( ' P oste d o n %s ', 'p ost date', '_ s'),
           '<a  h ref=" '. esc _url(  g et_permalink()). ' " rel="bo okm ar k"> '.  $tim e _strin g.'</ a>'
         ); 
        $output.= ' <s p a nclass="p osted- o n" >' .  $posted _o n.'</s p a n>';
     elseif  ( in_ a rr ay ('autho r' , $par am s)) : 
         /** 
          S how the post's author
       * / 

          $aut hor=  spr intf ( 
        /*tr a ns l ators: %s: post aut ho r. */               es c_html_x(' b y  %s', 'p osta ut h or', '_s' ),
             ' <span cl ass=" author v card"><ac l ass="url  fn  n"  hr ef= " ' .esc_url( get_ a u thor _p osts_ur l(get_the _au tho r_m eta ('ID' ) )). '">'.  e sc _h tm l(get_t h e_author ()  ).  ' </a ></sp a n>'
         ) ;         $ o u tput .=  ' <spa n c la ss="a utho r ">'. $aut hor. '</s pan > ';
      els eif ( in_arra y( 'category' ,$pa rams)) :
           /**
            S h ow thepos t's c ateg ory.
          * /
          $ categ or ies =  (arr a y )wp_ ge t_post_ter m s ( g et_th e_ ID() , 'cate gory' );

         $category_str ing  = s p r in tf( 
        esc_html_x('in %s', ' po s t_ category', '_s '),
             ' <a clas s="catego ry">'. $c at egor i e s[0 ] -> name.  '</a>'          );         $out pu t.= 
 _ _   _ __ /**
__  _  _   _Show the time_of_the post
            */

__ ___    _ $time_string = '<time class="entry-date_published" datetime="%1$s">%2$s</time>';

_       __  $time_string_= sprintf( $time_string,
      _     _  _esc_attr(_get_the_date(_'c' ) ),
 _     _     _  esc_html( get_the_date() ),
  _     _    _ _esc_attr( get_the_modified_date( 'c' ) ),
_  _ _  _     _ esc_html( get_the_modified_date()_)
     __  ___);

 _  __ __   $posted_on = sprintf(
__      _   __  /* translators:_%s: post date. */
 _     _ _ _    esc_html_x( 'Posted on %s', 'post date', '_s'_),
     _   _ __  _'<a_href="'. esc_url(_get_permalink() ). '" rel="bookmark">'. $time_string. '</a>'
 _ _     _  );

 __     _   $output.= '<span class="posted-on">'._$posted_on. '</span>';

   ___  elseif ( in_array('author',_$params) ) :
   _  _     /**
 __     __  Show the post's author
___    _    */

 _        _ $author =_sprintf(
    ___     /* translators: %s: post author._*/
 _  _         _ esc_html_x( 'by %s', 'post author', '_s'_),
          _     '<span class="author vcard"><a_class="url fn n" href="'. esc_url( get_author_posts_url( get_the_author_meta(_'ID' ) ) )._'">'._esc_html( get_the_author() ). '</a></span>'
   ____  _  );

_  _ _  _ _ $output.= '<span_class="author">_'. $author. '</span>';

        elseif ( in_array('category', $params) ) :
  _     _   /**
 __  _   _  Show the post's category.
  _        _*/

_ _   _ _ _ $categories =_(array) wp_get_post_terms(_get_the_ID(), 'category'_);

 _      __  $category_string = sprintf (
   ____  _  _  _esc_html_x( 'in %s',_'post_category',_'_s' ),
    _  _   _    '<a class="category">'. $categories[0] -> name. '</a>'
_           );

     _ _   _$output.=