List of terms in alphabetical order under the respective initial letter and within columns

Let CSS handles the grid layout. For example with markup like this: <ul class=”term-list”> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> </ul> You can create that layout simply with this CSS: .term-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: 1rem; grid-gap: 1rem; } So just abandon the custom counter and each loop only append the <li>. … Read more

Order by two meta values – one is a number and the other is text

If the atsc_bod_listing_order meta is a number, then you should set the type argument to NUMERIC like so, so that the meta value is casted as a number which then gives you the correct numerical sorting: ‘listing_order’ => array( ‘key’ => ‘atsc_bod_listing_order’, ‘compare’ => ‘EXISTS’, ‘type’ => ‘NUMERIC’, ),

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)