Jump to content

Archived

This topic is now archived and is closed to further replies.

hrachovec

Putting the Blog layout on a Category page

Recommended Posts

hrachovec    0
hrachovec

Hello:

 

Would anyone know how to achieve the Blog layout (2 large stories at top, smaller headlines for older posts below) for a Categories page?

 

I've searched through the Templates for both and can't see a difference or how to specify a layout style on Categories. 

 

By the way of illustration, this is the page layout I have which I like:

 

http://testing002.compoundeyedesign.com/blog/

 

.. and I want to impose it on this Category page:

 

http://testing002.compoundeyedesign.com/category/links/

 

Any help would be welcome. 

 

Kind regards, Russell

 

Share this post


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

Hi,

 

Add the following code to your child themes or customize plugins functions.php file:

 

add_filter( 'pagelines_full_width_archives', 'my_do_full_width_archives' );
function my_do_full_width_archives() {
    
    if ( is_category() )
        return true;
}

 

By adding the code, your category pages will use the same layout as you Blog page.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
hrachovec    0
hrachovec

Hi Danny:

 

Thanks for your reply on my question (and apologies for my slow response). Just one more question. If I want to remove the Blog page formatting where it makes older posts smaller in size than newer posts, how do I do this? In other words, I want all Blog entries have headlines of the same size and snippet text of the same size. 

 

Thanks, Russell

Share this post


Link to post
Share on other sites
hrachovec    0
hrachovec

Hi Danny:

 

Please disregard my last question. I figured I could solve my problem by going into the Base Theme Global Settings. 

 

Thanks anyhow. 

 

Kind regards, Russell

Share this post


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

No problem and thanks for informing us the issue has been resolved.


Please search our forums, before posting!

Share this post


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

In DMS you can choose to display either magazine or list layout. If you choose magazine there's an option to choose how many posts display full width at the top in the postloop section options.


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
flourishdesignstudio    9
flourishdesignstudio

Danny, It looks like you solved this and I am excited to try your solution! However, if I am using DMS and not a child theme is there a way that I can add the code without editing the core DMS files? You mentioned a customize plugin but after searching through the store I am not sure what you are referencing. 

 

Can you explain further or provide a link?

 

Thanks!!

Share this post


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

Hi there, you can download the customize plugin from https://www.dropbox.com/s/muyy8k5xcjvbvlo/Framework-included-content.zip this is the free PageLines Framework plugins, but the customize plugin zip is inside and still works with DMS. Please note the other plugins/sections in that zip file wont work with DMS.


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

  • Similar Content

    • JP
      By JP+
      Hello,
      We are working on a 2 languages site (https://liguecardioliga.be) with wpml, and lately the call of a category in the loops section (and all the sections requiring a category to select posts) doesn't work in the translated language. It worked well until recently so I wonder if it's because of a recent update (wordpress, wpml, pagelines, a plugin?). Anyone has the same problem? a solution?
      TIA
    • 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+
      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/
       
    • 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.
      Lorna
    • BentleyD
      By BentleyD+
      Hi Everyone,
       
      I am having issues with being able to post to my blog with platform 5. Currently when i click publish, it just shows the homepage of MoonBodySoul.com. That is until i open the page editor and change the scope from "All of type: Posts" to "Current Page Only". Then I have to re-insert the menu header as well. This seems like a really dumb process. In past versions of pagelines, I could just post a blog and the menu would be there and there would be no formatting issues. What can I do to fix this?
      MoonBodySoul.com
       
×