Answered: How to display the answer numbers in a question?

Post date: 2020-11-24 07:00:33
Views: 117

In your theme, override the a_list_items function to get the array index from each item. Something like this:

public function a_list_items($a_items)
{
  foreach ($a_items as $num => $a_item) {
    $this->output('<p>' . $num + 1 . '</p>');
    $this->a_list_item($a_item);
  }
}

Please click Here to read the full story.
 
Other Top and Latest Questions:
Graphic novels for 13 year old girl
TurboTax for contractor and non-contractor work in the USA
I'd like to book my trip please...
Movie: Knox Goes Away
Personal tool tracking library
FEUD: Hats, Gloves and Effete Homosexuals
Multiculturalism in Slovakia c. 1900: Melting Pot or Salad Bowl?
Sell all my stuff in NYC?
Dog personality changes on prednisone
Best place to stay between Tampa and Wilmington NC?