Jump to content
Jean-Philippe

Postpin Section And Categories

Recommended Posts

Jean-Philippe    2
Jean-Philippe

Hi,

I updated this section and now my different categories pages display all posts, not only the posts assigned to a specific category (as before).

Could you please fix it?

 

My website : Photoreview

 

Thank you in advance for your answer.

Jean-Philippe


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

Were you using the modded version, as I don't think this was part of the normal features?


Please search our forums, before posting!

Share this post


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

I remember that once someone (Simon?) from Pagelines told me to paste some lines of code into a file. It was a long time ago, when this section was launched. I'm not really sure but I think these features were implemented to the standard version. Am I wrong?


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites
Simon    247
Simon

Can you test this version? 

 

Includes auto categories and tags ( if in the template areas )

 

Includes thumbnail fixes

 

Includes excerpts ( if available ) if not uses post content.

 

http://paste.pagelines.com/2aw

Share this post


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

Thank you for your answer Simon!

 

Both auto Categories and Tags are OK < May I ask to add auto Search and Author pages too?

WP excerpts are OK too (I just added .hellip {display: none} to my CSS sheet).

 

Could you please confirm these features are included in the standard Postpin section version?


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites
Simon    247
Simon

Did you add an excerpt?

 

See the code:

 

 

( $p->post_excerpt ) ? custom_trim_excerpt($p->post_excerpt, 25) : custom_trim_excerpt($p->post_content, 25), 

translates to if post_excerpt is not empty, use it, if not use post_content.

 

You have to enable the except box in screen options to add text.

Share this post


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

Auto categories, auto tags, auto authors are OK.

WP excerpts are OK too (except I can't remember how to change the length but I will find!) > Edit : Ok, I found the values to modify in the php file.

 

I put Postpin section into the Search template but it seems it doesn't work. Did I do something wrong?

 

Thank you so much Simon for these improvements I was hoping so much!


www.photoreview.fr | www.kankei.fr

Share this post


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

Sorry, another request: may I ask to add the author name on pins?


www.photoreview.fr | www.kankei.fr

Share this post


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

Please note that Relevanssi plugin is not compatible with Postpin "special" code Simon gave above [http://paste.pagelines.com/1lj].


www.photoreview.fr | www.kankei.fr

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

    • Queue-it
      By Queue-it+
      Hi,
      Previous webmaster has made short codes assigned to certain categories. For example: [pl_section section="loops" id="003"]  displays all the Job posts for tech. 
      But where can I assign a short code for a certain category? I can't find where to add the loop ID for the category.
       
      Thank you
       
    • Queue-it
      By Queue-it+
      I've created a new post category "Success stories" with Custom Post type UI. (in order to have a different layout for a different post category - blog post one layout, success stories another layout).
      New category "success stories" are "detached" from all the other posts, so they have a different layout, but the problem is that all of the success stories are also having the same exact content.
      So whenever I edit content (e.g. change body text) on one of success story posts, it also changes the content (body text) for all other Success story category posts. 
       
      Question: Is there a way to retain this separate category with it's own layout, and have a different content for each individual post? I'm using Pagelins templates. 
       Thanks in advance.
    • Queue-it
      By Queue-it+
      Hi,
      Is is possible to have different layouts for different Post categories? We have Blog posts, News posts and Case studies that all are posts, but is it possible to differentiate their layouts?
      So far when I change a post layout it affects all Post type pages. Could it be done somehow with creating a separate template? 
      Examples below
      https://queue-it.com/news/
      https://queue-it.com/blog/
       
    • mzhafzah
      By mzhafzah
      Hello
      I am using DMS 2 theme and I want to create a 2 different links on my website; each link should take you to a different blog post category. Although the process is easy, yet I can not figure out how to give each category page a unique design of its own; Any change I make on any page is applied to the other (I'm aware of the universal elements like the header and footer and I a am not talking about these.)
      Since I am new to wordpress in general, I am not sure if my description is sufficient; apologies if it is not.
      TycoonJé
    • jammersam
      By jammersam+
      Hi there,
       
      Having difficulty editing something on a site I'm working on.  In previous Pagelines versions, clicking a post category allowed one to see all of the posts in that category.  In the postloop for DMS, it seems I can only show max ten.  I'd like for any category (except the main blog page, which should remain in magazine mode with 10 max) to show its maximum content - any explanation on how I can do that?
       
      Thanks very much.
×