Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Disable Avatar In Timeline Layout

timeline blog
    • 10 years, 1 month ago connorscris
      Participant

      Expired

      I am using the timeline layout for my blog landing page and i would like to disable the ability to click on the author avatar.  This only brings you to the top of the page and that doesn’t really feel like the result a user would anticipate when clicking. To be clear,  I don’t want to remove the author avatar, just want to make it unclickable.

      One other issue regarding timeline and the author avatar is that on the first article on the page, the active area that displays the author’s name upon hove doesn’t seem to be lined up correctly.

      You can see see both of these behaviors here home.contv.com/news

       

      Thanks

      Chris

    • 10 years, 1 month ago Ruco
      Keymaster

      Hello,

      Please edit the file ‘specular/includes/views/blog/loop-timeline.php’, find the lines:

      ">
      

      and replace with:

      Best regards!

    • 10 years, 1 month ago Ruco
      Keymaster

      Hello,

      Please edit the file ‘specular/includes/views/blog/loop-timeline.php’, find the lines:
      <a href="#" rel="tooltip" data-placement="left" title="<?php echo get_the_author() ?>"><?php echo get_avatar(get_the_author_meta( 'ID' ), 64); ?></a>

      and replace with:

      <?php echo get_avatar(get_the_author_meta( 'ID' ), 64); ?>

      Best regards!

      • This reply was modified 10 years, 1 month ago by Ruco.
    • 10 years, 1 month ago connorscris
      Participant

      Expired

      That is almost what i am looking for.  This does accomplish turning off the clickthrough on the avatar but it also removes the tooltip with the authors name.  Is there anyway for that to remain?

    • 10 years, 1 month ago connorscris
      Participant

      Expired

      Or perhaps leave the click through functionality but set it to display a result page for the authors posts

    • 10 years, 1 month ago Ruco
      Keymaster

      Hello,

      It’s not possible to keep the tooltip, it’s on the link.
      You can use this link:
      <a href="<?php echo get_edit_user_link(get_the_author_meta( 'ID' ))?>" rel="tooltip" data-placement="left" title="<?php echo get_the_author() ?>"><?php echo get_avatar(get_the_author_meta( 'ID' ), 64); ?></a>

      Best regards!

      • This reply was modified 10 years, 1 month ago by Ruco.
Viewing 5 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password