weDevsOfficial/wedocs-plugin

Feature Request: Support for elementor page builder

dbjpanda opened this issue ยท 7 comments

This is really a nice plugin. It could open a lot of possibility if it can be supported for elementor page builder. At least providing widget/shortcode for individual components like sidebar post navigation and main content page will be great.

I like the idea, but I don't have enough time to build this functionality. Maybe later.

@dbjpanda Not sure if you are asking for Elementor to be supported for building Wedocs pages. But in case you are (or others are wondering) Elementor will work. You have to tell Elementor to work with Wedocs Post Types. This is found at WP Dashboard>Elementor>Settings>General tab. Check the Docs post type. After checking that, you should see the "Edit with Elementor" button at the top of Wedoc pages.

@lparkyn Weirdly enough, I can confirm that adding regular Elementor support (like you correctly explained) doesn't work. I've tried to use Elementor to build WeDocs documents layout and everything seems to work just fine. But after having saved my single layout and added displayed conditions on Elementor, frontend uses regular layout to display docs instead of the one from Elementor. Can't tell why.

Found it!

@tareq1988 Adding support for Elementor Pro is as easy as adding a new option that controls whether to include line 39 in the "Frontend.php" file (here). I've commented out that line and everything works with Elementor ๐Ÿ˜„

So my suggestion would be to add an option labeled something like "Allow Page Builder template overriding". You will agree with me that it doesn't require any time to implement that.

@dbjpanda As mentioned above, just comment out line 29 in Frontend.php file and you should get them working together.

@enventa Great!! By the way, since it has been more than 1 year. I made my own Elementor widgets https://dbjpanda.me/tocpack to create posts from the frontend, rearrange per menu order, and table of content. All I wanted is to separately place the table of content, search, like-dislike button, etc from Wedocs. But I could not find a solution at that time.

Just curious to know if it is now possible to separately place each component as a widget? Even if shortcode for each component will be okay. Otherwise, I would love to create widgets for Elementor if the developers willing to accept PR?

Waiting for this. Any news about it?

cc @tareq1988

Found it!

@tareq1988 Adding support for Elementor Pro is as easy as adding a new option that controls whether to include line 39 in the "Frontend.php" file (here). I've commented out that line and everything works with Elementor ๐Ÿ˜„

So my suggestion would be to add an option labeled something like "Allow Page Builder template overriding". You will agree with me that it doesn't require any time to implement that.

@dbjpanda As mentioned above, just comment out line 29 in Frontend.php file and you should get them working together.

@tareq1988 - I have tested commenting line 39 and confirm I can see the doc page correctly on the Elementor page. But the problem now is that I can see the sidebar of the theme and cannot see the table of contents. Do you have any suggestion for this? Aside from these very small issues, WEDOCS is a superb product.