Change Number of Search Results
To change the number of search results listed add the following snippet right above the if(have_posts) statement. So it would look like this:
To change the number of search results listed add the following snippet right above the if(have_posts) statement. So it would look like this:
The following snippet will limit search results to display blog posts only on your search results page. Copy and paste the following into functions.php function SearchFilter($query) { if ($query->is_search) {…
Here is how to add a search form in Wordpress. You can use the following code and it will load the default search box: Or, you can use the following…
Here is how to display the image from a user profile in Advanced Custom Fields. Use the following snippet:
The following will output a list of the current post's tags.
The following snippet will display the categories in a list for the post. The comma in the parenthesis separates each category with a comma.
The following will show you how to create simple "share to" links for social media accounts.