Jump to content

Archived

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

sethdrebitko

Conditional filtering

Recommended Posts

sethdrebitko    0
sethdrebitko

Hello I downloaded the filtering plugin and I have a few question about its use. 

Advanced Filtering

I'm creating an aggregator site with two main sections. The homepage will include hand picked content from the main feed dump. The second page will be a raw feed from all the normal sources I pull from. Content will be broken down into into format types:

  • Blogs
  • Vlogs
  • Podcasts

I want to be able to make it so that I can specify in separate filter sections to only let say blogs through. But the trick is I need it to filter also by Front Page and Raw Feed. So the front page blog section would display only blog posts and only if they are also in the front page category as well.

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

sethdrebitko If I am understanding correctly you should be able to do this with Filtering using the options to Exclude/Include categories and terms. So, on the Front page in Filtering Options put in Front Page for the category to include and change the select to Include like below.

 

DMS_Demo___Just_another_WordPress_site.p

 

That solves the front page. On to the Raw Feed...Are Podcasts and Vlogs a separate post type or categories? If they are categories then that page will be easy to setup. Just have it get all the categories, don't use the exclude/include options. If they are separate post types that is something Filtering doesn't do -- multiple post query -- that is a custom job.

 

Let me know how you have Blogs, Vlogs, and Podcasts setup.

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
sethdrebitko    0
sethdrebitko

Sorry for the confusion, I poorly explained my situation. Basically,the Front Page and Pulse categories were just designed as a way to filter information. Each of the two pages would contain post from the Vlog, Blog, and Podcast category each in separate filter sections; so I couldn't just say Front Page. Essentially I would need it to post only blog posts to one of the sections, and only if the front page category was also assigned.

 

I think I thought of a fairly clunky (but workable) work around. Based on fiddling around I think I am going to have to actually create two sub categories for every single category and sub category as follows:

 

Blog Posts

-Front Page Blog Posts <-- Added to Front Page to get just the front page blog posts to show in that section.

-Pulse Blog Posts <-- Added to The Pulse to get just the The Pulse blog posts to show in that section.

-Game Advice <--This is an actual sub category for Blog Posts.

--Front Page Game Advice <-- This is a subcategory of the Blog Post categories sub category so I can get the right posts to show up on the correct page.

--The Pulse Game Advice <-- This is a subcategory of the Blog Post categories sub category so I can get the right posts to show up on the correct page.

 

As you can see that work around is fairly inefficient and will quickly become a nightmare.

 

What I want is to be able to have the following:

 

Blog Posts

-Game Advice

Front Page

The Pulse

 

Then all I would need to do is put the actual content category and then the "status" category instead of maintaining a million categories.

 

Since I haven't started importing data in yet I am good to go with changing things around, but once I switch on the feeds it will be a nightmare to make changes to things.

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

sethdrebitko Filtering at this point is not set up to have 2 filtering sections on a page. With that said I am reworking Filtering -- tightening up code and queries, and I am looking at providing that function.

 

As for the category setup I see your point. Filtering won't handle that setup because the query would be that it is in both the Blog and the Front Page category to show on front page. That would be a custom query.

 

Let me look at what it would take to adjust the query and get back to you.


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites

  • Similar Content

    • Josiah Jones
      By Josiah Jones
      Hi,
      I'm currently using the Filtering plugin on a website that is not yet live (http://www.RetroLeaders.com/ - currently hidden by a "Coming Soon" plugin) however after updating to the most recent version of Wordpress and DMS the Filtering plugin has stopped working and is causing DMS to display the never ending load icon.
      Inspecting the code for errors I see the following problems:
      . jquery.isotope.min.js?ver=1.7.4:11 Uncaught TypeError: Cannot read property 'opera' of undefined (anonymous function) @ jquery.isotope.min.js?ver=1.7.4:11 (anonymous function) @ jquery.isotope.min.js?ver=1.7.4:11 (index):66 Uncaught TypeError: mycontainer.isotope is not a function (anonymous function) @ (index):66 jQuery.Callbacks.fire @ jquery.js?ver=1.11.2:3143 jQuery.Callbacks.self.fireWith @ jquery.js?ver=1.11.2:3255 jQuery.extend.ready @ jquery.js?ver=1.11.2:3467 completed @ jquery.js?ver=1.11.2:3498
        Can you please check if everything is working properly and provide an update if necessary? The filtering function is a crucial part of my web design and we cannot go live without it!
      Please let me know what you find.
      Best,
      - Josiah 
    • evscicats
      By evscicats
      Ellen,
       
      What version number is the latest for the Filtering section?  I have version 1.6 and hope that I'm up-to-date.  If there's a new version, how do I get the latest update and do I have to pay again?
       
      Thanks,
       
      Jerrad
    • jujutanada@gmail.com
      By jujutanada@gmail.com
      Hi, I found out that if I go to the archive of a tag e.g. http://mysite/?tag=lotd , it doesn't work. It doesn't show the correct posts tagged with lotd, --but it works for categories. It only works when I use WP Content. How do I display this using Postpins?
      And is it possible to create a different archive page for only a particular category?
       
    • jujutanada@gmail.com
      By jujutanada@gmail.com
      Hi, I found out that if I go to the archive of a tag e.g. http://mysite/?tag=lotd , it doesn't work. It doesn't show the correct posts tagged with lotd, --but it works for categories. It only works when I use WP Content. How do I display this using Postpins?
      And is it possible to create a different archive page for only a particular category?
       
    • aldisney
      By aldisney+
      Hello, PageLines!
      I have a problem I'm running into with trying to get a featured image (in a WP loop) to display as a circle. I'm using the filtering plugin, too. Here's the image I'm trying to show displayed as a circle:
      [sharedmedia=core:attachments:2460]   I've tried adding:   .filtering-image center {   border-radius: 50%;  }  
      I think I just have the wrong tag, but I can't seem to figure it out. Anyone have any ideas?
×