• Resolved agelessheirlooms

    (@agelessheirlooms)


    I apologize if this has been covered or is beyond the scope of this forum. I am using the Avada theme and I’m looking to incorporate some page attributes for the single listing page. I have successfully done this by using shortcodes for the multiple listings:

    http://fmwny.com/our-properties/

    However, the solo listing page lacks the side-navigation I want (this is not a sidebar), as well as won’t let me eliminate the comment section from the bottom, which I have tried every avenue possible within the theme to accomplish this (defaulting all comments to “hide” within the theme still does not block them from appearing):

    http://fmwny.com/listings/willow-grove-apartments/

    Is there a way to add in the “page attributes” section from the Avada theme into the admin section of the listings page, to treat each listing more like a page from the theme rather than a blog post which would allow me to incorporate the side navigation function? I realize this is most likely beyond the scope of this forum.

    More importantly, is there a simpler way to erase comments from the single-listing.php file? I have already added this file as a test template into my child theme folder, but am not savvy enough with PHP to know which block to erase.

    Thanks,
    Lauren

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

Viewing 1 replies (of 1 total)
  • Plugin Author agentevolution

    (@agentevolution)

    To remove the comments from the single-listing.php remove these lines:

    // If comments are open or we have at least one comment, load up the comment template.
    if ( comments_open() || get_comments_number() ) {
    	comments_template();
    }

    Adding theme specific features to the plugin is likely not going to happen. I would contact the theme author to find out how you can apply those attributes to a custom post type.

Viewing 1 replies (of 1 total)

The topic ‘Theme Functionality within Single Listing Page’ is closed to new replies.