• tokyo20

    (@tokyo20)


    I was wondering if anyone knew how to remove the hyperlink that is embeded in “Posted on” every time a post is created.

    Example: Posted on November 18, 2013 (the date is turned into a hyperlink.

    I am using the theme Vantage Premium. I went to the themes site for support and they informed me that this is not a configuration in their them, but something that would have to be changed in the Word Press files. Would anyone know how to do this? I have found older post about this, but with the new version of wordpress, I am finding them to be dated.

    Thanks,

    -Tokyo20

Viewing 4 replies - 1 through 4 (of 4 total)
  • Borko

    (@media-x)

    Date turned into hyperlink is handled by your theme. I suppose you should look through single.php and change the part where the date is handled.

    Thread Starter tokyo20

    (@tokyo20)

    I just looked around (single.php) as you suggested and turned up with nothing. However, I found the following in (content-single.php). How would I remove the link from the following code?

    <?php
    /**
     * Displays
     *
     * @package vantage
     * @since vantage 1.0
     * @license GPL 2.0
     */
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
    
    	<div class="entry-main">
    
    		<?php do_action('vantage_entry_main_top') ?>
    
    		<header class="entry-header">
    
    			<?php if( has_post_thumbnail() && siteorigin_setting('blog_featured_image') ): ?>
    				<div class="entry-thumbnail"><?php the_post_thumbnail( is_active_sidebar('sidebar-1') ? 'post-thumbnail' : 'vantage-thumbnail-no-sidebar' ) ?></div>
    			<?php endif; ?>
    
    			<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'vantage' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    
    			<?php if ( get_post_type() == 'post' ) : ?>
    				<div class="entry-meta">
    					<?php vantage_posted_on(); ?>
    				</div><!-- .entry-meta -->
    			<?php endif; ?>
    
    		</header><!-- .entry-header -->
    
    		<div class="entry-content">
    			<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'vantage' ) ); ?>
    			<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'vantage' ), 'after' => '</div>' ) ); ?>
    		</div><!-- .entry-content -->
    
    		<?php if(vantage_get_post_categories()) : ?>
    			<div class="entry-categories">
    				<?php echo vantage_get_post_categories() ?>
    			</div>
    		<?php endif; ?>
    
    		<?php do_action('vantage_entry_main_bottom') ?>
    
    	</div>
    
    </article><!-- #post-<?php the_ID(); ?> -->

    Any Suggestions?

    Thread Starter tokyo20

    (@tokyo20)

    Hey All,

    Im trying to remove/disable the hyperlink that is embedded with the “Posted on {date}”.

    Theme: Vantage Premium (I was trying to do the same in the free one as well)

    WP: 3.7.1

    Steps Taken: E-mailed the theme designer and he informed me that what I am trying to do is a WP modification and not something that he can answer with his theme. I have searched across the forums and Google with no luck. I have even tried to edit strings of code myself to see if I could resolve this with no luck.

    If anyone could help me or point me in the right direction, I would greatly appreciate it.

    Here is a link to my page so you can see what I am talking about: https://wcscience.com/wordpress/ap-biology

    Thank-you,

    -Tokyo20

    Enter this to your child theme or custom css to remove the data completely

    .entry-meta {
    display: none;
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove hyperlink from (Posted On)’ is closed to new replies.