This code snippet will sort all your posts alphabetically on any category page. And it will display the post titles only.
You’ll need to upload a blank file to the child theme and name it category.php
Then add this code:
remove_action('genesis_loop', 'genesis_do_loop');
add_action('genesis_loop', 'dswp_custom_loop');
function dswp_custom_loop() {
global $paged;
$args = array('sort' => 'asc', 'sortby' => 'title');
genesis_custom_loop( $args );
}
remove_action( 'genesis_post_content', 'genesis_do_post_content' );
genesis();
If you have post meta or post info showing up, add these two lines before the genesis() line.
/** remove post meta **/ remove_action( 'genesis_after_post_content', 'genesis_post_meta' ); /** remove post image **/ remove_action( 'genesis_post_content', 'genesis_do_post_image' ); /** remove post info **/ remove_action( 'genesis_before_post_content', 'genesis_post_info' );


















