-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patharchive.php
33 lines (27 loc) · 885 Bytes
/
archive.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
<?php
add_action( 'genesis_after_post_content', 'genesis_post_info' );
/** Customize the post info function */
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
if (!is_page()) {
$post_info = '[post_comments zero="" one="1 Comment" more="% Comments"]';
return $post_info;
}}
//var_export ($wp_query);
add_action ( 'genesis_before_loop','slide25_flex_start' );
function slide25_flex_start() {
echo '<div class="twelvecol flexslider" role="main"><ul class="slides">';
}
add_action ( 'genesis_before_post','slide25_flex_slide_start' );
function slide25_flex_slide_start() {
echo '<li>';
}
add_action ( 'genesis_after_post','slide25_flex_slide_stop' );
function slide25_flex_slide_stop() {
echo '</li>';
}
add_action ( 'genesis_after_loop','slide25_flex_end' );
function slide25_flex_end() {
echo '</ul></div>';
}
genesis();