Jump to content
zcademy

Feature Sets on Autogenerated Pages

Recommended Posts

zcademy    0
zcademy

I have an "is this possible" question.

 

First, the tech stuff. I'm using PageLines 2.4.4, and will switch to DMS when it's available. My clients site is hidden behind a Coming Soon page, but I don't think you need to see the site. I'm pretty good with html and css, can do "cut and paste" php, and am poor at javascript.

 

Background: My client hired me to build an online catalog. Products for sale will each have a blog post, with one of a couple dozen categories.  My client wants a "slideshow" of photos of products in that category on the autogenerated product list page (the Blog template). The list of "Living Room" products should have a different slideshow than the "Kitchen" list, etc. These photos will not be the featured images on posts, but other images that will only be in the "slideshow".

 

I would like to use Feature Sets for the photos, with a different set for each category. This will make it easy for my client to add/change the photos. I'm willing to use a different system of displaying images, if that works better.

 

My Question: is it possible for the autogenerated Blog template to use different Feature Sets based on the Category used for the Blog posts?

 

Example: A customer selects "Living Room" to see the autogenerated list of products for the living room, AND a slideshow of photos of living room stuff. The customeer then selects "Kitchen" and sees the autogenerated list of kitchen products AND the slideshow contains kitchen photos.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

Actually, the blog template isn't the one you need to worry about.

 

You can create a static page for the category, and include the features on the template (like Template 1).  You can add other things to the page, such as PostPins, or, if you wish, to pull blog posts, you can add something like AnyLoop (our Store) or Special Recent Posts (Wordpress.org).

 

You create a feature set for each category, pulling slides from post featured images (thumbnails). Keep in mind, the description will be the manual excerpt field in the product post page. 

 

Then, on your custom category page, just use Template 1 (the one you added the Features to), and go to PageLines Meta Settings.  Select the corresponding Feature Set and you'll have an automated slider for each category.  Below it, you can have anything you wish, based on the template created.

 

If this doesn't make sense, let me know. It's actually really easy to do, but harder to explain.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
zcademy    0
zcademy
I am a bit confused.

Let me see if I understand:

- I need to make one static page for each category (meaning my client can't add new categories by herself). The category listing pages will no longer be auto-generated; all links will point to the correct static page.

- The static Category pages get their own page template. On that template, I can include a plugin or section that will pull all blog posts in the static page's category.

- I can set up the static category page with any feature set I'd like (I know how to do this). Note: I *won't* be using post thumbnails, but "product in use" photos from my client.

This sounds good, except if my client wants 88 gazillion categories, sub-categories, sub-sub-categories .... hmm ... maybe I can use this to limit her and keep the design sensible!

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

Apologies for the delay getting back to you.

 

If your client is using 88 gazillion categories etc, as you suggest,  then yes, you'd be in a pickle, and so would they. The organizational skills required to handle all those categories is monumental.  I know, personally, having a large food site with over 250,000 posts and hundreds of cats and sub-cats.   Unfortunately, the way our Framework system works, at present, when going to Dashboard > PageLines > Page Options, selecting Category Page > Features you only have one option for selecting a feature set. And while this can be done by setting the slides to source from 'a' category, it cannot have a different set for each category.   This is why I recommended the method of individual static pages.

 

I hope you can convince your client.

 

 

I need to make one static page for each category (meaning my client can't add new categories by herself). The category listing pages will no longer be auto-generated; all links will point to the correct static page.

Actually, your client can create new categories, but must also create a static page to go with it, using the template you've created for it.  The actual category listing pages will still be auto-generated, and will still be accessible.


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


  • 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
    • 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é
    • morrisjohnc
      By morrisjohnc
      Hello,
       
      My blog has two separate types of post content, both of which need to be created as posts, not pages, in WP.
       
      On the category pages, Bespoke pulls the featured image and the 10 word excerpt (or whatever is provided for in the excerpts post field).  How can I get certain categories to show the full content of a post and others this standard format with the "read more" button?
       
      Question 2 - Is it possible to have different templates for different category listing pages?  Example, use the postloop for one category and the masonic gallery for another?
       
      Thank you in advance for your help!
    • aldisney
      By aldisney+
      Hi--
      I was wondering if there was a relatively easy to way automatically assign a thumbnail to a post category when displaying posts in the Masonic Gallery format, when the post doesn't have a featured image? I've got a client with a ton of posts that just won't have any featured images, but each category has a header image. I'd like to display the header image as the thumbnail for all these posts, since, going forward, my client does actually plan to use featured images.
       
      Thanks!
    • bartoncollege
      By bartoncollege
      I'm having difficulty getting a list of posts on a landing page.  I would like to achieve something like the Posts widget, but I need to be able to specify categories, include excerpts, and display the post dates.  I've tried using the Column section and adding the [display-posts] shortcode, but this shortcode doesn't get processed.  Only the shortcode text shows up.  Am I missing something?
       
      Thanks.
×