How to add some content between
-
Hi,
I’m trying to add <div> between ul list but don’t know how.
This code do nothing:add_filter( 'BeRocket_AAPF_template_full_content', 'some_custom_berocket_aapf_template_full_contenteee', 4000, 3 ); function some_custom_berocket_aapf_template_full_contenteee( $template_content, $terms, $berocket_query_var_title ) { if ( $berocket_query_var_title['new_template'] == 'checkbox' ) { $template_content['template']['content']['filter']['content']['list'] = berocket_insert_to_array( $template_content['template']['content']['filter']['content']['list'], 'content', array( 'custom_content' => '<div id="top-filter" class="top-product-filter selected"> </div>' ), true ); } return $template_content; }
output should be like:
<ul> <li> <li> <div></div> </ul>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to add some content between’ is closed to new replies.