Osclass Support Forums

Osclass plugin support => Blog and News Plugin => Topic started by: Locan on June 24, 2018, 03:13:01 PM

Title: popular article image not show (solved)
Post by: Locan on June 24, 2018, 03:13:01 PM
i want to show popular article image but it not show and anyone help me ?
Title: Re: popular article image not show
Post by: MB Themes on June 24, 2018, 03:37:29 PM
You should check plugin functions how article images are retrieved. There is also helper file with most common functions.
Title: Re: popular article image not show
Post by: Locan on June 24, 2018, 05:20:11 PM
get categories color not work, can you help me

Code: [Select]
<hr style="background-image: linear-gradient(to right, #F1F1F1, <?php if($c['s_color'] <> '') { ?><?php echo $c['s_color']; ?><?php ?>, #F1F1F1);">
Title: Re: popular article image not show
Post by: MB Themes on June 24, 2018, 05:42:11 PM
Put whole block of code.
hr element is to draw line.
Title: Re: popular article image not show
Post by: Locan on June 25, 2018, 01:21:23 PM
  <?php foreach($categories as $c) { ?>
     
<hr style="background-image: linear-gradient(to right, #F1F1F1, <?php if($c['s_color'] <> '') { ?><?php echo $c['s_color']; ?><?php } ?>, #F1F1F1);">

 <?php } ?>

the border show all like picture