Use the Twitter field elsewhere on the site ?

[ad_1]

Hello everybody 🙂

I’m not good at all in PHP, I’ve already dabbled in a few little things but always taking long hours. Today I am faced with something that I am incapable of doing.

At the bottom of each article on my site, I display an author summary. I would like to be able to add the Twitter (and other RS) buttons configured on the author’s Ultimate Members profile, but I don’t know how to do it.

Do you have anything to advise me?

Here is my current code to display the author block:

<div id="author-meta">
<div id="avatar-author-meta"><?php echo get_avatar( get_the_author_meta('ID'), 100 ); ?></div>
<div id="content-author-meta"><div id="auteur">Contenu proposé par <?php the_author_posts_link(); ?></div>
<span class="number-posts"><?php the_author_posts(); ?> articles</span>
<p class="description-auteur"><?php the_author_meta('description'); ?></p></div>
</div>

Thank you in advance and good day 🙂

  • This topic was modified 18 minutes ago by desben.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer