Jump to content
loraxio

Use post excerpt instead of first 25 words

Recommended Posts

loraxio    1
loraxio

I really think there should be an option to choose the post excerpt OR the first 25 words.  It makes way more sense to have post excerpt be the default.

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, this has been made as a suggestion for a future update previously, so its something which could be added in the future.

 

At the moment the only way I'm aware you can edit the number of words available would be to copy the postpins section folder and make any modifications to the code, then place it inside your child theme as a new section.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Jean-Philippe    2
Jean-Philippe

@Ioraxio : look at this topic.


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

You may not be aware that the number of words in PostPins is controlled specifically by PostPins, no matter the source of the excerpts.  Even if the text is from a manual excerpt, it will still be limited to 25 words.  The source of the excerpt really doesn't matter as 25 words is fixed within PostPins' code.

 

To modify the section to accommodate a larger number of words, you'd need to engage one of our Pros.

 

An increased number of words in PostPin excerpts really doesn't help the look and quality of the postpins. Too much text defeats the purpose of the PostPins serving as a teaser to get visitors interested in the full article.

 

If you're looking for some way to display blocks of posts with longer excerpts, there are other ways of doing this, using plugins. Let us know and we'll be happy to guide you.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Jean-Philippe    2
Jean-Philippe

@Loraxio: just use this code and go to line #187 and change the value.


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites
James B    436
James B

Thanks Jean-Phillippe :-)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

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


  • Similar Content

    • Jennifer Conway
      By Jennifer Conway+
      I recently installed PostPins and it was working great until I accidentally deleted the section. When I added the section back onto the page (without changing a thing), the posts were separated by a significant gap. I tried removing my custom CSS, reinstalling the plugin, deactivating other plugins, refreshing the cache -- but nothing seems to work. Unfortunately, I was also unable to revert to the published site (although I had not published the the new layout). 
      The section is currently working on the published site (insatiablecuriosities.com). The mis-stacked section is shown in the attached image. 

    • Janardan
      By Janardan+
      I want to know - how to load POSTS/ARTICLES from SUBDOMAIN of same main domain to homepage sidebar of main domain with the help of PostPins section adding in right side of sidebar .. but, there are no option to load posts from sub domains posted articles? or can we add custom links? to this PostPins section to display articles/posts from subdomain to show on main domain right side sidebar area?
      Because; main domain have posts overused I want to display from sub domain post LINKS to sidebar with the PostPins section help.
      I hope you got my question.. Thanks!
    • MrFent
      By MrFent+
      When PostPins is active on a page, I get PHP warnings:
      Notice: Undefined property: PostPins::$icon in /www/wp-content/plugins/postpins/postpins.php on line 318 Notice: register_metatab is deprecated since version 1.2 of PageLines DMS! Use section_opts() instead. in /www/wp-content/themes/dms/dms/includes/deprecated.php on line 280
      It looks like PostPins is still using section_optionator() and should be using section_opts()
    • roryorr
      By roryorr+
      Hi guys, need some help aligning PostPins left using CSS?
      http://www.cabaritaoceanhealthretreat.com.au/specialised-retreats/
      Cheers!
      Rory
    • petere21
      By petere21+
      I want to change meta info in postpins blog Editor offers me to do it with shortcodes: 
      Use shortcodes to customize the meta information for these pins.
      But I ma not able to set it by right way
      for example if I want to chande meta to show tags what is the right syntax? 
      [the_tags] doesnt work
×