Link calendar event date to a different URL

Hey. I want the calendar event date ,from the calendar widget, to be linked to another URL. Can you help me with that?

  • Rupok
    • Support Ninja

    Hi Cultiva Tus Ideas,

    This is possible with jQuery. For doing that, you will need to create a MU Plugin. For creating a MU Plugin, create a folder named "mu-plugins" inside your "wp-content" folder. Then inside that "mu-plugins" folder, create a file with any name and with a .php extension. Now paste the code inside that file and save.

    add_action( 'wp_footer', 'show_checkout_button' );
    function show_checkout_button() {
        <script type="text/javascript">
          jQuery(document).ready(function() {
    		jQuery('.eab-has_events a').off("click").click(function(){

    Please replace "" with your own URL.

    For getting more idea on mu plugins, you can go through this article:

    I believe this will help. Please let us know if you have any confusion or if you are stuck at any point. We will be glad to help.

    Have a nice day. Cheers!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.