Answer the question
In order to leave comments, you need to log in
List news in sidebar (wordpress)?
Hello everyone, I'm trying to display a list of news in the sidebar. I put a normal function with parameters:
get_posts(options)
Answer the question
In order to leave comments, you need to log in
You need a more detailed code, probably in your first loop the headers are entered into a variable, and then displayed, for example:
$title = the_title() ;
echo '<h2>'.$title.'</h2>';
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question