How to add a brief description to Our Team

Greetings, I would like to add a brief description to each of the people belonging to Our Team, because as I did not see options, I put it in Employee Position.

However, when done this way, social links are not shown.

Is there any other way to put a job description, and that appears under each of the employees?

Thanks in advance. I await your prompt reply.

Hello there,

Thank you for reaching out to us here.

Please follow this instruction and let me know how it helps.

Regards,
Kharis

Hi Kharis, I followed your instruccions, and found this line:

<div class=“pos”><?php echo esc_html($position); ?></div>
And add this code to the line below
<div><?php the_content(); ?></div>

This was the result:

<div class=“name”><?php the_title(); ?></div>
<div class=“pos”><?php echo esc_html($position); ?></div>
<div><?php the_content(); ?></div>
<ul class=“team-social”>

Saved changes then update, but I don’t see any changes, it doesn’t display the employee description on the employee widget. It appears the employee position, Employee Facebook, Employee Twitter, Employee Google and Employee Link.

What else can I do?

Thanks.

Angela

Hi Angela,

Make sure you’ve defined the employee description in the text editor box. Please share your site here, so I can check to debug.

Regards,
Kharis

Hi, sorry, my site:

www.sistemasint.com

Thank you.

Angela

Hello Angela,

Thank you for sharing. Please verify if you have entered the employee description in this box?

Cloudup

Regards,
Kharis

Hello Kharis, I changed employee descripcion of Hernando Cardenas in the box, but the employee description appears when you place the mouse over the photo, not below the employee position of the employee.

Employee Descripcion Hernando Cardenas

For now, I am not allowed to send you images, but I send you the link of how the site currently looks, with the changes you indicated to me.

Thank you,

Angela

Hi Angela,

Please FTP your site, then download the themes/sydney/widgets/fp-employees.php file. And then share the entire code on https://gist.github.com/ and share its link here, so I can check to debug.

Regards,
Kharis

Hi Kharis, I’m sending you the entire code:

Thank you very much.

Angela

Hello Angle,

Please remove this line:


<div><?php the_content(); ?></div>

Then find this code block:


<div class="team-content">
    <div class="name">
    	<?php if ($link == '') : ?>
    		<?php the_title(); ?>
    	<?php else : ?>
    		<a href="<?php echo esc_url($link); ?>"><?php the_title(); ?></a>
    	<?php endif; ?>
    </div>
    <div class="pos"><?php echo esc_html($position); ?></div>
</div>

Then insert this line before .team-content closing tag:


<div><?php the_content(); ?></div>

So the final code will look like this:


<div class="team-content">
    <div class="name">
    	<?php if ($link == '') : ?>
    		<?php the_title(); ?>
    	<?php else : ?>
    		<a href="<?php echo esc_url($link); ?>"><?php the_title(); ?></a>
    	<?php endif; ?>
    </div>
    <div class="pos"><?php echo esc_html($position); ?></div>
		<div><?php the_content(); ?></div>
</div>

The entire code will look like this https://gist.githubusercontent.com/kharissulistiyo/c688f5c216ed557cafea412897033393/raw/236407e5068a42109d1e0c32d4b7ae339ff50fe9/fp-employees.php.

Regards,
Kharis

I’m sorry, Kharis, but I tried to find the code you’re telling me to delete, but I don’t find it:

<div><?php the_content(); ?></div>

I don’t find it in the link you sent me:

https://gist.githubusercontent.com/kharissulistiyo/c688f5c216ed557cafea412897033393/raw/236407e5068a42109d1e0c32d4b7ae339ff50fe9/fp-employees.php

What can I do?

Thank you for your attention

Angela

Hi Angela,

Please try to replace your code with the one I shared.

Let me know how it goes.

Regards,
Kharis

Hi Kharis, ready, I copied and pasted the code of link that you sent me.

I’m really greateful for your help.

I hope you have an excellent week.

Regards,

Angela

You’re welcome, Angela!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis