Clicky

  1. Home
  2. How To
  3. How to Setup Sidebar in AMP

How to Setup Sidebar in AMP

Tutorial to set up the sidebar in homepage and single page.

1. The sidebar only works in the Swift theme.

2. You will find this option in the WordPress dashboard -> AMP option panel -> Design -> click on Global option-> Enable the sidebar option and select where you want to display the sidebar.

3. Go to WordPress dashboard -> Appearance -> In the widget section, you will find the Sidebar widget where you can drag and drop the widgets which you want to display in the sidebar.

The Output of the Sidebar in AMP

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on February 7, 2020

    Are you still looking for a solution?

    Then fill out the below form and we will reach out to you within a few hours.


    Was this article helpful?

    Related Articles

    Comments

    1. Hello, I want to use this sidebar in another theme. Can you please give me the function code so that I can use that?

    2. 116/5000
      Hello, AMP Sidebar does not appear in my widget section. All the others appear.
      Is there any way to enable it?

    3. how do I activate the sidebar only on the desktop and not on mobile?

    4. How to add custom sidebar in AMP for every post. i did tried using custom sidebars plugin it works well for non AMP but doesn’t work for AMP.

    5. Hi Deepak,
      how can I disable the sidebar in amp version ?

      1. Hi Maryam,

        Will you please disable the sidebar option by using this option helps to enable/disable this sidebar in AMP.
        For this follow these steps WordPress dashboard -> AMP option panel -> Design -> click on Global option-> disable the sidebar option and then click on the “Save Changes” button.
        Follow this tutorial – https://ampforwp.com/tutorials/article/how-to-setup-sidebar-in-amp/
        and still, if you are facing any issue/problem then contact our technical team – https://ampforwp.com/support/ they will help you as soon as possible.

    Leave a Comment