Additional Social Account Fields?
This topic contains 19 replies, has 2 voices, and was last updated by Guust 5 years, 8 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
March 21, 2020 at 10:53 pm #535966
Besides Facebook, Instagram and Twitter are we able to add additional fields for other social accounts like Pinterest, Linkedin etc ?
March 21, 2020 at 11:11 pm #535970Yes, you can:
GD > Places [or other CPT] > Settings > Custom fields
and create a new URL field.Thanks
March 21, 2020 at 11:32 pm #535971Guust,
Thanks.. I am making some progress. Just so you know the URL field is only in the Standard Fields that I can see.
I was able to get Linkedin to work but I can’t get Pinterest icon to display on the listing page. Do I need to add this icon somewhere?
And how can I adjust the Instagram icon color?
March 21, 2020 at 11:37 pm #535975This reply has been marked as private.March 21, 2020 at 11:38 pm #535979Please post your URL and WP admin details in a private reply and we will have a look at your settings if you like.
ThanksMarch 21, 2020 at 11:49 pm #535982This reply has been marked as private.March 22, 2020 at 12:02 am #535983Make sure to add Pinterest to
Appearance > Widgets > Listing Right Sidebar > Text widget.To change the background color for the instagram icon, use this CSS:
.btn-instagram { background-color: red; }For more CSS tweaks, have a look at https://wpgeodirectory.com/docs/customizing-your-style/
Thanks
March 22, 2020 at 3:54 am #535996Guust,
The Text Widget had Linkedin already there I assume. Where did this come from? I copied the code and replace linkedin with Pinterest but still that did not put this code on the listing pages. When I look at the Source Code Pinterest is still not there. So something else must be going on, I am guessing.
March 22, 2020 at 4:03 am #535997I am guessing that comes from Listimia, or someone else added it. It is not standard.
There is no field key called “Pinterest”, the correct key is “pinterest”. FIXEDMarch 22, 2020 at 10:20 am #536067Guust,
Awesome! Thanks for fixing that!!!!!!
Another question for you.
How can I align all of the Social Icons to the left?
March 22, 2020 at 12:24 pm #536074Changed the code in the widget.
March 22, 2020 at 12:32 pm #536077Guust,
LOL I noticed that it was changed but didn’t know what happened 😀
Please can you share with me what you changed and exactly where so that I can apply this to my other directory?
Also question for you. Is it possible to display the complete url of the listings website as opposed to just showing “Website”?
March 22, 2020 at 1:12 pm #536083There is a DIV in that widget, I adjusted the code as follows:
<div class="social-profiles d-flex">To show the URL only, use this shortcode:
[gd_post_meta key="website" show="value-raw"]Thanks
March 22, 2020 at 1:25 pm #536086Guust,
the div in the widget??? still confused on this.. This is an example of the code in the only widget that I know of that controls these social icons
[gd_post_badge id='' key='linkedin' condition='is_not_empty' icon_class="fab fa-linkedin-in" link='%%input%%' new_window='1' bg_color='transparent' txt_color='none' css_class='btn-social btn-linkedin' ]and I am not seeing what you shared in here.. so it must be somewhere else.
March 22, 2020 at 1:40 pm #536087This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket