Advanced Custom Fields if Statement
This will show the content enclosed in the if statement only if the custom field exists. Only show this content if the field exists Show if field exists Show if…
This will show the content enclosed in the if statement only if the custom field exists. Only show this content if the field exists Show if field exists Show if…
Here is a great website explaining how to setup an instagram feed into a website: http://instafeedjs.com/
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.