Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2906344
Child Theme
Closed

Comments

  • MattMadsen started the conversation

    Can i install and use child theme now, after a month? 
    Will it mess up my site?
    Will the gab and Mewe share go away? (You edit theme) 
    Regards Matt

  •  2,700
    PenciDesign replied

    Hi,

    Yes, you can. But, please do follow steps to move all customization data from parent theme to child theme:

    1/ Install & activate plugin Customizer Export/Import

    2/ Keep activate parent theme > go to Appearance > Customize > Export/Import > and export the customization data - you will got a .dat file.

    3/ Install & activate the child theme.

    4/ Go to Customize > Export/Import > and import the .dat file you got on step 2.


    Best Regards,

    PenciDesign

  • MattMadsen replied

    Ty 
    I can update the theme now right?

  •  2,610
    PenciDesign replied

    Hi,

    I've modified your parent theme to include the mewe & gab share icon, so after updating the Soledad theme to the latest version, you must add this code again by going to Appearance → Theme Editor: Select theme to edit: Soledad, navigate to functions.php then find (line 3872):

    if( $output ){
        if( 'single' == $pos ){
            echo '<div class="list-posts-share">';
        }
        echo $output;
        if( 'single' == $pos ){
            echo '</div>';
        }
    }

    Add immediately before this code:

    $mewe_link = 'https://mewe.com/share?link=' . rawurlencode(get_permalink());
    $output .= '<a class="post-share-item post-share-mewe" aria-label="Share on MeWe" target="_blank" '. penci_reltag_social_icons() .' href="' . $mewe_link  . '">' . penci_icon_by_ver( 'penciicon-mewe', '', true ) . '<span class="dt-share">' . esc_html__( 'MeWe', 'soledad' ) . '</span></a>'; $gab_link = 'https://gab.com/compose?url=' . rawurlencode(get_permalink()). '&text=' . rawurlencode( penci_get_the_title() );
    $output .= '<a class="post-share-item post-share-gab" aria-label="Share on GAB" target="_blank" '. penci_reltag_social_icons() .' href="' . $gab_link . '">' . penci_icon_by_ver( 'penciicon-gab', '', true ) . '<span class="dt-share">' . esc_html__( 'GAB', 'soledad' ) . '</span></a>';

    image.png

    Regards,
    PenciDesign.

  • MattMadsen replied

    I just have a question, can I not write it into the child theme? So it's supposed to be there, right?
    or should it be in the parenting theme

  •  2,610
    PenciDesign replied

    Hi,

    This code can't run on the child theme, so you must add this to the parent theme.

    Regards,
    PenciDesign.


  • MattMadsen replied

    I update the theme to 8.10 and put in the code, but its not working

    When do u put this in to the code? 


    Regards Matt

  •  2,610
    PenciDesign replied

    Hi,

    About your problem, please follow the instruction on this comment: https://pencidesign.ticksy.com/ticket/2906344/#comment-15437922

    Regards,
    PenciDesign.


  • MattMadsen replied

    I did :=)

  •   PenciDesign replied privately
  •   MattMadsen replied privately
  •  2,610
    PenciDesign replied

    Hi,

    I've modified your site again. The problem because you've added a custom code in the wrong place.

    Regards,
    PenciDesign.


  • MattMadsen replied

    Im sorry. Thanks