Using Elementor for HivePress templates, listing, vendors, experts etc

Hello everybody,

So i read these topics, and they are old :slight_smile:

and as probbaly many of you i alos want to edit the template with Elementor, but i dont even add anybutton to do that.

I dont even need to “Blocks/widget” as i retrieve all my fields/attributes/values with shortcode.

I just dont know how to make an Elementor page “Behaving” like a “Vendor” (precisely in my case) page.

Any lights would be welcome :slight_smile:

Thank in advance
Laurent

Salut Lolo,

If you pay attention to the feature requests, Elementor is one of the most wanted ones, so I guess it is not yet done and not so easy.

Probably doable (I have seen in showcase sections, I believe) but with some limitations

Salut cotasson :slight_smile:

Thank you for your reply, yes i 've seen that and it’s a shame that this is not going faster.

This looks so close to being able to do something.

I’ll share what i tried.

To make it simple i’ve done a snippet/shortcode :

add_shortcode('show_page', function($atts) {
    $atts = shortcode_atts([
        'id' => '',
        'slug' => ''
    ], $atts);
    
    if (empty($atts['id']) && empty($atts['slug'])) return '';
    
    $page = !empty($atts['id']) 
        ? get_post($atts['id']) 
        : get_page_by_path($atts['slug']);
        
    if (!$page) return '';
    
    return apply_filters('the_content', $page->post_content);
});

Usage: [show_page id="123"] or [show_page slug="my-page"]

That i just use in the hivepress template i use
ex:

And here is my elementor page (ID 420)

So as i said i am loading all the content i need via shortcodes and it all work good BUT

As it passes through the shortcode and the hivepress template i am losing all css so everything is all over the place (no need for screenshot for that).

So i am still wonderring if anyone is aware of some sort of trick :slight_smile:

Thanks for your reply cotasson :slight_smile:

Hi,

Sorry for the inconvenience, but currently, there is no support for changing templates through Elementor, but we will try to add this feature in future updates; in this version, it is available only for the block editor. As a workaround, you can look through Elementor’s settings in more detail and see if there is a feature available to support post type, then enable it and test if everything works correctly. Please note that we cannot guarantee that template-specific blocks will be available in the editor.

I hope it helps.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.