Can we create our own global template?
Hi all, as we wait for news on the next update, I wondered if together the community can put our heads together to get a working global template going? I believe this is possible using FluentSnippets and php functions in a child template. So far I am using Elementor Hello Child. If you add this function via FluentSnippets you will get a global header and sidebar (without styling and js popups) - what would our next step be?
Are you able to customize any FluentCommunity property with the FluentSnippet? I tried with the Code Snippet but I wasn't lucky, I think it's because it's using Vue.js
fluentcommunity does not use php
Rafael PitonΒ The rest of wordpress does
This, IMO, has to be primarily done by the plugin creators, because they can change the code at any minute so that any 'hacks' don't work. But, at the moment, if you simply want to add an image or some html before the fluent portal starts, this code works if you activate it as a snippet...
add_action('fluent_community/portal_head', function() {
?>
<div>test</div>
<img alt="Image Preview" src=βIMG SRCβ class="el-image__inner">
<style>
/* Add your custom CSS here */
</style>
<?php
});so, of course adding in...
<?php get_header(); ?>
will call the the header
It seems to me, though, that this plugin really is designed to replace 'circle.so', if you look at the two side by side they are remarkably similar. So, circle.so is a thing in itself, that you attach to your website rather than deeply integrate. I personally want them to keep improving it 'as is' to become a brilliant circle.so replacement.
Paul HopkinsΒ I don't really understand why it needs Wordpress at all then? Or maybe that's the idea, to capture Wordpress audience then offboard them to standalone SaaS. My community needs events management which isn't included with Fluent. I just want my standard events page and single events page to have the FC header and sidebar included. I would also like even something like the FluentSupport portal to have the header and sidebar too. It's shown to be possible with the Roadmaps page on this community, so it's definitely coming.
Ross HoffieΒ That's a good question! I guess it would work through web flow as well if altered for that environment. I too would love to be able to have a simple wordpress page content embedded into the FC portal_content. I actually can do it if I manually code it into the plugin itself, but can't, as yet get it to call the content from another wordpress page. I hope this is coming!
Something strange is going on with this post. I see a big white block covering the post.