Jump to content
Audun MB

Different Category Templates With Pagelines? Anyone Who've Done This?

Recommended Posts

Audun MB+    16
Audun MB

It would have been really nice if one easily could create different templates for category pages, so that one could create special page layouts for some categories and have standard page layout for the rest. (Both for the category archive page and for posts in a certain category).

This would turn Wordpress into a full fledged CMS, which is what I need really. If one could control the layout with Pagelines drag-and-drop it would be awesome.

Have anyone done anything like this? Is there a guide or a thread in the forums on how to do it? I'm sure I'm not the first person to ask for it, but I'm not sure what terms to search for so instead I'm asking for your help finding the right threads.

(The best thing would be if someone made a plugin for Pagelines to do this, something which I'm quite sure it would be very popular.)

Just to clarify what I mean, if it is unclear, here's the case:

My website is for a non-profit political organisation, and we publish news about our issues. We would like to incorporate a "leaders blog" where she posts more blog-like posts (personal touch-things) on what she is doing, as well as a blog with contributions from our academic council. I want a different layout for these blog pages than from the regular news pages, to clearly separate them.

  • Like 1

Share this post


Link to post
Share on other sites
catrina    103
catrina

If you've already tried customizing the Category page using PageLines > Page Options, Drag & Drop, and custom CSS for further customization and you want to go beyond that, you may want to consider learning PHP for more specialized layouts. You can also hire a Pro to assist you since it's their expertise.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
Audun MB+    16
Audun MB

I'm fine with modifying the Category page in Drag-and-drop, I'd like to have more than one template for Category-pages to modify. Hiring a Pro may be a way, but I was wondering if someone already did this so that I could do it myself.

  • Like 1

Share this post


Link to post
Share on other sites
Rob    547
Rob

I created custom category pages then applied Special Recent Posts to pull the posts by category. This bypasses the Category template, and provides total customization. The category pages are then linked by menu.

  • Like 1

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Audun MB+    16
Audun MB

Robs option is one way to do it, but as it requires all category pages to be linked trough the menu, and it only solves half the issue, it's not ideal. I was looking at this plugin: Custom Single Post Templates Manager, which seems to do what I want.

As I gather from the documentation, I can use the Example page in Drag-and-drop to create a custom page template, then copy and rename that in my child theme. Is this correct?

If so, would there be any issues with using the above plugin to generate custom templates in the same way?

Share this post


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

I've heard of a couple of clients achieve this using the 'types and view's' plugins. http://wp-types.com/ check it out


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
beardedavenger    158
beardedavenger

I also just so happen to release AnyLoop, a super powered post loop that you can use to display posts from multiple categories, tags, authors, and even post types. It was built to address your specific request of wanting to display different posts from different categories with different layouts on different pages.

Demo

http://anyloopdemo.com

Store

http://pagelines.com/store/sections/anyloop/

Awesome!

Nick

  • Like 1

Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites
Audun MB+    16
Audun MB

James B / beardedavenger: Thanks for the tips, but it is unclear to me how either Wp-types or Anyloop solves this issue? Both seems to create new ways to use the loop and do a lot more than what I need. 

 

I don't want to create new post types or totally new views, I just want to apply templates to categories. None of the plugins I found works with Pagelines since Pagelines does a lot to the loop.

 

Could you eloborate on how to use either of the plugins to do what I want? Since I'm on a strict budget I can't spend money on plugins I won't use.

Share this post


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

Hi there, I've not actually used types and views myself. The client I was helping at the time was using it for a local authority site, she had pages appearing in the drag and drop as new templates, but even if you managed to set up a new category template I don't think it would add another category tab to the list in 'page options'. So you wouldn't be able to control any meta options for these new pages separately.


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
Audun MB+    16
Audun MB

Thanks James. 

 

Doesn't seem like the right solution for me then. 

 

BeardedAvenger?

Share this post


Link to post
Share on other sites
beardedavenger    158
beardedavenger

If you want the category page to have a different layout, you'll have to build the layout.


Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites
mrtripper    0
mrtripper

Hi everyone,

 

I have the same question and don't understand the last answer whe you say : "you have to do the layout"...does it mean we have to request help from a web specialist or agency. In which part of the code do we have to make the changes ?

Or do we have to understand ther's no way to get a page for the blog  and one or more special pages by category/ies ? In other terms is it impossible to have a menu made by widgets linked to special pages for each categories ?

 

thank you in advance for your contribution.

Boutons_categories.pdf

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Hi Mrtripper 

 

Please could you create a new post with your questions? You can link to this post but this post was last answered in December. Feel free to cut and paste the information put in your question. 

 

 

The reason as to why we ask users to create a new topic even if the issues are similar, is that most of the time, our users will either ask another question or the issues end up not being similar.

 

Now if we didn't do this, when other PageLines users are using the search function for answers to their issues, the topic that they think holds the answer to their issue actually ends up not even being related.

 

You can find our FAQ and documentation here:

 

http://support.pagelines.me/faq/


http://support.pagelines.me/docs/


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

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

    • 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
    • Jared Smith
      By Jared Smith+
      I haven't figured out how to get the "Sync Loaded Item" option in templates menu of Platform 5 to stay checked. It doesn't give me an option to save settings when I select it, and when I select it then click off the editor, it unselects. Also if I select it before loading a template, it doesn't stay checked there either.  Whats going on?
    • Queue-it
      By Queue-it+
      Hi,
      I created a Pagelines template for a "Post type" post. Whenever creating a new post page it firstly display that template post and I have to manually change it in the scope from "All of type posts " to "Current page". 
      Is there a way to fix that? 
       
       

    • richardjacruz
      By richardjacruz+
      I'm building a website in a dev environment at http://162.144.182.17/~uescocra.
      I want to import a bunch of products, and then have the products have a different template than the default template. 
      I also want to change the default template for blog posts.
      Before I go making changes, can I do this where the post type of "products" has its own global template, and the same with blog posts?
      For instance, in a product I might want to have a widget for categories, similar products, etc., and in the blog I may want list of the latest posts, blog categories, link to an email sign-up landing page, etc.
      Thanks.
      Rich
    • abuzzelli
      By abuzzelli+
      Is there a shortcode or a way to automatically pull the site name into the footer or elsewhere?
×