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

Team/Staff questions

staffteamTower
    • 9 years, 4 months ago tamarwallace
      Participant

      Expired

      Hi – I’m trying to put a team page together, and I have a few questions.

      First, I’d like for the Staff Position to be on two lines. I tried using < br/ >, but the code showed up. Is there a way to insert HTML code in the Staff Position? Or should I be using a shortcode to add the break?

      Second, I’d like for both the image and the name of the person to be clickable and linked to a full bio page. I found something similar in the forums, but it was for the Specular theme, not Tower. Could you please help me with that?

      Thank you!

    • 9 years, 4 months ago tamarwallace
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 4 months ago Mirela
      Participant

      Hello,

      Please go to file vc_templates/staff.php and find this line:
      <span class="position">'.esc_attr($position).'</span>
      Replace with this:
      <span class="position">'.$position.'</span>

      Best regards!

    • 9 years, 2 months ago tamarwallace
      Participant

      Expired

      This worked wonderfully! Thank you!

    • 8 years, 10 months ago chuckylose
      Participant

      Expired

      is there a fix for this request above?….

      Second, I’d like for both the image and the name of the person to be clickable and linked to a full bio page. I found something similar in the forums, but it was for the Specular theme, not Tower. Could you please help me with that?

      Thank you!

      I am going crazy trying to find this solution!

    • 8 years, 10 months ago Mirela
      Participant

      Hello,


      @chuckylose
      ,
      1-To make the staff name a link to it’s profile, please go to vc_templates\staff.php file and find this line:
      $output .= '<h5>'.esc_html(get_the_title()).'</h5>';

      Replace with this:
      $output .= '<a href="'.esc_url(get_permalink()).'"><h5>'.esc_html(get_the_title()).'</a></h5>';

      2-To make the picture a link as well, in the same file find this line:
      $output .= '<img src="'.esc_url($featured).'" alt="">';

      Replace with this:
      $output .= '<a href="'.esc_url(get_permalink()).'"><img src="'.esc_url($featured).'" alt=""></a>';

      Let us know.

      Best regards!

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