Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
718 views
in Themes by
edited by

Here I want to Add Linkedin so I can add my linkedin profile/company link. How to do that?

Q2A version: 1.8.6
by
I don't use that theme, but aren't those just extra fields for user pages? (Administration center > users, bottom of the page)
by
@Ansgar Wiechers, No. This is (Administration center > Donut theme settings)
It is not used in user profile. It is used for social links of website
by
+1
Hmm... I just took a quick glance at the theme code, and to me it looks like those "social" URLs are hard-coded options (in Donut-admin/admin/admin-panel.php). If the admin settings don't provide you with a way of adding your own you'll probably have to patch the theme. But as I said before, I don't use Donut, so take that with a grain of salt.

1 Answer

+4 votes
by
edited by
 
Best answer

Visit this page:
https://github.com/amiyasahu/Donut/blob/master/qa-theme/Donut-theme/utils/qa-donut-utils.php#L295

If you don't need google plus:

'google-plus' => array(
    'icon' => 'google-plus',
    'text' => donut_lang( 'google-plus' ),
    'hover-text' => donut_lang( 'follow_us_on_x', donut_lang( 'google-plus' ) ),
),

replace the code above by:

'google-plus' => array(
    'icon' => 'linkedin',
    'text' => donut_lang( 'Linkedin' ),
    'hover-text' => donut_lang( 'follow_us_on_x', donut_lang( 'Linkedin' ) ),
),

This will work. I am not changing any array, hence when you add gplus url, this will work.

see image below

by
Thank you..!
by
welcome .........!
...