Home › Forums › Support › Widget per page This topic has 8 replies, 3 voices, and was last updated 7 years, 2 months ago by Tom. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts September 24, 2017 at 5:28 am #390916 Ohad Hello, Is there any option to select a specif widgets to show specifically for one page / post / or custom post type? for example, I have a contact us page (contact form 7), And i want only a Text widget in the side menu.. is this possible? Best Regards, September 24, 2017 at 8:46 am #391030 TomLead Developer Lead Developer Hi there, This plugin should do the trick: https://wordpress.org/plugins/content-aware-sidebars/ Let me know π October 14, 2017 at 3:40 pm #403318 Ohad Hey Tom, is this plugin is good for the main blog page? And if not, is there any way to set a different blog layout for specific language (via Polylang plugin)? for example: English: content > sidebars Hebrew: sidebars > content October 14, 2017 at 11:28 pm #403433 TomLead Developer Lead Developer You could use the generate_sidebar_layout filter: https://docs.generatepress.com/article/sidebar-layout/#using-a-function Something like this: add_filter( 'generate_sidebar_layout', 'tu_rtl_sidebar_layout' ); function tu_rtl_sidebar_layout( $layout ) { if ( is_rtl() ) { return 'left-sidebar'; } // Or else, set the regular layout return $layout; } October 15, 2017 at 4:15 am #403513 Ohad Thanks Tom, That did the trick π October 15, 2017 at 6:26 am #403552 Ohad Hey Tom, is there any way to limit this change, only to the Blog Page? Cause now, is see the left side bars in all my pages, and i want it only to the blog… October 15, 2017 at 8:29 am #403621 LeoStaff Customer Support Try this: add_filter( 'generate_sidebar_layout', 'tu_rtl_sidebar_layout' ); function tu_rtl_sidebar_layout( $layout ) { if ( is_rtl() && is_home() ) { return 'left-sidebar'; } // Or else, set the regular layout return $layout; } October 15, 2017 at 8:59 am #403627 Ohad Thank You Tom π October 15, 2017 at 9:36 am #403653 TomLead Developer Lead Developer Glad we could help! π Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In