Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Merv Barrett

    (@mervb1)

    Not all themes work with theme compatibility mode. You can disable it and perform the theme installation guide found here.
    https://easypropertylistings.com.au/docs/setup-wordpress-theme-easy-property-listings-2-0/

    Which theme are you using?

    Thread Starter Starhorsepax2

    (@starhorsepax2)

    The theme is Pinnacle. The properties page shows no properties outside the sidebar.
    I think following the install instructions may have messed up the sidebar, since archive did not match the example. If you click on the sidebar link it just moves it with the read more still attached to the middle of the page.

    Plugin Author Merv Barrett

    (@mervb1)

    I am having this same issue using a Cherry theme, do you have any suggestions on what I should remove from my cherry code in the single.php file?

    <?php get_header(); ?>
    <?php cherry_setPostViews(get_the_ID()); ?>
    <div class="motopress-wrapper content-holder clearfix">
    	<div class="container">
    		<div class="row">
    			<div class="<?php echo cherry_get_layout_class( 'full_width_content' ); ?>" data-motopress-wrapper-file="single.php" data-motopress-wrapper-type="content">
    				<div class="row">
    					<div class="<?php echo cherry_get_layout_class( 'full_width_content' ); ?>" data-motopress-type="static" data-motopress-static-file="static/static-title.php">
    						<?php get_template_part("static/static-title"); ?>
    					</div>
    				</div>
    				<div class="row">
    					<div class="<?php echo cherry_get_layout_class( 'content' ); ?> <?php echo of_get_option('blog_sidebar_pos'); ?>" id="content" data-motopress-type="loop" data-motopress-loop-file="loop/loop-single.php">
    						<?php get_template_part("loop/loop-single"); ?>
    					</div>
    					<div class="<?php echo cherry_get_layout_class( 'sidebar' ); ?> sidebar" id="sidebar" data-motopress-type="static-sidebar"  data-motopress-sidebar-file="sidebar.php">
    						<?php get_sidebar(); ?>
    					</div>
    				</div>
    			</div>
    		</div>
    	</div>
    </div>
    
    <?php get_footer(); ?>

    I was able to get the layout to look properly by adding a div, but now my featured image is missing. Any ideas on how to get that to reappear?

    <?php get_header(); ?>
    <?php cherry_setPostViews(get_the_ID()); ?>
    <div class="motopress-wrapper content-holder clearfix">
    	<div class="container">
    		<div class="row">
    			<div class="<?php echo cherry_get_layout_class( 'full_width_content' ); ?>" data-motopress-wrapper-file="single.php" data-motopress-wrapper-type="content">
    				<div class="row">
    					<div class="<?php echo cherry_get_layout_class( 'full_width_content' ); ?>" data-motopress-type="static" data-motopress-static-file="static/static-title.php">
    						<?php get_template_part("static/static-title"); ?>
    					</div>
    				</div>
    
                    <div class="row">
                    <div>
    					<div class="<?php echo cherry_get_layout_class( 'content' ); ?> <?php echo of_get_option('blog_sidebar_pos'); ?>" id="content" data-motopress-type="loop" data-motopress-loop-file="loop/loop-single.php">
    						<?php do_action( 'epl_property_single' ); ?>
    					</div>
    					</div>
                        <div class="<?php echo cherry_get_layout_class( 'sidebar' ); ?> sidebar" id="sidebar" data-motopress-type="static-sidebar"  data-motopress-sidebar-file="sidebar.php">
    						<?php get_sidebar(); ?>
    					</div>
    				</div>
    			</div>
    		</div>
    	</div>
    </div>
    
    <?php get_footer(); ?>
    Plugin Author Merv Barrett

    (@mervb1)

    Your file is missing the WordPress loop which may be located inside this file from your first function example.

    Inside the directory /loop and file loop-single.php you should see the loop

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    <?php get_template_part("loop/loop-single"); ?>

    Take the contents of that file and insert it here instead.

    <?php do_action( 'epl_property_single' ); ?>

    Then inside that file you will see a div or article with the ID and replace that with the listing template action.

    <?php do_action( 'epl_property_single' ); ?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Listing shows triple on the page’ is closed to new replies.