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

Single staff linking

#staff #specular
    • 8 years, 8 months ago hairyLemon
      Participant

      Expired

      Hi, I have tried several of your other responses and can’t get this to work.

      Currently I have 9 single staff thumbnails and text excerpt set up on a page, but you can’t click through. I have tried several of your answers here and they either add the full text to the initial page, or remove all single staff items altogether. Are you able to help?

      The info on this page https://support.codeless.co/?topic=staff-picture-size-and-link makes the content of the page disappear altogether.
      Thanks

       

    • 8 years, 8 months ago Mirela
      Participant

      Hello,

      I don’t understand what are you trying to do. Please explain what do you want to change so i can guide you.

      Note: Please consider updating your profile data. Read this article for more information.

      Best regards!

    • 8 years, 8 months ago hairyLemon
      Participant

      Expired

      Hi Mihaila,

      I have the specular theme. I’m wanting to add a staff page. I have three staff single profiles that are set up on the page. I want to have these clickable so they link to a full page per staff member with their photo and bio. I would like it to link to a page similar to this https://codeless.co/specular/default/?staff=brad-doe. Can you please advise?

    • 8 years, 8 months ago Mirela
      Participant

      Hello,

      Please follow the below instructions:
      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!

    • 8 years, 8 months ago hairyLemon
      Participant

      Expired

      Fantastic, this is great, (I’ve just used the first option), but it takes you to a page which looks like a post page, doesn’t have the profile picture and includes items such as: posted by, post date, comments, and blog sidebar. How can I link to the specific profile page?

      Thanks heaps

    • 8 years, 8 months ago Kris
      Participant

      Hello,

      If you followed the instructions above, you will be able to click on the staff name and picture and be directed to their profile as staff entry. The page you see after clicking on their names is their staff entry you have created for them. If you want to be directed to a specific page by clicking on them, refer to this topic.
      It is a tested solution. You will be able to add a profile link to the chain of social links in staff element and be redirected to the page you choose to be the profile page.
      Let us know.

      Best regards!

    • 8 years, 8 months ago hairyLemon
      Participant

      Expired

      Hi Kris,

      Thanks I tried that but it looks like a double up of what I have already done. I have the profile linking to the full profile page, but this page is basically a post page. I would like to do the following:

      Remove the blog post sidebars from the staff profile page, but keep the blog post sidebars on the blog post pages. How do I remove them from just the staff profile pages please?

      Thanks heaps

       

    • 8 years, 8 months ago Kris
      Participant

      Hello,

      If you followed the instructions of the topic i have sent you, you will get this screenshot 1 and choose the link you want to be directed, to display the profile screenshot 2. It doesn’t direct you to the blog post page (only if you choose to). Anyway if you want to not display the sidebars at you single post page, go to General Options > Blog Config > Single Blog Layout and choose the first layour (without sidebar) see screenshot.
      If you need us to provide the instructions again step by step, let us know.

      Best regards!

    • 8 years, 8 months ago hairyLemon
      Participant

      Expired

      This is great, thanks so much – all sorted!  Just wanted to know how to make the linkedin link from the staff profile open in a new window/tab?

      Much appreciated!

       

    • 8 years, 8 months ago Mirela
      Participant

      Hello,

      Please go to file vc_templates/staff.php and find this line:
      $output .= '<a href="'.esc_url($cl_redata['linkedin_link']).'" class="a1" data-animate="fadeInUp" title="linkedin"><i class="moon-linkedin"></i></a>';

      edit to this:
      $output .= '<a href="'.esc_url($cl_redata['linkedin_link']).'" target="_blank" class="a1" data-animate="fadeInUp" title="linkedin"><i class="moon-linkedin"></i></a>';

      Best regards!

Viewing 9 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