MarketPress Genesis compability


There is an issue that was discussed in another thread as well about marketpress and Genesis compability.

The problem is in the product list page.
In some cases (genesis configuration) Genesis outputs to the screen some staff before the product list.

Looking into it, I found that this issue could be fixed by changing the genesis actions in the case of using the marketPress plugin itself to output the productlist page.

the solution is to add the following three lines in marketpress.php:1065

} else {
//otherwise load the page template and use our own theme

remove_action( 'genesis_post_content', 'genesis_do_post_image' );
remove_action( 'genesis_post_content', 'genesis_do_post_content' );
add_action('genesis_post_content', 'the_content');

add_filter( 'single_post_title', array(&$this, 'page_title_output'), 99 );
add_filter( 'the_title', array(&$this, 'page_title_output'), 99 );

The question is:

Could you add an action there so this could be fixed?



  • koff
    • Site Builder, Child of Zeus

    Hej Aaron!

    This ignores the Genesis Wrap function for the content and uses simple the_content() instead. (Isn't that what you wished for?)
    The problem I (and few others) saw were when the Genesis configuration for the Archive listing. where set for show only excerpts.

    Here is the genesis_do_post_content() function:

    function genesis_do_post_content() {
    	if ( is_singular() ) {
    		if ( is_single() && 'open' == get_option( 'default_ping_status' ) ) {
    			echo '<!--';
    			echo '-->' . "\n";
    		if ( is_page() && apply_filters( 'genesis_edit_post_link', true ) )
    			edit_post_link( __( '(Edit)', 'genesis' ), '', '' );
    	elseif ( 'excerpts' == genesis_get_option( 'content_archive' ) ) {
    	else {
    		if ( genesis_get_option( 'content_archive_limit' ) )
    			the_content_limit( (int) genesis_get_option( 'content_archive_limit' ), __( '[Read more...]', 'genesis' ) );
    			the_content( __( '[Read more...]', 'genesis' ) );
    	wp_link_pages( array( 'before' => '<p class="pages">' . __( 'Pages:', 'genesis' ), 'after' => '</p>' ) );
  • koff
    • Site Builder, Child of Zeus


    I took a quick look ( that means no guaranty) on this one and:

    1. I did't find any problem with the cart and the order pages. ( Not broken why to fix?)
    2. I think that those pages are not archive page ( correct me if I am wrong ) and that was the core of the problem in the product page, so I guess no problem here.

    So I would say no,
    But I think the best idea is to get someone from StudioPress to this discussion. No?


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.