Display posts from WordPress custom post type

There are more than a few way to show a Custom Post Type in WordPress.  This has been by far the best way to not just show custom post types, normal posts, but also retain a lot of WordPress default functionality. <?php $args = array( ‘post_type’ => ‘any-post-type’, ‘posts_per_page’ => 4, ); $query = query_posts($args); … Continued

Advanced Custom Fields Repeater Pagination

In the code below you will see an example of  Advanced Custom Fields Repeater Pagination with an image gallery mapped to a custom field named images with a sub field named image which contains an image object. The Repeater will be displayed on a page at the URL (just an example) /pictures. 12 images will be displayed per page, and pagination … Continued

Display Recent Posts From A Specific Category In WordPress

The snipped below shows you how to display recent posts from a specific category in WordPress. Where it says “showposts=5” change the number to how many posts you want to display, and “cat=4” is the id of the category, just change the ID of the category to pick which category will you want to display. … Continued

Google Maps InfoWindow, Advanced Custom Fields (acf)

I’ve been fortunate enough to use Advanced Custom Fields (acf) add-on of Google Maps several times and have had really nice results (pairs vary well with snazzy maps for google map visual customization). The only thing is that its not documented very well passed its default use.  Often enough you want default functionality that google … Continued

WordPress If Statements

WordPress Conditional Tags and Statements that can help along the way When looking to display specific content on page wether it be an image/copy/etc you will need a specific WordPress If Statement.  Below are a list of WordPress If Statements you may need along the way, as well other specifics. is_home() – home page is_front_page() – … Continued