Jump to content


Photo
PostPins

Modifying PostPins



Best Answer Simon_P , 13 April 2013 - 09:26 PM

Use the pre_get_posts wordpress filter.

 

 

http://codex.wordpre...e/pre_get_posts

Go to the full post


  • Please log in to reply
4 replies to this topic

#1 Sourena

Sourena

    Advocate

  • Members

  • 563 posts
  • LocationWilliamstown, MA
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 04 April 2013 - 07:39 PM

I recently installed PostPins on a website and I am very happy with it. I was able to hide parts that I did not want to show up (meta, excerpt, ...).

 

It looks good but it still has a minor problem.  PostPins is set to infinite scrolling. It seems if the page is opened in a big monitor only 15 posts load and there is no way to load the rest of the posts unless one makes the page smaller so the scroll appears. 

 

Is there any way to increase the limit on the first load of posts from 15 to a higher number? Can it be something that one can control on the setting page?



#2 James B

James B

    Advocate

  • Moderators
  • 4985 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 04 April 2013 - 09:11 PM

Hi there,

 

In the site defaults (Pagelines>page options>site defaults) you can set the initial number of pins to load, the standard is 15 but you can enter a higher number.

 

Screenshot - http://screencast.com/t/cV4lSIgW



#3 Sourena

Sourena

    Advocate

  • Members

  • 563 posts
  • LocationWilliamstown, MA
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 13 April 2013 - 09:11 PM

Thanks! That fixed it.

 

Do you have any suggestion for excluding certain categories?



#4 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 13 April 2013 - 09:26 PM   Best Answer

Use the pre_get_posts wordpress filter.

 

 

http://codex.wordpre...e/pre_get_posts



#5 Sourena

Sourena

    Advocate

  • Members

  • 563 posts
  • LocationWilliamstown, MA
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 14 April 2013 - 02:58 AM

Thanks!







Also tagged with one or more of these keywords: PostPins