This topic has 4 replies, 2 voices, and was last updated 9 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

    Attachments:
    You must be logged in to view attached files.
    #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

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

    #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

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

    #47935
     klosurdo
    Participant
    This reply has been set as private.
    #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

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

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?