This topic has 5 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #87608
     Cody
    Participant

    Hi there,

    I would like to add social sharing buttons to the order-received woocommerce PHP file. Is there any php shortcode that comes with the Kleo theme that I can insert to show those social sharing buttons?

    Thanks

    #87610
     sharmstr
    Moderator

    Try including the template

    COPY CODE
    
    get_template_part( 'page-parts/posts-social-share' );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #87611
     Cody
    Participant

    Thanks for the reply, however it doesn’t seem to show anything when I include that. I attached an image of what I included in the php code.

    Attachments:
    You must be logged in to view attached files.
    #87613
     sharmstr
    Moderator

    probably because the first few lines of code check to see if you’ve enabled social sharing for that post type.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #87614
     Cody
    Participant

    Okay I see it seems to be working now. One other quick question, is there any way to change the share link that is associated with the share buttons? For example, I want users to share our product once their order has been confirmed. However I want the ahre link to go to the product page such as /product1 instead of /thankyou.

    Any ideas for this?

    #87615
     sharmstr
    Moderator

    That’s going to take some custom coding by you. The links are generated in the posts-social-share.php file.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?