Pinterest Pin It Button For Images
[resolved] Any way to pull text from somth othen than blog post ti (5 posts)

  1. ritarose
    Posted 3 years ago #

    Can I make it pull the description from a field other than the title of the blog post?
    Talking about this part of the php:

    $pindescription = '&description='.urlencode(get_the_title());



  2. Canha
    Posted 3 years ago #

    Hi Ritarose,

    Yeah, you can change it however you want. I'm not adding this as a feature just yet, but I might in the near future.

    Just make sure you have the "urlencode" there and just change the get_the_title() to get the field you'd like to show up.


  3. brentdeitrich
    Posted 3 years ago #

    I would definitely like to see this pull the image title instead of the description .. I fill in my image titles for SEO purposes and using the standard Pinterest button, that's what it pulls from.

    I might see if I can modify the PHP to do this for the time being.

  4. max900
    Posted 2 years ago #

    i'd like to pull the image title as well.

    though I don't know php like the first poster. so... what file do we edit and what exact line do we change? what do we change it to? is someone able to help?

    i assume we just need to make one edit in one place telling it to get image title vs. post title but i'm not sure. if there are more places than one to edit can someone specify?


  5. donarba
    Posted 2 years ago #

    i'd really like to know how to pull image title's as well. could somebody share how to do this with me, please?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest Pin It Button For Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.