• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Display Gallery of a Projects Contributors From Remote Server

This template for Genesis enables you to display a list of contributors from any Github project in a gallery like this:

github-contributors-template

This template uses the native WordPress gallery classes.

This means you can simply change gallery-columns-6 in the templates PHP code to any other number of columns like gallery-columns-3

You can also pull in contributors from other API’s like WordPress.

The code uses wp_safe_remote_get which enables you to fetch the data for each contributor from a remote server. In this case its Githubs API = api.github.com.

Here’s the page template code for Genesis:

Register for full access

Related Templates

  • Genesis Contributors Page Template

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems