Widgets on front page

Ask Enigma Premium Theme Installation, Settings & Configuration, Problem, Error & Bug Related Issues Here

Moderator: forum_m

Post Reply
wally2
Posts: 53
Joined: December 8th, 2016, 9:23 am
Contact:

Widgets on front page

Post by wally2 » May 17th, 2018, 3:51 am

Hi, i would like to put a google review widget on my front page of Enigma site.
is it possible to place a widget on the front/home page?
Preferably on aside bar under the slider?

Thanks
Wayne

support_staff
Posts: 6895
Joined: February 26th, 2015, 1:40 pm

Re: Widgets on front page

Post by support_staff » May 18th, 2018, 10:50 am

Hello,

Please tell us which theme and plugin you are using.

Thanks.

wally2
Posts: 53
Joined: December 8th, 2016, 9:23 am
Contact:

Re: Widgets on front page

Post by wally2 » May 19th, 2018, 3:22 am

I already said that in my first post.

Enigma theme and Google review plugin widget.
I just want to know can we put a widget on the front page (not in footer)

support_staff
Posts: 6895
Joined: February 26th, 2015, 1:40 pm

Re: Widgets on front page

Post by support_staff » May 19th, 2018, 11:52 am

Hello,

Firstly create a child theme of an enigma-premium theme using a plugin - https://wordpress.org/plugins/orbisius- ... e-creator/

Now paste the below code at the end of functions.php file of your child theme and save the file -

add_action( 'widgets_init', 'weblizar_widgets_init1');
function weblizar_widgets_init1() {
register_sidebar( array(
'name' => __( 'Google Review Widget Area', 'weblizar' ),
'id' => 'google-widget-area',
'description' => __( 'footer widget area', 'weblizar' ),
'before_widget' => '<div class="col-md-12 col-sm-6 enigma_footer_widget_column">',
'after_widget' => '</div>',
'before_title' => '<h3 class="enigma_footer_widget_title">',
'after_title' => '<div id="" class="enigma-footer-separator"></div></h3>',
) );
}

Now copy and paste front-page.php from parent theme to child theme and replace it with a code given in the below link and save the file -
https://pastebin.com/jiHSJ1Xt

Go to Dashboard -> Appearance -> Widgets -> here you can add a widget in Google Review Widget Area

Thanks.

wally2
Posts: 53
Joined: December 8th, 2016, 9:23 am
Contact:

Re: Widgets on front page

Post by wally2 » May 22nd, 2018, 6:59 am

Thanks, but thats beyond my technical know how.
Can i use a page builder, like Elementor in Enigma?

support_staff
Posts: 6895
Joined: February 26th, 2015, 1:40 pm

Re: Widgets on front page

Post by support_staff » May 22nd, 2018, 11:05 am

Did you understand the given steps above?
Yes you can use page builder Elementor in Enigma

Thanks.

wally2
Posts: 53
Joined: December 8th, 2016, 9:23 am
Contact:

Re: Widgets on front page

Post by wally2 » May 28th, 2018, 10:57 am

No i didnt understand the steps.
Its more than my technical capability and im scared i'll damage the site.

support_staff
Posts: 6895
Joined: February 26th, 2015, 1:40 pm

Re: Widgets on front page

Post by support_staff » May 28th, 2018, 11:17 am

Hii,

Please share us your logins (temp) access to our email : lizarweb(at)gmail(dot)com

Thanks.

Post Reply

Return to “Theme Installation, Settings & Configuration, Problem, Error & Bug”