*

StefanGr

  • ***
  • 51 posts
Display specific items on Premium on first page on Delta css
« on: January 14, 2022, 09:35:44 PM »
Hello,
I am kind of new to php, and we recently purchased the Delta theme.

I want to be able to set specific categories to be displayed on Premium and Normal listing on the home page.
As i saw around the whole deal to show items is in this while loop :
< ? php while ( osc_has_premiums () ) { ?>
 for premium and
< ? php if ( osc_count_latest_items () > 0) { ?> for normal listing.

Searching around, i saw in that to query only specific categories to be displayed, for example only "autoturisme" category, i must use
< ? php osc_query_item (array (
    "category_name"  => "autoturisme" ) );
   while (osc_has_custom_items( )  )  {  ?>

Well . im a bit lost now, as i am able to display them as needed, but not display them in the theme CSS, here is the part where im lost.
« Last Edit: January 15, 2022, 10:01:10 AM by StefanGr »
;) nothing here, move on.

*

MB Themes

Re: Display specific items on Premium on first page on Delta css
« Reply #1 on: January 17, 2022, 11:49:12 AM »
@StefanGr
For premiums & latest you will need to write your new queries. These functions does not have such configuration options those would allow you to exclude/include categories there.
Some settings may be in theme configuration as well.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

StefanGr

  • ***
  • 51 posts
Re: Display specific items on Premium on first page on Delta css
« Reply #2 on: January 17, 2022, 08:38:06 PM »
Ty. allready contected support and made queries for payed custom code.
;) nothing here, move on.

*

MB Themes

Re: Display specific items on Premium on first page on Delta css
« Reply #3 on: January 18, 2022, 10:29:22 AM »
@StefanGr
:o I got a pro  8)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots