• Resolved menhadi

    (@menhadi)


    Hi,
    I am trying to create sidebar in the comment post of single listing where I want to show recent comments but not able to create it as shown in the above link

    Please help me
    Regards
    Hasan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @menhadi

    I hope you’re well today!

    The Custom Sidebars plugin can only display your custom sidebars where there already is a theme sidebar displayed. It replaces existing sidebars based on set rules but if a theme doesn’t display sidebar on a given page, Custom Sidebars can’t “force”/”inject” it.

    In many modern themes it’s just a matter of selecting proper layout (page template) for such page – instead of using any “full width”/”blank” or “one column” template you’d want to use one that’s got a sidebar already.

    Then you’d need allow such sidebar to be replaced by enabling “Allow this sidebar to be replaced” option on “Appearance -> widgets” page (you’ll see it once you expand any sidebar in “Theme sidebars” section there).

    After that you can set any of your custom sidebars to replace one of those theme sidebars.

    On the page that you shared there seem to be no sidebars currently so you’d need to check if you can switch template (some themes refer to it as “layout” in Customizer or theme options) for that page to the one that uses sidebar by default.

    If there’s no such template available or it’s not possible to set it for that page, you’d need to create your own custom page template:

    https://developer.www.ads-software.com/themes/template-files-section/page-template-files/

    In some cases it might also be necessary to register a new sidebar with the theme first:

    https://developer.www.ads-software.com/themes/functionality/sidebars/

    Kind regards,
    Adam

    Hello @menhadi

    I trust you are doing well!

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar in single listing page’ is closed to new replies.