WordPress.org

Ready to get started?Download WordPress

Forums

Pinterest Image Pin
Only works on Post pages. Not front page (2 posts)

  1. ldsfunaz
    Member
    Posted 2 years ago #

    The pin-it button only shows up on single blog post and does not show up in the same post on the main /blog/ page.

    thanks

    http://wordpress.org/extend/plugins/pinterest-image-pin/

  2. oturia
    Member
    Posted 1 year ago #

    If it helps, I also had this issue and edited the plugin. On line 45 of the functions.php file, there is an if statement that says if it's the home page or the category page, then return the content without the Pin It button.

    if(is_front_page()||is_category()){

    If you want it to show up on the front page, change it to this:

    if(is_category()){

    If you're interested in customizing it further, you would probably want to read up on Conditional Tags.

    http://codex.wordpress.org/Conditional_Tags

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.