Jump to content


Photo
- - - - -

How can I make a Custom Post Type list posts in Magazine Layout Mode?


  • Please log in to reply
7 replies to this topic

#1 joshkent

joshkent

    Member

  • Members

  • 18 posts
  • Country: Country Flag

Posted 02 March 2012 - 04:49 PM

I am hoping to make a Custom Post Type list view to layout in "Magazine Layout Mode" which is different from the rest of my site (which is in Blog Layout Mode). Is there an add_filter that I can use in the functions.php file to make this happen. Or another approach?

This is as far as I got with the add_filter approach (limited experience with php):

Please Login or Register to see this Hidden Content



Thank you in advance.

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 March 2012 - 05:00 PM

Have you seen this documentation on Custom Post Types?:

Please Login or Register to see this Hidden Content



#3 joshkent

joshkent

    Member

  • Members

  • 18 posts
  • Country: Country Flag

Posted 02 March 2012 - 05:16 PM

I am not sure how that link would help? I have had no problems setting up custom post types. To clarify, my challenge is how to change the pagelines Layout Mode setting for my custom post type to "Magazine Layout Mode" when the rest of my site needs to remain in "Blog Layout Mode." My best solution was to add a filter, but got stuck. see above. thanks

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 March 2012 - 05:39 PM

Will Magazine Layout Mode be on the index/home page while the rest of the site remains in Blog Layout Mode or the other way around?

#5 joshkent

joshkent

    Member

  • Members

  • 18 posts
  • Country: Country Flag

Posted 02 March 2012 - 06:22 PM

Blog Layout Mode is used for the blog home page and all blog categories and tags. I am trying to make the custom post type I created, "projects", show up in Magazine Layout Mode. I would show you my site if I could to clarify more... but it is hosted locally.

#6 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 02 March 2012 - 06:23 PM

Control for custom post types will be included in a future release.

#7 joshkent

joshkent

    Member

  • Members

  • 18 posts
  • Country: Country Flag

Posted 02 March 2012 - 06:33 PM

Thanks Simon. Glad to hear! In the mean time (assuming the update isn't in the next week or so) is there any chance someone can help me with the filter function I started above (assuming this is an option)?

#8 joshkent

joshkent

    Member

  • Members

  • 18 posts
  • Country: Country Flag

Posted 02 March 2012 - 07:19 PM

Figured out way to accomplish goals for time being using css. Looking forward to greater control for custom posts. Thanks all.