Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Custom Text Between Items in List at x position

+1 vote
68 views
asked Feb 13 in Q2A Core by Suresh
Hi, I am looking for a solution to add some text after some no. of list items like after 5 items. I was to make a counter with in this function

public function q_list_item( $q_item )
        {
            $this->output( '<div class="qa-q-list-item row' . rtrim( ' ' . @$q_item['classes'] ) . '" ' . @$q_item['tags'] . '>' );
            $this->q_item_stats( $q_item );
            $this->q_item_main( $q_item );
            $this->q_item_clear();
            $this->output( '</div> <!-- END qa-q-list-item -->', '' );
        }

But could not solve. Please help
Q2A version: 1.6.3

Please log in or register to answer this question.

...