• Resolved jay

    (@samianinfotech)


    I can’t figure out how to get IMPress Listings to play nice with the theme Customizr. I notice the problem when I visit the listings page or any listing details page. The sidebar is underneath the content and the layout is obviously not displaying correctly.

    I have a feeling the solution is to use the Custom Wrapper settings and that I have not been able to figure the correct values. Maybe the theme layout code I need is dynamic and so it can’t be added as static values?

    https://wordpress.org/plugins/wp-listings/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author agentevolution

    (@agentevolution)

    That is possible, but without knowing that particular theme, there’s not much guidance we can provide. It should be possible by just including the HTML from your content area.

    If you inspect the source code, and look at the div containers surrounding a regular post or page – from where the post title starts to where the comments end – then copy and paste it into the custom wrapper settings, this should alleviate your issue.

    If you can provide a link to your site, that may help.

    Thread Starter jay

    (@samianinfotech)

    The theme is called Customizr located here: https://wordpress.org/themes/customizr/

    I added a single test listing:

    Listings Page
    http://www.teamwaller.com/listings/

    Detail Page
    http://www.teamwaller.com/listings/123-street-road-test/

    This is the theme’s ‘custom-page.php’. I think I need to create a new ‘single-listing.php’ page that uses a similar format as the custom-page.php template from the theme. I’ve created a child-theme and I’ve tried many variations but I can’t get the sidebar to display correctly on the single listing details or the listings pages.

    I’ve asked for help from the theme developer as well which can be seen here:

    https://github.com/presscustomizr/customizr/issues/548

    THANK YOU! For your time.

    This is the theme’s custom-page.php code:

    <?php
    /*
    Template Name: Custom Page Example
    */
    ?>
    <?php do_action( '__before_main_wrapper' ); ##hook of the header with get_header ?>
    <div id="main-wrapper" class="<?php echo implode(' ', apply_filters( 'tc_main_wrapper_classes' , array('container') ) ) ?>">
    
        <?php do_action( '__before_main_container' ); ##hook of the featured page (priority 10) and breadcrumb (priority 20)...and whatever you need! ?>
    
        <div class="container" role="main">
            <div class="<?php echo implode(' ', apply_filters( 'tc_column_content_wrapper_classes' , array('row' ,'column-content-wrapper') ) ) ?>">
    
                <?php do_action( '__before_article_container' ); ##hook of left sidebar?>
    
                    <div id="content" class="<?php echo implode(' ', apply_filters( 'tc_article_container_class' , array( TC_utils::tc_get_layout(  TC_utils::tc_id() , 'class' ) , 'article-container' ) ) ) ?>">
    
                        <?php do_action( '__before_loop' );##hooks the header of the list of post : archive, search... ?>
    
                            <?php if ( have_posts() ) : ?>
    
                                <?php while ( have_posts() ) : ##all other cases for single and lists: post, custom post type, page, archives, search, 404 ?>
    
                                    <?php the_post(); ?>
    
                                    <?php do_action( '__before_article' ) ?>
                                        <article <?php tc__f( '__article_selectors' ) ?>>
                                            <?php do_action( '__loop' ); ?>
                                        </article>
                                    <?php do_action( '__after_article' ) ?>
    
                                <?php endwhile; ?>
    
                            <?php endif; ##end if have posts ?>
    
                        <?php do_action( '__after_loop' );##hook of the comments and the posts navigation with priorities 10 and 20 ?>
    
                    </div><!--.article-container -->
    
               <?php do_action( '__after_article_container' ); ##hook of left sidebar ?>
    
            </div><!--.row -->
        </div><!-- .container role: main -->
    
        <?php do_action( '__after_main_container' ); ?>
    
    </div><!-- //#main-wrapper -->
    
    <?php do_action( '__after_main_wrapper' );##hook of the footer with get_get_footer ?>
    Thread Starter jay

    (@samianinfotech)

    FYI…in case someone comes across the same issue…

    I have not been able to solve my problem. I posted the themes template above as a reference not as the solution to the issue.

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

The topic ‘Custom Wrapper Settings For Customizr Theme’ is closed to new replies.