[Resolved] Add widget to specific page type

Home Forums Support [Resolved] Add widget to specific page type

Home Forums Support Add widget to specific page type

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1434350
    Deepak

    Hi,

    I have installed a third party widget for related posts. Now this related posts is shown in the right sidebar but only on posts. But on remaining website such as homepage, archives, the right sidebar is empty so I plan to add recent posts widget but only for homepage and archives.

    How can I use hooks to accomplish this?

    Regards
    Deepak

    #1434486
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    A plugin like this might be what you’re looking for: https://wordpress.org/plugins/content-aware-sidebars/

    Let us know πŸ™‚

    #1434631
    Deepak

    Hi Tom,

    Thanks for your response.

    But I was hoping to do this without any plugin.
    Can’t we do this using Elements and display rules?

    Regards
    Deepak

    #1434634
    Leo
    Staff
    Customer Support

    The plugin solution Tom suggested is definitely better if you are adding some plugin widgets.

    Block element is meant for if you are building any custom layout sidebars etc.

    I think the plugin should have minimal impact on your site πŸ™‚

    #1434709
    Deepak

    Thanks, for now seems to be working. I will run some more tests and then mark this as resolved.

    #1435519
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.