Support for Envato Buyers Forums OldCar Configuring for SEO

Viewing 1 reply thread
  • Author
    Posts
    • #3354
      OrcunBaslak
      Member

      Hello,

      I’m trying to increase my SEO by using http://yoast.com/wordpress-rel-author-rel-me/ this.
      Here it suggests me to use a link to my google profile in my wordpress profile.

      I’d like to link the Author link on my posts to a static page other than /author/orcunbaslak

      How can I achieve this ?

      Regards,
      Orcun

    • #3357

      Hi

      You have to change the php file, edit “/wp-content/themes/oldcar/includes/theme-functions.php” file, find the following code

      /*Post meta info*/
      if( !function_exists( 'van_posted_on') ){
        function van_posted_on(){
      ?>     
         <span class="blog-article-info"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) );?>"><?php printf(__('By %s','OldCar'),get_the_author());?></a> / <?php printf( __( 'in %2$s', 'OldCar' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> / <?php the_time(get_option('date_format'));?></span>
      <?php
        }
      }

      Replace it as below

      /*Post meta info*/
      if( !function_exists( 'van_posted_on') ){
        function van_posted_on(){
      ?>     
         <span class="blog-article-info"><a href="YOUR PROFILE PAGE"><?php printf(__('By %s','OldCar'),get_the_author());?></a> / <?php printf( __( 'in %2$s', 'OldCar' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?> / <?php the_time(get_option('date_format'));?></span>
      <?php
        }
      }

      Please use your actual profile page to instead of “YOUR PROFILE PAGE” above.

      Thanks

Viewing 1 reply thread
  • You must be logged in to reply to this topic.