I don’t know which theme your are using, I am explaining you same thing for twenty seventeen theme, go to wp-content\themes\twentyseventeen\inc\template-tags.php,
You will find function twentyseventeen_time_link() there. In this function you will get code as like
return sprintf(
/* translators: %s: post date */
__( '<span class="screen-reader-text">Posted on</span> %s', 'twentyseventeen' ),
'<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'
);
Remove ‘a’ tag and it will become as like
return sprintf(
/* translators: %s: post date */
__( '<span class="screen-reader-text">Posted on</span> %s', 'twentyseventeen' ),
$time_string
);
In your theme may be similar code with some other function name, search and do same. Hope it will help you.
Thanks
Related Posts:
- Add CSS Class to Link in TinyMCE editor
- Get the prev / next page links only (not title, etc)
- Wondering how to turn your firefox bookmarks into a WordPress blog?
- Links redirecting to localhost after migration to server
- How can I find all internal links that are pointing to post/page?
- Creating a Link Directory using WordPress?
- Count and show Clicks on external links in a single page/post
- root-relative links for multiple parked domains
- Get link value only from the_content()?
- widget to output a link to archive view
- Can’t add a class to links in the visual editor since WP 3.1?
- how can i add a menu link that goes to an external page
- Remove all links to a specific website
- HTTPS page link in menu
- Link Category Description
- programatically change href to onclick=window.open
- Open link in a new tab checked by default when adding a new link in visual post editor
- Setting a page link in the footer?
- How to add/change a value of $wpdb property/var?
- Need advice on how to add links in users profile page?
- How to hide a customization link themes menu in wordpress?
- Getting only the most recent bookmark?
- WordPress links/bookmarks – need to urlencode because spaces are getting stripped
- Custom Post Type archive link in WYSIWYG editor
- How do I make my navigation bar link to an external page?
- Create anchor from Wysiwyg editor
- wp_get_attachment_link to add title attribute to link tag around image
- Can I generate then display a mixed list of linked and unlinked terms
- How to prevent a page from being linked in the menu/crossbar
- How to convert all links to no follow links of particlular section of a webpage
- Linking from Menu and a Page to the latest post from a specific category
- Links are not working on All Plugins Page
- Is there a way to hide WordPress behind a web visible directory?
- Copy button for anchor link
- plugin admin subpage title and links in menu not highlited at current page
- Change Read More in Child theme
- Add text excerpt and pictures to hyperlinks?
- Default Link for TinyMCE “Add Link”
- Parent/child pages and link structure the right way
- How do I get link URLs from the WordPress links backend into an array?
- Link below the footer removal
- Is there anyway to use relative link instead of absolute link?
- How to link to local post
- How can I show different image links for different languages with qTranslate?
- Exclude uploaded files from appearing in the excerpt()
- link to single most recent post, regardless of category
- Change description of my Jetpack facebook shared links [closed]
- WP Method `get_theme_file_uri()` Doesn’t Seem To Be Working Properly When Used In The Head Section Of A Site
- Add the title attribute to links
- Moving a wordpress.org website to another domain name?
- WordPress relative links for regular non image links
- How do I make WordPress “Page” link in the top nav bar go to an external URL?
- How Do I Link My Whole Featured Article Image?
- Insert wrap span tag around contents of a link tag automatically
- Alternative to rb-internal-links to implement [intlink tag?
- Embed/Link external web pages into my WordPress blog (Like Facebook grabs Image, Title, and Description)
- Button linking to an unique link
- Previous and older set of posts links
- Page to show a link to every file in an directory
- Links In Sidebar not displaying
- Display category page number links for older posts
- Blogroll/Lins Menu not visible in my backend?
- How to get Facebook to see YouTube/Blip embeds when sharing a link?
- Related posts for a post
- How do I exclude main pages and link only to sub pages?
- Converting a hierarchy of off-site web-links to Word-Press
- Snippet to Format Elementor Text Box Throws Error
- Remove the preview link box since 6.0 update
- Link to downloadable excel sheet on website leads to unfinished version of document
- how give a link to an Elementor Pro widget with variable part
- How to find what pages are internally linking to a page?
- ddnss linking problem
- How to download file without login to wordpress account?
- How to add a target to a link
- Making download links from short code
- Displaying Most Recently Edited Post
- Best practice and technology to Offset anchor links
- My home page is still showing link “localhost” [duplicate]
- WordPress Intranet Link Not Working
- Reuse links in a post across different languages
- Prevent “nofollow” from Being Inserted into BBPress Posts
- Anchor link on single.php
- WordPress link management
- Adding Edit subnav link to Custom Buddypress Profile Tab [closed]
- What could interfere with changing iframe contents with href?
- Logout link not working
- How to link to specific part of a page in wordpress permalinks
- WordPress is adding rel=”nofollow” and target=”_blank” to internal links in posts and pages
- Weird characters being added to my link
- On main page link image to post page, on post page link it to it’s own image?
- Removing links from posts in WordPress
- WordPress link to show popup box
- External Link issue in Visual Form Builder Pro
- Link to Portfolio page by id instead of name
- How to Link to WP Pages Internally and Extenally
- What is making these links open as new windows?
- Suddenly unable to share WordPress link on Facebook
- tinymce “Link” popup throwing error, not working
- Short website link for all post
- gallery link not displaying photos