This topic has 4 replies, 2 voices, and was last updated 11 years by sharmstr.

  • Author

    Tagged: 

  • #47910
     klosurdo
    Participant

    Hi I have been corresponding with RT media and for some reason just having trouble understanding implementation of the code they emailed me. I have gone back and forth with them.

    They emailed me the code:

    COPY CODE
    $user_ID = get_current_user_id();
    echo do_shortcode('[rtmedia_gallery context="profile" album_id="633" context_id="'.$user_ID.'"]');

    Which is to be put into a custom page template. I know how to find and edit the page templates, just not sure as to where to insert the code or if I need to remove any code. I am using a copy of the full page template to insert the code and renaming it “gallery”. Attached is a screen capture of where I unsuccesfully inserted the code.

    Any help/gidance would be apprecated

    Thanks
    Ken

    #47914
     sharmstr
    Moderator

    I’m guessing you dont want the loop starting on 24. But how are you intending to display the page?

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

    Okay try this.

    Replace everything between 24 and 50 with the code that they gave you and upload it to your server. Then go to WP admin > Pages. Create a new page, name it whatever you want and choose the Gallery template.

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

    Thanks so much!!! That worked perfectly!

    Not sure you here it enough but thanks for everything you do getting us non-coders on the right path. So much to learn, not sure how you keep it all in your head.

    Thanks again for your time

    Ken

    #47972
     sharmstr
    Moderator

    You’re welcome.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

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

Log in with your credentials

Forgot your details?