I need help figuring this out. I need to display different posts and pages in a loop but I am having challenges nesting them. I am not sure that’s the right word to Use but I am pasting my code below for any assistance and I will indicate where I want the first content to stop and how I where the second content goes.
Please note that the content is under one List Item (li). I just want it to have different categories to show different content. I would be glad if someone helps out.
Thanks in Advance
This is the beginning of the entire code to display content and the loop begins here.
First content begins here
‘)”
data-imagefill-alt=””>
name . ” “;
}
}
?>
” target=”_blank”>
First Content ends here. It is a different category
Related Content begins here and Its where i want to put another category of Tag content
name . ” “;
}
}
?>
-
I need two items in this li as shown below
- ” href=”” target=”_blank”>
- ” href=”” target=”_blank”>
This is the end of the entire code to display content and the loop ends here.
I tried Using multiple loops but all of them require extensive repetition and they still don’t work
Senkya Andy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.