Hi Dear!

I want to get 5 or 10 articles  from every blog categories
to display in blog home page like
- get latest article 5 articles (all categories)
- get 10 articles  in categories car, motor,phone

base on this question we already have widget code in admin to display anywhere but don't know how to get articles from every categories.

Regard

*

MB Themes

Re: get 5 articles from every categories like widget for blog home page
« Reply #1 on: September 18, 2018, 06:18:40 PM »
We do not plan to deploy such feature.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: get 5 articles from every categories like widget for blog home page
« Reply #2 on: September 20, 2018, 11:50:38 AM »
i just i want to know or get categories id in this code
Quote
<?php
  if(!isset($type) || $type == '') {
    $type = 'blg-tp-' . (blg_param('widget_type') <> '' ? blg_param('widget_type') : 'list');
  } else {
    $type = 'blg-tp-' . $type;
  }

  $blogs = ModelBLG::newInstance()->getWidgetBlogs($type);
?>