Remove sidebar from “my pages”

    • trenttarala2
      Participant
      # il y a 2 années et 1 mois

      Currently when I view the dashboard or “pages” as a customer, everything is full width the way it should be. But when I click on a page that was assigned to my user, the sidebar shows up again.

      I’ve removed the sidebar on all pages and posts. I’ve set the default layouts to full width also but the sidebar still shows up when I click on the individual page that has been assigned to my user.

      Does anyone know how to remove this?

    • Thomas
      Maître des clés
      # il y a 2 années et 1 mois

      Hi,

      WP Customer Area does not show any sidebar on single private contents. This sidebar is probably coming from your theme.

      However, WP Customer Area is by default using your theme’s page.php files to render page listings, and your theme’s single.php files to render single content pages.

      To fix that, you could for instance copy page.php from your theme to your child-theme, and rename that file to cuar.php.
      Then, make your changes into it (for instance, remove the sidebar), and you should get the same appearrence in both pages and posts.

      If you want more control over the theme templates structure, please check our theme development documentation. Check section named Custom pages templates and Custom single templates.

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

Vous lisez 1 fil de discussion

The topic ‘Remove sidebar from “my pages”’ is closed to new replies.