• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

In Velocity theme, is there a way do display >5 category in header

General Discussion
2
4
605
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    AshJi last edited by 30 Jul 2020, 19:53

    Screenshot 2020-07-31 at 1.14.40 AM.png

    1 Reply Last reply Reply Quote 0
    • V
      Vaishali Agarwal last edited by 31 Jul 2020, 05:49

      @AshJi , you can easily set the limit from changing the value from this file https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Velocity/src/Repositories/ContentRepository.php#L143 in your project

      1 Reply Last reply Reply Quote 0
      • A
        AshJi last edited by 31 Jul 2020, 08:57

        Thanks I was able to make the change. It would be nice to expose it in the UI as a setting in Velocity > Header Content page. Hard coding a value in code should be avoided.

        1 Reply Last reply Reply Quote 0
        • V
          Vaishali Agarwal last edited by 31 Jul 2020, 09:59

          @AshJi Sure, thanks for the suggestion, we will implement this.

          1 Reply Last reply Reply Quote 0
          3 out of 4
          • First post
            3/4
            Last post