Kedarnath Tour Package from Chennai

Duration

12 Night / 13 days

Meal

Included

Hotels

Included

Transportation

Included

Kedarnath_Temple- Dodham package and Chardham Yatra Package

Kedarnath Tour Package from Chennai

Planning a pilgrimage or seeking a spiritual journey? Kedarnath, nestled in the Himalayas, holds profound significance for devout Hindus and nature enthusiasts alike. A Kedarnath tour package offers a unique blend of spirituality, natural beauty, and cultural experiences. Let’s explore what makes this destination so special and why opting for a Kedarnath tour package, including options from Chennai, could be an enriching experience.

Kedarnath, situated in the Rudraprayag district of Uttarakhand, is revered for its ancient Kedarnath Temple, dedicated to Lord Shiva. The temple, believed to be over a thousand years old, holds immense religious importance among Hindus, drawing pilgrims from across the globe. The journey to Kedarnath is not merely about visiting a sacred site; it’s a spiritual odyssey, often undertaken as a part of the Char Dham Yatra.

For travelers from Chennai, opting for a Kedarnath tour package offers convenience and accessibility to this holy site. Chennai, a bustling city in southern India, is known for its cultural richness, and a journey from this vibrant city to the serene abode of Kedarnath presents a stark yet beautiful contrast.

The tour package from Chennai typically includes transportation, accommodation, and guided tours, ensuring a seamless and fulfilling travel experience. Most itineraries cater to various budgets and preferences, making it accessible for families, solo travelers, or groups.

The journey from Chennai to Kedarnath might involve a combination of flights, train rides, and road travel, providing an opportunity to witness the diverse landscapes of India. The picturesque views of the Himalayas, especially during the trek or drive towards Kedarnath, are breathtaking, leaving an indelible mark on every traveler’s memory.

Apart from its spiritual significance, Kedarnath boasts stunning natural beauty. The snow-clad peaks, gushing rivers, and lush greenery around the temple complex create a serene ambiance, ideal for meditation and introspection. The trek to Kedarnath Temple, though challenging, is rewarding, offering glimpses of the majestic Himalayan range and allowing travelers to connect with nature in its purest form.

Kedarnath tour packages also encompass local experiences, providing insights into the region’s culture and traditions. Visitors get the chance to interact with locals, learn about their way of life, and savor traditional Garhwali cuisine, enriching their overall travel experience.

The best time to embark on a Kedarnath tour varies depending on personal preferences. While the temple remains open for pilgrims from April/May to November, each season offers a unique charm. Summers (May to June) are pleasant, making it ideal for trekking and exploring the surroundings. Monsoons (July to September) bring lush greenery but may pose travel challenges due to heavy rainfall. Autumn (October to November) provides clear skies and breathtaking views, perfect for spiritual contemplation.

Choosing a Kedarnath tour package from Chennai ensures a hassle-free journey, allowing travelers to focus on the spiritual essence and the cultural significance of this revered site. It also offers an opportunity to witness the grandeur of the Himalayas, fostering a deeper connection with nature.

In conclusion, a Kedarnath tour package, especially for travelers from Chennai, encapsulates spirituality, natural beauty, cultural immersion, and a chance to embark on a transformative journey. Whether seeking solace, spiritual awakening, or simply exploring the wonders of the Himalayas, Kedarnath holds a promise of a soul-stirring experience that transcends the ordinary.

7 Days /6 Night

Start your Kedarnath tour package Upon arrival at Delhi Railway Station/Airport/Hotel/Home Meet our representative  and proceed towards to Haridwar. On arrival at Haridwar check-in the hotel freshen up & relax and proceed toward Sightseeing

  • Har ki Pauri-

  • Mata Mansa Devi Mandir

  • Mata Chandi devi Mandir

    In the evening have  your dinner & overnight stay at hotel.

In the Morning have your breakfast & check-out the hotel and proceed towards to Guptkashi. On the way Sightseeing (Devprayag- where Alaknanda meets the Bhagirathi river, Rudraprayag - where Alaknanda and Mandakini river meet) where you can explore the Ardh Narishwar Temple. Upon reaching Guptkashi/Sitapur, check-in hotel. Have your Dinner and Overnight stay at hotel.  

Guptakashi, situated at an altitude of 1,319 meters (4,327 ft) in the Kedar-khanda, holds immense significance in Hinduism. Renowned for its two ancient temples, the first is the Vishwanath Temple dedicated to Lord Shiva, while the second features Lord Shiva in his Ardhnarishwar form. This town is deeply connected to the Mahabharata era and the Pandavas. It is associated with the post-Mahabharata battle period when the Pandavas sought Lord Shiva for forgiveness regarding the events of the war, particularly the killing of their cousins.

Option 1: Start your day early after breakfast and head to the Helipad at Guptkashi/Phata or Sersi, adhering to the given reporting time by the Helicopter Company. Board the helicopter bound for Shri Kedarnath Ji. After a 15-minute flight, arrive at the helipad near Kedarnath Ji. Experience darshan, perform Pooja, and choose to stay overnight at Kedarnath Ji or return for an overnight stay in Guptkashi.

(Or)

Option 2: Check out from the hotel at 3 AM and proceed towards to Kedarnath. After reach Sonprayag take a union cab and proceed towards to Gaurikund. After reach Gaurikund start a trek shri kedarnath ji 20-22/- km 9-10 HOURS. Upon reaching Kedarnath Ji, partake in darshan and Pooja. In the evening enjoy aarti after aarti back to hotel have a dinner and overnight stay at hotel.

Kedarnath: Revered as one of the 12 jyotirlingas of Lord Shiva, the Kedarnath shrine holds paramount importance among Hindus. Kedar is an epithet of Lord Shiva. According to various sculptures, following their victory over the Kauravas in the Mahabharata Battle, the Pandavas sought Lord Shiva's blessings to absolve themselves of the guilt associated with killing their own cousins. Lord Shiva, initially angered with the Pandavas, transformed into the form of a bull. Bhim recognized him, and as Shiva started disappearing into the ground, Bhim tried to push him out. The remaining hump became the Shivalinga in Kedarnath.

Kedarnath Weather: The region generally experiences cold weather throughout the year due to its high altitude. Even in summer, temperatures rarely exceed 20 degrees Celsius, making it the most pleasant period. However, winters bring severe cold, with temperatures dropping to 0 degrees Celsius or even lower.

Option 1: Early Morning reach to helipad and catch the helicopter. Fly back to Guptkashi/Sitapur and proceed to Joshimath/Pipalkoti/Govindghat (170 kms / 7 hrs). En-route visit Ukhimath (Winter adobe of Kedarnath Ji). On arrival check-in to the hotel for Overnight stay at Govindghat/Joshimath/Pialkoti/Govindghat/Badrinath.

Option 2: If returned from Kedarnath on Same day and staying at Guptkashi/Sitapur, Morning after breakfast check-out from the hotel and proceed to Joshimath/Pialkoti/Govindghat/ Badrinath. En-route visit Ukhimath (Winter adobe of Kedarnath Ji). By reaching Check-in at the hotel for Overnight stay at Joshimath/Pialkoti/Govindghat/Badrinath.

Option 3:Next day Early morning take pooja at Kedarnath Temple and trek down to Guptakashi, after Reach Gaurikund take a union cab and proceed towards to Sonprayag. After Reach Sonprayag take a cab and proceed towards to Guptkashi/Sitapur. On arrival at Guptkashi/Sitapur   check in the Hotel have your dinner and  Overnight Stay in Hotel.

In the Morning after breakfast, check out hotel and proceed towards to Rishikesh. On the way sightseeing

Rudraprayag and Devprayag. Enroute visit Rudraprayag (sangam of Alaknanda and Mandakini), Devprayag (Sangam of Alaknanda and Bhagirathi).

On arrival at Rishikesh check-in the hotel freshen up.

In the evening have your dinner and overnight stay in Hotel.

In the morning after breakfast, check-out the hotel proceed towards Delhi  Drop at Delhi Railway Station/ Airport/ Hotel/Home

Package Includes

Package Excludes

7 Days /6 Night

Have Any Question?

Do not hesitage to give us a call. We are an expert team and we are happy to talk to you.

What Our Customer Says

For More Reviews

Frequently Asked Question​

How long does it take to complete the Ek Dham Yatra to Kedarnath?

The duration of the Kedarnath Yatra package varies based on the chosen route and individual pacing. The traditional trek from Gaurikund to Kedarnath usually takes around 6 to 8 hours, covering approximately 16 kilometers. However, factors like one’s physical fitness, rest stops, and weather conditions can influence the duration. Helicopter services, on the other hand, significantly reduce travel time, taking approximately 30 minutes to reach Kedarnath from various starting points. Kedarnath tour packages customize itineraries based on travelers’ preferences, allowing for a flexible schedule accommodating different durations, ensuring an enriching experience for all.

What are the weather conditions like during different seasons along the Kedarnath Yatra route?

Weather conditions along the Kedarnath Yatra route vary with the seasons. During summers (May to June), temperatures are generally pleasant, ranging from mild to cool, ideal for trekking. Monsoons (July to September) bring heavy rainfall, increasing the risk of landslides or roadblocks, making travel challenging. Autumn (October to November) offers clear skies and cooler temperatures, perfect for spiritual contemplation. Kedarnath tour packages often recommend the summer and autumn months for a more comfortable and safer Yatra experience, considering the weather’s impact on travel conditions.

What is the cancellation policy for the Do Dham Yatra Package from Chennai?

You can find that in our Terms and Conditions or Cancellation Policy Section.

Are there medical facilities or emergency services available during the Kedarnath Yatra?

Yes, medical facilities and emergency services are available along the Kedarnath Yatra route. Medical aid posts, clinics, and emergency response teams are strategically stationed at various points to provide immediate assistance if needed. Additionally, many tour packages include medical kits or access to medical professionals, ensuring pilgrims’ safety and well-being throughout the journey. It’s advisable to carry personal medications and consult a healthcare professional before embarking on the Yatra to address any specific health concerns.

What are the trekking challenges or difficulties one might encounter during the Yatra?

The Kedarnath Yatra involves trekking through diverse terrains, which can pose challenges for some travelers. The uphill trek, steep trails, and varying altitudes might be physically demanding for individuals not accustomed to such conditions. Weather fluctuations, especially during monsoons, can lead to slippery paths or landslides, adding to the difficulty. However, tour packages often provide experienced guides, porters, and support services to assist pilgrims, ensuring a smoother journey and mitigating potential challenges.

Can the Kedarnath Yatra be undertaken by solo travelers, or is it better to join a group?

Solo travelers can undertake the Kedarnath Yatra, but joining a group or availing tour packages offers several advantages. Groups provide a sense of camaraderie, safety, and assistance, especially for first-time visitors or those unfamiliar with the terrain. Moreover, tour packages organize logistics, accommodations, permits, and guides, streamlining the journey and allowing pilgrims to focus on the spiritual aspect without worrying about administrative aspects.

Are there specific guidelines or dress codes to follow during the visit to the Kedarnath Shrine?

While there’s no strict dress code, it’s advisable to dress modestly and comfortably during the visit to the Kedarnath Shrine. As the temple is a sacred site, respectful attire, covering shoulders and legs, is appreciated. Additionally, removing shoes and covering one’s head before entering the temple premises is customary and signifies reverence towards the deity.

What are the essential items to carry during the Kedarnath Yatra?
  1. Carrying essential items like appropriate clothing, comfortable footwear, personal medications, water bottles, energy snacks, sunscreen, rain gear, and a torchlight are recommended. Kedarnath tour packages often provide a checklist of necessary items, aiding travelers in preparing for the journey. It’s crucial to travel light yet carry essentials to ensure a comfortable and safe Yatra experience.

  2.  
Is photography or videography allowed at the Kedarnath Temple and its surroundings?

Photography and videography are permitted in certain areas around the Kedarnath Temple, but it’s advisable to respect the sanctity of the site and follow guidelines. Some parts of the temple might have restrictions on capturing images, particularly in the inner sanctum or during specific rituals. Visitors are encouraged to inquire about photography guidelines and adhere to them to maintain the sacred atmosphere of the temple.

Are there any specific rituals or customs one should be aware of before visiting Kedarnath?

Before visiting Kedarnath, familiarizing oneself with basic rituals and customs is respectful. Observing silence, offering prayers, performing parikrama (circumambulation) around the temple, and participating in the Aarti (prayer ceremony) are common practices. It’s recommended to seek guidance from priests or local authorities to understand and participate in these rituals respectfully.

What are the travel options available in the Kedarnath tour package from Chennai?

The Kedarnath tour package from Chennai offers diverse travel options. Travelers can choose between flights, trains, or a combination of both to reach destinations like Dehradun, Haridwar, or Rishikesh, from where the Kedarnath Yatra begins. Flight options from Chennai to Delhi or Dehradun provide convenience, while train services to Haridwar or Rishikesh offer an opportunity to experience the scenic train journey. The tour package includes transportation, ensuring a seamless and comfortable travel experience for pilgrims from Chennai to the base point of the Kedarnath Yatra.

Is acclimatization time included in the Kedarnath tour package from Chennai?

es, most Kedarnath tour packages from Chennai incorporate acclimatization time into the itinerary, especially for travelers coming from sea-level areas like Chennai. This essential period allows the body to adjust to higher altitudes gradually. Stops in destinations like Haridwar, Rishikesh, or other towns en route to Kedarnath provide a buffer period, allowing travelers to acclimate to the altitude and climate changes. Acclimatization is crucial to prevent altitude sickness and ensure a safer and more comfortable trek or travel experience during the Yatra.

What are the language preferences and communication facilities for travelers from Chennai during the Kedarnath Yatra?

Most Kedarnath tour packages from Chennai ensure multilingual guides or support staff proficient in languages like English, Hindi, and Tamil, facilitating seamless communication for travelers from Chennai. Moreover, in popular tourist destinations like Rishikesh or Haridwar, various signs, information boards, and instructions are available in multiple languages, including English and Hindi. This multilingual support ensures that travelers from Chennai can easily understand instructions, interact with locals, and navigate the Yatra route without language barriers.

Are there specific cultural experiences or activities included in the Kedarnath tour package from Chennai?

Yes, the Kedarnath tour package from Chennai often incorporates unique cultural experiences and activities. Travelers get the opportunity to witness Ganga Aarti in Rishikesh or Haridwar, participate in yoga or meditation sessions, and explore the vibrant local markets to experience the culture and traditions of the region. Additionally, the tour might include visits to ancient temples or spiritual centers along the Yatra route, offering insights into the rich heritage and cultural fabric of the Himalayan region, enriching the overall pilgrimage experience.

Can the Kedarnath Yatra be customized in the tour package from Chennai to accommodate specific preferences or requirements?

Yes, Kedarnath tour packages from Chennai often offer customization options to accommodate specific preferences or requirements. Whether it’s altering the itinerary to include additional days for leisure, adjusting accommodation choices, or incorporating specific activities, travelers can communicate their preferences to the tour organizers. Customization ensures a personalized and tailored experience, catering to individual needs while ensuring a fulfilling and memorable Kedarnath Yatra for travelers from Chennai.

Other Package

Our Recent Blogs

Where To Read The Essay That Made The Teacher Cry

3 common admissions essay questions – and how to tackle them Ask a question. One of the best ways to…

How Covid19 Has Changed The World Essay

The easy way to gain access to your free online credit report Pubic hair removal is now a matter of…

What Does The Author Of This Critical Thinking Essay Assume About The President

Writing your first resume after music production school Because i staff sales and marketing professionals for a living, this is…

jQuery( function ( $ ) { var mshotRemovalTimer = null; var mshotRetryTimer = null; var mshotTries = 0; var mshotRetryInterval = 1000; var mshotEnabledLinkSelector = 'a[id^="author_comment_url"], tr.pingback td.column-author a:first-of-type, td.comment p a'; var preloadedMshotURLs = []; $('.akismet-status').each(function () { var thisId = $(this).attr('commentid'); $(this).prependTo('#comment-' + thisId + ' .column-comment'); }); $('.akismet-user-comment-count').each(function () { var thisId = $(this).attr('commentid'); $(this).insertAfter('#comment-' + thisId + ' .author strong:first').show(); }); akismet_enable_comment_author_url_removal(); $( '#the-comment-list' ).on( 'click', '.akismet_remove_url', function () { var thisId = $(this).attr('commentid'); var data = { action: 'comment_author_deurl', _wpnonce: WPAkismet.comment_author_url_nonce, id: thisId }; $.ajax({ url: ajaxurl, type: 'POST', data: data, beforeSend: function () { // Removes "x" link $("a[commentid='"+ thisId +"']").hide(); // Show temp status $("#author_comment_url_"+ thisId).html( $( '' ).text( WPAkismet.strings['Removing...'] ) ); }, success: function (response) { if (response) { // Show status/undo link $("#author_comment_url_"+ thisId) .attr('cid', thisId) .addClass('akismet_undo_link_removal') .html( $( '' ).text( WPAkismet.strings['URL removed'] ) ) .append( ' ' ) .append( $( '' ) .text( WPAkismet.strings['(undo)'] ) .addClass( 'akismet-span-link' ) ); } } }); return false; }).on( 'click', '.akismet_undo_link_removal', function () { var thisId = $(this).attr('cid'); var thisUrl = $(this).attr('href'); var data = { action: 'comment_author_reurl', _wpnonce: WPAkismet.comment_author_url_nonce, id: thisId, url: thisUrl }; $.ajax({ url: ajaxurl, type: 'POST', data: data, beforeSend: function () { // Show temp status $("#author_comment_url_"+ thisId).html( $( '' ).text( WPAkismet.strings['Re-adding...'] ) ); }, success: function (response) { if (response) { // Add "x" link $("a[commentid='"+ thisId +"']").show(); // Show link. Core strips leading http://, so let's do that too. $("#author_comment_url_"+ thisId).removeClass('akismet_undo_link_removal').text( thisUrl.replace( /^http:\/\/(www\.)?/ig, '' ) ); } } }); return false; }); // Show a preview image of the hovered URL. Applies to author URLs and URLs inside the comments. if ( "enable_mshots" in WPAkismet && WPAkismet.enable_mshots ) { $( '#the-comment-list' ).on( 'mouseover', mshotEnabledLinkSelector, function () { clearTimeout( mshotRemovalTimer ); if ( $( '.akismet-mshot' ).length > 0 ) { if ( $( '.akismet-mshot:first' ).data( 'link' ) == this ) { // The preview is already showing for this link. return; } else { // A new link is being hovered, so remove the old preview. $( '.akismet-mshot' ).remove(); } } clearTimeout( mshotRetryTimer ); var linkUrl = $( this ).attr( 'href' ); if ( preloadedMshotURLs.indexOf( linkUrl ) !== -1 ) { // This preview image was already preloaded, so begin with a retry URL so the user doesn't see the placeholder image for the first second. mshotTries = 2; } else { mshotTries = 1; } var mShot = $( '
' ); mShot.data( 'link', this ); mShot.data( 'url', linkUrl ); mShot.find( 'img' ).on( 'load', function () { $( '.akismet-mshot' ).data( 'pending-request', false ); } ); var offset = $( this ).offset(); mShot.offset( { left : Math.min( $( window ).width() - 475, offset.left + $( this ).width() + 10 ), // Keep it on the screen if the link is near the edge of the window. top: offset.top + ( $( this ).height() / 2 ) - 101 // 101 = top offset of the arrow plus the top border thickness } ); $( 'body' ).append( mShot ); mshotRetryTimer = setTimeout( retryMshotUntilLoaded, mshotRetryInterval ); } ).on( 'mouseout', 'a[id^="author_comment_url"], tr.pingback td.column-author a:first-of-type, td.comment p a', function () { mshotRemovalTimer = setTimeout( function () { clearTimeout( mshotRetryTimer ); $( '.akismet-mshot' ).remove(); }, 200 ); } ); var preloadDelayTimer = null; $( window ).on( 'scroll resize', function () { clearTimeout( preloadDelayTimer ); preloadDelayTimer = setTimeout( preloadMshotsInViewport, 500 ); } ); preloadMshotsInViewport(); } /** * The way mShots works is if there was no screenshot already recently generated for the URL, * it returns a "loading..." image for the first request. Then, some subsequent request will * receive the actual screenshot, but it's unknown how long it will take. So, what we do here * is continually re-request the mShot, waiting a second after every response until we get the * actual screenshot. */ function retryMshotUntilLoaded() { clearTimeout( mshotRetryTimer ); var imageWidth = $( '.akismet-mshot img' ).get(0).naturalWidth; if ( imageWidth == 0 ) { // It hasn't finished loading yet the first time. Check again shortly. setTimeout( retryMshotUntilLoaded, mshotRetryInterval ); } else if ( imageWidth == 400 ) { // It loaded the preview image. if ( mshotTries == 20 ) { // Give up if we've requested the mShot 20 times already. return; } if ( ! $( '.akismet-mshot' ).data( 'pending-request' ) ) { $( '.akismet-mshot' ).data( 'pending-request', true ); mshotTries++; $( '.akismet-mshot .mshot-image' ).attr( 'src', akismet_mshot_url( $( '.akismet-mshot' ).data( 'url' ), mshotTries ) ); } mshotRetryTimer = setTimeout( retryMshotUntilLoaded, mshotRetryInterval ); } else { // All done. } } function preloadMshotsInViewport() { var windowWidth = $( window ).width(); var windowHeight = $( window ).height(); $( '#the-comment-list' ).find( mshotEnabledLinkSelector ).each( function ( index, element ) { var linkUrl = $( this ).attr( 'href' ); // Don't attempt to preload an mshot for a single link twice. if ( preloadedMshotURLs.indexOf( linkUrl ) !== -1 ) { // The URL is already preloaded. return true; } if ( typeof element.getBoundingClientRect !== 'function' ) { // The browser is too old. Return false to stop this preloading entirely. return false; } var rect = element.getBoundingClientRect(); if ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= windowHeight && rect.right <= windowWidth ) { akismet_preload_mshot( linkUrl ); $( this ).data( 'akismet-mshot-preloaded', true ); } } ); } $( '.checkforspam.enable-on-load' ).on( 'click', function( e ) { if ( $( this ).hasClass( 'ajax-disabled' ) ) { // Akismet hasn't been configured yet. Allow the user to proceed to the button's link. return; } e.preventDefault(); if ( $( this ).hasClass( 'button-disabled' ) ) { window.location.href = $( this ).data( 'success-url' ).replace( '__recheck_count__', 0 ).replace( '__spam_count__', 0 ); return; } $('.checkforspam').addClass('button-disabled').addClass( 'checking' ); $('.checkforspam-spinner').addClass( 'spinner' ).addClass( 'is-active' ); akismet_check_for_spam(0, 100); }).removeClass( 'button-disabled' ); var spam_count = 0; var recheck_count = 0; function akismet_check_for_spam(offset, limit) { var check_for_spam_buttons = $( '.checkforspam' ); var nonce = check_for_spam_buttons.data( 'nonce' ); // We show the percentage complete down to one decimal point so even queues with 100k // pending comments will show some progress pretty quickly. var percentage_complete = Math.round( ( recheck_count / check_for_spam_buttons.data( 'pending-comment-count' ) ) * 1000 ) / 10; // Update the progress counter on the "Check for Spam" button. $( '.checkforspam' ).text( check_for_spam_buttons.data( 'progress-label' ).replace( '%1$s', percentage_complete ) ); $.post( ajaxurl, { 'action': 'akismet_recheck_queue', 'offset': offset, 'limit': limit, 'nonce': nonce }, function(result) { if ( 'error' in result ) { // An error is only returned in the case of a missing nonce, so we don't need the actual error message. window.location.href = check_for_spam_buttons.data( 'failure-url' ); return; } recheck_count += result.counts.processed; spam_count += result.counts.spam; if (result.counts.processed < limit) { window.location.href = check_for_spam_buttons.data( 'success-url' ).replace( '__recheck_count__', recheck_count ).replace( '__spam_count__', spam_count ); } else { // Account for comments that were caught as spam and moved out of the queue. akismet_check_for_spam(offset + limit - result.counts.spam, limit); } } ); } if ( "start_recheck" in WPAkismet && WPAkismet.start_recheck ) { $( '.checkforspam' ).click(); } if ( typeof MutationObserver !== 'undefined' ) { // Dynamically add the "X" next the the author URL links when a comment is quick-edited. var comment_list_container = document.getElementById( 'the-comment-list' ); if ( comment_list_container ) { var observer = new MutationObserver( function ( mutations ) { for ( var i = 0, _len = mutations.length; i < _len; i++ ) { if ( mutations[i].addedNodes.length > 0 ) { akismet_enable_comment_author_url_removal(); // Once we know that we'll have to check for new author links, skip the rest of the mutations. break; } } } ); observer.observe( comment_list_container, { attributes: true, childList: true, characterData: true } ); } } function akismet_enable_comment_author_url_removal() { $( '#the-comment-list' ) .find( 'tr.comment, tr[id ^= "comment-"]' ) .find( '.column-author a[href^="http"]:first' ) // Ignore mailto: links, which would be the comment author's email. .each(function () { if ( $( this ).parent().find( '.akismet_remove_url' ).length > 0 ) { return; } var linkHref = $(this).attr( 'href' ); // Ignore any links to the current domain, which are diagnostic tools, like the IP address link // or any other links another plugin might add. var currentHostParts = document.location.href.split( '/' ); var currentHost = currentHostParts[0] + '//' + currentHostParts[2] + '/'; if ( linkHref.indexOf( currentHost ) != 0 ) { var thisCommentId = $(this).parents('tr:first').attr('id').split("-"); $(this) .attr("id", "author_comment_url_"+ thisCommentId[1]) .after( $( 'x' ) .attr( 'commentid', thisCommentId[1] ) .attr( 'title', WPAkismet.strings['Remove this URL'] ) ); } }); } /** * Generate an mShot URL if given a link URL. * * @param string linkUrl * @param int retry If retrying a request, the number of the retry. * @return string The mShot URL; */ function akismet_mshot_url( linkUrl, retry ) { var mshotUrl = '//s0.wp.com/mshots/v1/' + encodeURIComponent( linkUrl ) + '?w=900'; if ( retry > 1 ) { mshotUrl += '&r=' + encodeURIComponent( retry ); } mshotUrl += '&source=akismet'; return mshotUrl; } /** * Begin loading an mShot preview of a link. * * @param string linkUrl */ function akismet_preload_mshot( linkUrl ) { var img = new Image(); img.src = akismet_mshot_url( linkUrl ); preloadedMshotURLs.push( linkUrl ); } $( '.akismet-could-be-primary' ).each( function () { var form = $( this ).closest( 'form' ); form.data( 'initial-state', form.serialize() ); form.on( 'change keyup', function () { var self = $( this ); var submit_button = self.find( '.akismet-could-be-primary' ); if ( self.serialize() != self.data( 'initial-state' ) ) { submit_button.addClass( 'akismet-is-primary' ); } else { submit_button.removeClass( 'akismet-is-primary' ); } } ); } ); /** * Shows the Enter API key form */ $( '.akismet-enter-api-key-box__reveal' ).on( 'click', function ( e ) { e.preventDefault(); var div = $( '.akismet-enter-api-key-box__form-wrapper' ); div.show( 500 ); div.find( 'input[name=key]' ).focus(); $( this ).hide(); } ); /** * Hides the Connect with Jetpack form | Shows the Activate Akismet Account form */ $( 'a.toggle-ak-connect' ).on( 'click', function ( e ) { e.preventDefault(); $( '.akismet-ak-connect' ).slideToggle('slow'); $( 'a.toggle-ak-connect' ).hide(); $( '.akismet-jp-connect' ).hide(); $( 'a.toggle-jp-connect' ).show(); } ); /** * Shows the Connect with Jetpack form | Hides the Activate Akismet Account form */ $( 'a.toggle-jp-connect' ).on( 'click', function ( e ) { e.preventDefault(); $( '.akismet-jp-connect' ).slideToggle('slow'); $( 'a.toggle-jp-connect' ).hide(); $( '.akismet-ak-connect' ).hide(); $( 'a.toggle-ak-connect' ).show(); } ); });