The following snippet will allow you to show content only if a comment exists for the current post or page. [crayon-5e44e684bbca4881014573/]
Here is how to limit the post title length. [crayon-5e44e684bc02a665585604/] Replace your post title with the snippet above.
The following will remove meta boxes that you do not need from the Wordpress admin back end. To target a certain meta box find the boxes main div id using…
The following code will display the posts from a specific custom post type. [crayon-5e44e684bc21f262633551/]
This is an if statement for ACF options page. [crayon-5e44e684bc2fb707323171/]
This will show the content enclosed in the if statement only if the custom field exists. [crayon-5e44e684bc3d2067078798/] [crayon-5e44e684bc3d6294810781/]
This is a great tutorial on how to create a resizable sticky bar. In case the site goes away here is the source file.
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. [crayon-5e44e684bc4c2313209996/] So it would look like this: [crayon-5e44e684bc4c6958049329/]
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 [crayon-5e44e684bc5c5876167954/] Source: http://www.wpbeginner.com/wp-tutorials/how-to-exclude-pages-from-wordpress-search-results/