Primary Feed Customisation
- Toggle on/off 'show right sidebar on feed'
- Edit the word 'Feed'
I've noticed in 'space settings' we can now toggle on/off 'show right sidebar on space' and when you edit the space title, it also changes the space title in the sub header bar. It would be great if we could also change the word 'Feed" in the sub header bar of the primary feed and toggle off the right sidebar.
Shahjahan JewelΒ any chance on a work around for these?
This CSS should hide the right sidebar on the main feeds page.
body[data-route="all_feeds"] .fcom_main_container .fcom_resp_side {
display: none !important;
}
There are probably other ways to change the Feed word but here is how I'm doing it with a filter to replace it with the word Home.
add_filter('gettext', 'join_translate_text', 10, 3);
function join_translate_text( $translated_text, $untranslated_text, $domain ) {
if ( 'fluent-community' !== $domain ) {
return $translated_text;
}
if ( 'All Feeds' == $translated_text ) {
return 'Home';
}
if ( 'Feed' == $translated_text ) {
return 'Home';
}
return $translated_text;
}