| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | $suffix = is_rtl() ? '-rtl' : ''; |
|---|
| 4 | wp_enqueue_style( 'wporg-plugins-style', get_template_directory_uri() . "/css/style{$suffix}.css", array(), '20171124' ); |
|---|
| 5 | wp_enqueue_style( 'dashicons', 'https://s.w.org/wp-includes/css/dashicons.css', array(), '20160504' ); |
|---|
| 6 | wp_enqueue_style( 'opensans', '//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese, latin-ext,cyrillic', array(), '20171124' ); |
|---|
| 7 | wp_enqueue_style( 'wp4', '//s.w.org/style/wp4.css', array(), '64' ); |
|---|
| 8 | if ( 'rtl' == $text_direction ) wp_enqueue_style( 'wp4-rtl', '//s.w.org/style/wp4-rtl.css', array(), '10' ); |
|---|
| 9 | |
|---|
| 10 | get_header( 'embed' ); |
|---|
| 11 | |
|---|
| 12 | if ( have_posts() ) : |
|---|
| 13 | while ( have_posts() ) : |
|---|
| 14 | the_post(); |
|---|
| 15 | get_template_part( 'template-parts/plugin' ); |
|---|
| 16 | endwhile; |
|---|
| 17 | endif; |
|---|
| 18 | |
|---|
| 19 | get_footer( 'embed' ); |
|---|
| 20 | ~ |
|---|