Answer the question
In order to leave comments, you need to log in
WordPress - how to get data from database?
The simplest task.
In the widget, WP placed a search field:
<form method="get" id="searchform" action="">
<input type="text" name="destination" id="destination" value="" />
<input type="submit" id="searchsubmit" value="GO" />
</form>
Answer the question
In order to leave comments, you need to log in
This is the $wpdb function. Here is the link https://codex.wordpress.org/Class_Reference/en:wpd...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question