Twenty Seventeen custom section – one column layout

I found an answer, but maybe there is a better way using page-templates and applying the change directly. For now, it’s possible to apply the following in the stylesheet: body.page-two-column:not(.archive) #primary #panel1 .entry-header{ width: 100%; } body.page-two-column:not(.archive) #primary #panel1 .entry-content, body.page-two-column #panel1 #comments{ width: 100%; } Altering the #panel number you can hard code the … Read more

Two Blog Layouts, Same Theme

YES! You need 2 custom templates. One for standard view for your visitors and second for your review printout. But you need to create also for that second printout page header and footer manualy and also some functionality. You can’t use the same head and footer from other pages. Or you can but you then … Read more

How to add a specific widget to only 1 page?

It depends on where you want to show the widget. Let’s start with the widget area (sidebar) registration: add_action( ‘wp_loaded’, ‘wpse_76959_register_widget_area’ ); function wpse_76959_register_widget_area() { register_sidebar( array ( ‘name’ => __( ‘Widgets on page Sample Page’, ‘theme_textdomain’ ), ‘description’ => __( ‘Will be used on a page with a slug “sample-page” only.’, ‘theme_textdomain’ ), ‘id’ … Read more