-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·47 lines (39 loc) · 912 Bytes
/
index.php
File metadata and controls
executable file
·47 lines (39 loc) · 912 Bytes
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
43
44
45
46
47
<?php
/**
* Este template muestra lista los post type
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
get_header(); ?>
<div class="site-content__body full_width">
<?php
/**
* Hook: origen_after_main_archive
* Este hook te permite anclar justo antes del contenedor que
* contiene el loop y el listado de posts.
*
* @since 0.1.0
*/
do_action( 'origen_after_main_archive' ); ?>
<main class="origen_archive_main">
<?php
/**
* Aquí con el loop de WordPress cargamos el template-part
* de archive_single.
*
* @since 0.1.0
*/
origen_loop( 'partials/content', 'archive_single' ); ?>
</main>
<?php
/**
* Hook: origen_before_main_archive
* Este hook te permite anclar justo despues del contenedor que
* contiene el loop.
*
* @since 0.1.0
*/
do_action( 'origen_before_main_archive' ); ?>
</div>
<?php get_footer(); ?>