-
Notifications
You must be signed in to change notification settings - Fork 0
/
sh-page-acordeon.php
42 lines (31 loc) · 1.11 KB
/
sh-page-acordeon.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* Template Name: Acordeón
* Description: Crea un acordeón vía ACF.
*
* @package WordPress
* @subpackage SH_Base
* @since SH Base 1.0
*/
get_header(); ?>
<div id="primary-full">
<div id="content" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<article>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<section class="entry-content">
<?php the_content(); ?>
</section><!-- .entry-content -->
<section class="entry-acordeon">
<?php get_template_part( 'content', 'acordeon-acf' ); ?>
</section>
<footer class="entry-footer">
<?php the_social_share(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-<?php the_ID(); ?> -->
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_footer(); ?>