Yield
-
I wanted to use section and yield unfortunately it’s not working when @wppost or @wpquery is used in the sections. It injects some of the section content to the top of the <html>. Do you have a solution for that?
@section('main') <section role="main"> @wpquery($query_args) content @wpempty no content @wpend </section> @endsection
- The topic ‘Yield’ is closed to new replies.