This topic has 8 replies, 2 voices, and was last updated 10 years by Abe.

  • Author
  • #38449
     fayetteflash
    Participant

    I’m trying to use the kleo_button shortcode to create some buttons on a page and would like to have one link to the current logged-in user’s profile. Specifically, what can be put in the href parameter? It looks like the main link is “/members/USERNAME/profile/”. Is there a a link that would dynamically route to the current user’s profile?

    #38804
     Abe
    Keymaster

    Hi, I will try adding this so it can be used exactly as in the menu with ##profile_link##messages

    Will keep you posted

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #38810
     Abe
    Keymaster

    please update this file on your server with the content from the one attached and after that you should add the href link like ##profile_link##messages or just ##profile_link## depending on your link needs

    wp-content/plugins/k-elements/shortcodes/templates/kleo_button.php

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    Attachments:
    You must be logged in to view attached files.
    #38817
     fayetteflash
    Participant

    Thanks for the quick reply… I tried that and got this error:

    Fatal error: Call to undefined function kleo_bp_replace_placeholders() in /home/pdachain/public_html/memdev/wp-content/plugins/k-elements/shortcodes/templates/kleo_button.php on line 73

    #38824
     Abe
    Keymaster

    oh, I added a check for that in the next theme update so to work make sure you have latest theme 2.3 installed

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #38832
     fayetteflash
    Participant

    Ok. I’m running 2.0. Purchased from ThemeForest. I added my API key to the “theme update” section of the theme options, but don’t see any way to upgrade.

    #38835
     fayetteflash
    Participant

    Found it in the main WP updates after adding the API key. Then, I added the updated kleo_button.php and it seems to be working well. Thanks so much!

    #38839
     Abe
    Keymaster

    please see manual update if that does not appear https://archived.seventhqueen.com/documentation/kleo#updates

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #39184
     Abe
    Keymaster

    great, closing topic

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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

The topic ‘Use KLEO button to link to buddypress profile?’ is closed to new replies.

Log in with your credentials

Forgot your details?