• 0
Sign in to follow this  
Followers 0

Add Pinterest to branding Section


Question

Posted · Report post

Hi,

I was browsing the forum but I couldn't find a solution to add Pinterest with icon to the branding section.

Anyone an idea?

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hi,

Use the following code:

add_action('pagelines_branding_icons_end', 'pint_icon');
function pint_icon(){ ?>
<a target="_blank" href="#" class="pintlink" style="opacity: 0.5; ">
<img src="LINK TO ICON/IMAGE" alt="Pinterest">

</a>
<?php
}

Be sure to add the URL to your Pinterest icon/image.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I found myself with the same problem. My client wanted a pinterest logo in the branding section.

So, working with my comfort level, I found a work around. I used the linked in field to enter the pinterest address.

Then I changed the graphic that is used – without changing the name.

This was the easiest way I found. Now, I will have to remember this because when I upgrade pagelines it will revert back to the linked in logo.

 

So I made a note in their file to remind me.

All's well that ends well :)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

One thing no one's noticing is that Pinterest picks up a post's featured image and lets' you add an excerpt.  If you add Pinterest to a header or branding area, it's not going to link to the post you're viewing, but to the site generally, and will grab the branding logo.  That's why I've recommended using Pinterest only inside posts, where it will pick up the post's featured image and initially the excerpt field (which you can then edit), making a link to the post, not the site.

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0