Post Pins Content Excerpt and Hyperlinks

5 posts in this topic

Hi, just purchased the Postpins plugin. Thanks for the great work.

Is there a way to hyperlink a text in the excerpt? Or maybe have an option to show all content rather than just excerpt, so that links can be created in the excerpt.


I would like to add a button with Pagelines shortcode, but somehow Postpins does not pick it up, maybe because it's not programmed to allow links in the excerpt.


Please help, thank you!

Share this post

Link to post
Share on other sites

To add on to my above post, would it be possible to allow html markups too? Now there is this restriction and I can't style my text into a button for example. Hope you can help, thanks!

Share this post

Link to post
Share on other sites



PostPins doesn't use the excerpt and it wil not display HTML markup either so unfortunately, its not currently possible. You could contact one of our Pros and see if they make these alterations for you.

Share this post

Link to post
Share on other sites

Thanks Danny, I've resolved it by editing line 182 of the section.php file of Postpins.

From this:

custom_trim_excerpt($p->post_content, 20),

to this:


Share this post

Link to post
Share on other sites

OK happy to hear you have resolved the issue. However, please bear in mind that we do not recommend edits to the core files nor do we provide support.

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

    • PostPins Not Spacing Properly
      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 ( The mis-stacked section is shown in the attached image. 

    • PostPins Section - feature request
      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!
    • PostPins PHP notice
      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()
    • Custom CSS to aling PostPins left
      By roryorr
      Hi guys, need some help aligning PostPins left using CSS?
    • Shortcodes for metainfo in postpins DMS
      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