• Resolved esenko

    (@esenko)


    Hello,

    First of all thank you for the quality theme.
    If it’s possible to create duplicate of team member widget ?

    I need change style separately.

    Thank you in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter esenko

    (@esenko)

    Can anybody help ?

    Thread Starter esenko

    (@esenko)

    support ?
    is it ?

    Hello @esenko,

    We are really happy you like our theme. If you want to duplicate the team member widget, you need to create a child theme (here is a doc about this: https://docs.themeisle.com/article/14-how-to-create-a-child-theme) and duplicate the code from functions.php, below this:
    /****************************/
    /****** team member widget **/
    /***************************/

    until the zerif_team_widget class ends.

    Of course, you need to change the name and id-s to have a different widget.

    Also, you need to add:
    add_action(‘widgets_init’, ‘zerif_child_register_widgets’);
    function zerif_child_register_widgets() {
    register_widget(‘zerif_team_widget_2’);
    }
    where zerif_team_widget_2 is the name of the new widget.

    Best regards and a Merry Christmas,

    Rodica

    Thread Starter esenko

    (@esenko)

    Hello Rodica,

    Thank you for the detailed instruction.
    This is really important for me.
    I’ll use it in close time.

    Merry Christmas

    Evgenii

    Hello Evgenii,

    I am glad I could help you. Feel free to let us a review if you wish. It would really help us.

    Thank you and Happy holidays,
    Rodica

    Hi Rodica,

    Can u explain fully.
    I have duplicated the widget and changed the name of widget and also given the new class name, but still i am not getting the widget twice.

    Any help will be thankful.
    Thanks in advance

    Divdeep Singh

    Hi,

    I am not sure what else should I detail, because that is the whole code. If you wish, you can show me the code to try to see if there is a visible issue with it.

    Thank you,
    Rodica

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Duplicate team member widget’ is closed to new replies.