Ensuring a Sticky Post Always Displays Its Full Content in Fluent Community
I want to create a space where I display a single post containing some information. Only the admin should be able to post, and comments should be disabled. Users should always see the full post content.
In the space settings, I set the layout to list view to make the post full-width, disabled the sidebar, and made the post sticky.
The issue Iβm facing is that when I navigate to another space and then return to the space with the single post, the post is displayed in a list view inside the feed_outer section instead of showing its full content.
How can I prevent this from happening? I want the post to always display its full content.
Someone has the answer to this?
What are you trying to add to this post? What's the purpose? Is the space header not a better place?
Ross HΒ body.fluent-community-space-livemeeting #fluent_comminity_body .feed_layout .feeds_main .feed_list_item .fcom_comment_btn_wrap,
body.fluent-community-space-livemeeting #fluent_comminity_body .feed_layout .feeds_main .feed_list_item .fcom_reaction,
body.fluent-community-space-livemeeting #fluent_comminity_body .feed_layout .feeds_main .feed_list_item .feed_meta_info,
body.fluent-community-space-livemeeting #fluent_comminity_body .feed_layout .feeds_main .feed_list_item .feed_timestamp,
body.fluent-community-space-livemeeting #fluent_comminity_body .feed_layout .feeds_main .feed_filters,
body.fluent-community-space-livemeeting #fluent_comminity_body .feed_layout .feeds_main .fcom_feed_header_wrap,
body.fluent-community-space-livemeeting #fluent_comminity_body .feed_layout .feeds_main .feed_outer {
display: none !important;
}
Hello I am using this css to hide some elements on this space.
See screenshot, I just want to show a post with some text and 2 button. (styling not finished yet)
So the problem I am facing is that, when I go back and forth to this space, the post automatically goes back to timeline mode and the content does not show. I want the post to stay in list mode. I am not sure why this happening.
Sam JansenΒ Ah are you actually just trying to make a static page to show some content? You don't want to use any features of the space at all? You can do that once the plugin is working too. Add the fluent template around a standard wordpress page then add it as a custom link to the sidebar. Can even make those sidebar links dynamic.
Ok so you're trying to hack a sticky post to be like a static widget? Could you use a widget? My plugin works for sidebars in a space where you could add this stuff. I can look at making it sit on the top of the feed too.
Ross HΒ What is a widget? I will try out the plugin
Ross HΒ Receiving this error when activating plugin:
Uncaught Error: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class FluentCommunityEverywhere does not have a method "register_post_meta"
in /var/www/vhosts/domain/wp-includes/class-wp-hook.php on line 324
Call stack:
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-settings.php:704require_once('/var/www/vhosts/arle....com/wp-settings.php')
wp-config.php:108require_once('/var/www/vhosts/arle...ct.com/wp-config.php')
wp-load.php:50require_once('/var/www/vhosts/arle...pact.com/wp-load.php')
wp-admin/admin.php:34require_once('/var/www/vhosts/arle...m/wp-admin/admin.php')
wp-admin/plugins.php:10
Sam JansenΒ Which version is that? Should have fixed that in the latest update. If you can redownload and install it again and let me know if you still get that.
Ross HΒ I Version 1.2.1
Ross HΒ I was able to fix it with some javascript. Will checkout your plugin tomorrow.