Skip to content

Instantly share code, notes, and snippets.

View specialosis's full-sized avatar

Boluwatife Osisanya specialosis

View GitHub Profile
@specialosis
specialosis / bmx single post
Last active September 14, 2019 19:42
A custom post template
<?php
/**
* The template for displaying the single post
*
* @package boundmix build post page
* @since 1.0.0
* @version 2.5.0
* @var $helper Boombox_Single_Post_Template_Helper Template helper
*/
/* ADDing twitch from bp profile*/
/* Still in development phase, */
/* you would need to add a new field group from the bp profile field in the users tab called twitch channel Name */
$channelsApi = 'https://glass.twitch.tv/console';
$channelName = 'null';
$clientId = 'kr48dgy7mckk8vg3aj0tgezou1okuw';
$ch = curl_init();