Jump to content
Sign in to follow this  

Magazine Layout on Select Pages Only

Recommended Posts


Is there are a way within the Framework to limit the types of pages that the Magazine Layout displays? For example, I would like the Magazine Layout to appear on the Blog and Category Pages, but show the Blog Layout Mode (only full-width post excerpts) on Search Results and Archive Pages.


Can this be done using a hook, or at all?



Share this post

Link to post
Share on other sites

The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 


Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post

Link to post
Share on other sites

Strange. After looking at the thread and trying this solution, it didn't work. Perhaps there is something specific about this approach that is causing it to fail. Here is some more detail:

  • I'm running Pagelines Framework 2.4.2.
  • My current Blog Post Layout Mode is set to Magazine Layout Mode
  • The number of Full Width Posts I've selected is 0 (This is by design. I want my home page to only use Magazine-style clips.)

The ultimate goal is to use only Magazine-style Clips on the home page and Category pages, but for Author, Archive and Search Results pages use Full-Width posts.


Any other ideas?

Share this post

Link to post
Share on other sites
James B

Hi Evanders,


Check out - http://www.pagelines.com/store/sections/anyloop/ this might be an easier option than using code. You can put the section directly into the template and choose the required layout mode. If you're interested you can check any questions you have on the product with the developer on the link above in the comments box.

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

I tried AnyLoop. It was a good suggestion, but didn't get me very far. It features a handful of very specific styles of posts in a loop. I would have to do more work to reverse engineer a plugin I paid $20.00 for than find a more simple solution to this problem.


There has got to be a way for me to limit Magazine layout mode to certain types of pages. It just doesn't make sense to use magazine style clips in search results, archives and on the author pages.


Any other thoughts?

Share this post

Link to post
Share on other sites

Hi Evanders,


There is a plugin called Special Recent Posts.  It's free, though there is a premium version. You'll find the free version here: http://wordpress.org/extend/plugins/special-recent-posts/


Special Recent Posts (SRP) uses a shortcode which you can easily customize to place the most recent posts on a page. That said, you can place the shortcode within boxes or the Grid System, allowing you to have two columns (like Magazine Mode) as you wish.  Luckily, the developer smartly placed each element of SRP in its own div/class so that you can size, position, align things just as you desire using CSS. The effect is to give you magazine mode layout where you want it, without having to reengineer anything.


The shortcode's effects - displaying a list of X number of posts, fills whatever container it is set into.  Thus if you use it directly on a page, it will be full width for the content area.  However, if you were to place the code, as I said, within a grid element, and that grid had two columns, you would see the code in one of the two columns.  To see it in the second, just repeat the shortcode, and adjust it in the second column.  The shortcode has an option for offset. 


By that I mean that you can show 5 posts (any number) in the left column, then in the right column, offset that shortcode by 5, so it appears continuous.


Here's an example of the shortcode:

[srp display_thumbnail='yes' post_content_type='excerpt' post_content_length='50' post_content_length_mode='words' category_include='7' category_title='no' string_break_link='yes' thumbnail_width='200' thumbnail_height='200' post_status='publish' post_limit='1' post_title_length_mode='fulltitle' widget_title_hide='yes']

I hope this helps.

Former PageLines Moderator, Food Expert and Raconteur

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

Sign in to follow this  

  • Similar Content

    • Erika
      By Erika
      My sidebar is now showing up below the content, but only on the homepage. 
      I've tried disabling plug-ins individually, checking column width, and <div> tag errors on the page as well as in individual posts that are displayed on my homepage. I don't know exactly when this issue arose, so I don't know what else to try! 
      Here's the page link:
    • Anthony King
      By Anthony King+
      I have to say that I like the Layout and the Template based sections. Some of them are really impressive.
      One of the things that I would like to request though is the possibility of being able to dynamically rearrange the layout.
      An example of what I am talking about is take the Agency Section. It's current layout starts with the
      Splash Module then the Portfolio Module then the Service Module and so on and so forth.
      What would be great is if we were able to move these modules around. I.e have the Service Module first
      then maybe the Splash, and then the portfolio.
    • Queue-it
      By Queue-it+
      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
    • huskers2011
      By huskers2011+
      Although my layout in edit view is correct, when I look at the page the layout is wrong. I have moved the sections around and the layout remains the same when I view it. Im using 
       PageLines Platform 5 - v5.0.162 running a Pageline theme &  Wordpress version 4.6.1
      The page is http://kwamedawes.com/speak-from-here-to-there-the-dialogue/ the section order is incorrect. and
      http://kwamedawes.com/speak-from-here-to-there-the-poems/ top section is laid out like the bottom section, but displays as shown.
      Thanks for any help.
    • mrhinsh
      By mrhinsh+
       When I add a Magazine layout it only shows text based comments and does not render my configured Disqus plugin.
      Can we add the same "comment panel" support to Magazine as "content" uses or am I missing something?