Support » Plugin: Pinterest Image Pin » [Plugin: Pinterest Image Pin] Only works on Post pages. Not front page

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Pinterest Image Pin] Only works on Post pages. Not front page’ is closed to new replies.