SHARE
TWEET

Untitled

a guest Feb 14th, 2020 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $args = array(
  2.       'post_type' => 'post',
  3.       'posts_per_page' => -1
  4.     );
  5.     $vars['data']['post'] = Timber::get_posts($args);
  6.  
  7.     $vars['data']['categories'] = get_categories( array(
  8.         'orderby' => 'name',
  9.         'order'   => 'ASC',
  10.         'hide_empty' => '1'
  11.     ));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top