Jump to content


Photo
- - - - -

Feature slider issue


  • Please log in to reply
8 replies to this topic

#1 yassine

yassine

    Member

  • Members
  • PipPip
  • 18 posts

Posted 16 May 2011 - 11:58 PM

Hi all!
I was setting up the features slider and I have an issue: It works when I set the feature post source to feature posts but does not work when I set it to Use post category ( I also put the name of the category in post category id). The slider only shows : No feature posts matched this pages criteria. I have spent the day on this and can't figure out how to fix...
Thanks for your help ;)

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 17 May 2011 - 02:52 AM

Have you double checked to make sure you're using the correct post category ID? You're only allowed to use the ID numbers, not the post category slug names.

#3 yassine

yassine

    Member

  • Members
  • PipPip
  • 18 posts

Posted 17 May 2011 - 02:15 PM

I have tried with numbers. I don't know how to get those ID numbers but I only have 3 categories and I have tried 1, 2 & 3...

#4 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 17 May 2011 - 03:42 PM

Hi Bruce, I know this is an "obvious" question, but I have to ask: do you have posts assigned to the categories you're trying?

#5 yassine

yassine

    Member

  • Members
  • PipPip
  • 18 posts

Posted 17 May 2011 - 04:12 PM

Hi Kate, Yes I do have posts assigned to that category. Do you know how to find the category's ID? Maybe that I am not using the right IDs... By the way the carrousel works great and so does the feature slider when using 'feature posts'...

#6 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 17 May 2011 - 04:39 PM

Please see this post:

Please Login or Register to see this Hidden Content



#7 yassine

yassine

    Member

  • Members
  • PipPip
  • 18 posts

Posted 17 May 2011 - 04:55 PM

So it appears it is a Platform Pro bug:

Simon : Open sections/??‹features/??‹section.features.php

Line 311 change $query['post_type'] = 'posts';

into:

$query['post_type'] = 'post';

Fixed in later releases.


How do I open sections/??‹features/??‹section.features.php?

#8 yassine

yassine

    Member

  • Members
  • PipPip
  • 18 posts

Posted 17 May 2011 - 06:35 PM

Anybody knows where to go to paste the above fix?

#9 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 17 May 2011 - 09:19 PM

You will need a FTP client to get to that directory as the theme editor won't show it to you.