• Resolved bzmof

    (@bzmof)


    Hello!

    tl;dr:
    [wpcs_schedule session_link=”permalink”] creates links like this: https://mypage.com/sessions/my-session
    [wpcs_schedule session_link=”anchor”] creates links like this: https://mypage.com/sessions/my-session/#my-session
    I’d however expect https://mypage.com/%5Bcurrent page]#my-session

    Long version:
    Awesome plugin! I just sent feedback to Chris from Road Warrior Creative bur forgot to mention this.
    I am not sure if this is an issue with the plugin or just me not understanding the documentation. If the latter is correct, and I am not the only one misunderstanding, it might be a good idea to add another sentence of explanation.

    It’s about the using the shortcode [wpcs_schedule session_link=”anchor”]. It is explained here as “Links to an ID of the session post slug on the same page. Example: #my-session”

    To my understanding, this would do the following:
    I have the shortcode in a page https://mypage.com/overview. The same page contains some additional descriptive text. Clicking a link in the schedule should (in my opinion) go to https://mypage.com/overview#my-session. So it just scrolls the page down to an html anchor I defined somewhere in my additional descriptive text.

    However, the actual link created points to https://mypage.com/sessions/my-session/#my-session. I am not sure if this is the link format intended to be created.

    In contrast, using [wpcs_schedule session_link=”permalink”] creates links in this format: https://mypage.com/sessions/my-session. That makes sense (-:

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Steve Jones

    (@stevejonesdev)

    Hi @bzmof, I agree that the anchor link should point to the current page you’re on rather than the individual session page. I’ve updated the plugin to function like you described. In your WordPress dashboard update the WP Conference Schedule plugin to the latest version 1.0.5 and you should see the anchor links function properly.

    Thanks,

    Steve

    Thread Starter bzmof

    (@bzmof)

    Steve,
    you are awesome. I did not expect anything, therefore thank you for the very quick answer and resolution!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Behavior of shortcode attribute session_link=”anchor”’ is closed to new replies.