To render the shortcode output with a clickable link while it still looks like a shortcode, you have to replace the built-in shortcode:
add_shortcode( 'video', 'wpse_96840_literal_video' );
function wpse_96840_literal_video( $atts )
{
$url = $atts['url'];
return '<code>'
. sprintf( '', $url )
. '</code>';
}
Result

Related Posts:
- Access post from post id in URL
- How to Check if a Page Exists by URL?
- Strategy for handling hierarchical pages with empty parent content
- Update all posts automatically when using post_meta
- Search & Remove Specific Shortcode From All Posts
- How do you get all the urls of images attached to a post?
- Shortcode Not displayed at the Right Place [duplicate]
- Automatically added brs and paragraphs?
- How to allow slashes in single posts when i click in the edit permalink button
- Specific loop in Shortcode
- Possible to create a permalink to sort with meta_key?
- how to grab first link in post… and of course call it
- How To Add Perfect Apostrophe And Quotation Mark In WordPress Posts?
- Hide Post comments when displayed via WP_Query
- Remove Shortcode […] from Blog Preview
- Remove slashes (both before and after) in relative post url
- UberMenu list current user’s posts as menu items
- Paginated Posts – Social Media Buttons Share First Page URL
- do_shortcode within post query
- WordPress not opening posts with only numbers if permalink is post_name
- How to get rid of shortcodes in post content once and for all
- get_the_content(“more…”) returns full text
- Is there a straight-forward way to iterate over all shortcodes in a post?
- How can i display gallery shortcode output under Post text
- How to display Common posts from specific Tag & Category with Shortcode
- What’s the best way to render Visual Composer in posts, not pages?
- display-posts shortcode attributes have no effect
- Retrieve post ID from “querying” URL
- Start post pagination at 0 instead of 1
- Redirect to another page using contact form 7? [closed]
- Linking to pages/posts within the site
- Shortcode with ‘year’ parameter
- How come a YouTube link isn’t transformed into a shortcode inside the post content?
- Is it possible to add a shortcode below post title?
- WordPress 302 Redirect to Random Product/Post/Page
- Post is blank when I click on the link
- How to get the latest URL of my blog?
- How to convert query sql to shortcode in wordpress?
- How can I add 2 buttons with shortcode
- Shortcode for tables which can include comma and linebreaks
- Can Permalink structure of %postname%/%post_id% improve performance
- post/page content
- How to prevent to create same url of post, if the previous was deleted?
- Can I show category name in url for only one of my categories?
- Change published date and time using SQL query for page in every 5 hour
- get category in list of posts // shortcode for custom related posts
- shortcode // get posts by ids
- Display “no post” message
- Posting to WP via URL
- How to bulk Update URLs to new values?
- Every time I try accessing a post it redirects me to the feed
- Featured Story Shortcode not outputting content
- How can I make a post sub link?
- Function is printing twice – any suggestions?
- Contact Form 7 Shortcode not recognized inside another shortcode
- Display Post from Custom Post Type with Shortcode
- wp_insert_post() Add and specific ID to the body of that
- How to add a ‘News’ section to specific posts in WordPress
- Add a url parameter to the current post and read it in a shortcode
- Template for displaying CPT / Taxonomy URL issues
- Change WordPress names duplicate titles (url)
- How to generate an HTML link automatically from URL in a users’ post
- Secretly passing post ID/title etc into a shortcode form automatically to link submission to post
- Category URL to use same string as Post URL Permalink
- I need show posts by customer (Shortcode)
- Querying posts from current category, using a variable as array argument
- Is it possible to query a category with specified posts?
- If I moved the location of my generic “posts” page, do I need to change the slugs for all of the individual posts?
- Shortcode: How to add custom posts?
- Post & Category Archives URL structure
- Post URL duplication adds numerical value
- WordPress URL question
- Embed image in post from external url
- structure of posts and pages
- How to change post template via url?
- How to retrieve a post by inputing the url in a custom field and displaying it on an options page
- Custom URL Structure for posts with subcategories
- How can I display a specific number of post in a category via a url
- Is there a Standard Format for Clean URLs for Archives of Custom Posts?
- Shortcode for printing post titles
- How to use extract shortcode in loop?
- Create custom URL with different levels
- Make Show Notes for Individual Podcast Episodes Easy to Find (multiple URL’s?)
- Rewrite a specific Post Format to URL slug
- Display only posts with comments
- Choose options via url
- How do I add an article to specific page?
- get value from post to sidebar
- WordPress Yoast SEO plugin Post Save/Update Issue
- Insert Shortcode exactly at the end of the content
- Trying to create shortcode listing custom posts, but formating not being included
- Default post type doesn’t display in url
- Do I need to create a multisite for querying posts from multiple WordPress sites?
- Post page still linked to old site
- Blog posts are not appearing as subs of Blog Page
- Undefined Function Fatal Error with Shortcode [closed]
- How to add paraent in Blog post URL in wordpress
- Modify Post URL Programmatically
- How can I strip a single tag from an email post
- How do you export and import wordpress blog posts and exclude pagebuilder shortcodes?