• Resolved Chris Fritz

    (@chrisvfritz)


    It appears this code, which is required to reorder posts in a custom post type, is breaking the column generation:

    add_action( 'genesis_before_loop', 'child_before_loop' );
    function child_before_loop() {
      global $query_string;
      query_posts( wp_parse_args( $query_string, array( 'orderby' => 'title', 'order' => 'ASC' )) );
    }

    Any ideas? :-/

    https://wordpress.org/plugins/genesis-grid-loop/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘query_posts in genesis_before_loop breaking column generation’ is closed to new replies.