Super simple dashing widget for displaying your youtube channels stats
Credit to ephigenia and jonasrosland for creating other youtube widgets that I pulled bits and pieces from
Hugs and kisses to my loved ones. Vote for Nader!
| server { | |
| listen 80; | |
| listen 443 ssl; | |
| server_name slrlounge.dev *.slrlounge.dev ~^build\.slrlounge\.\d+\.\d+\.\d+\.\d+\.xip\.io$; | |
| root /srv/www/slr-lounge/src; | |
| include /etc/nginx/nginx-wp-common.conf; | |
| location ~ "^(.*)/wp-content/uploads/(.*)$" { | |
| try_files $uri @missing; | |
| } |
| <?php | |
| $args = array( | |
| 'meta_key' => '_is_hub_slot', | |
| 'meta_value' => 'slot1', | |
| ); | |
| $query = new \WP_Query($args); | |
| if(!empty($query->posts)){ | |
| $featured_article_1 = $query->posts[0]; | |
| } |
| import React from 'react'; | |
| import OrbitItem from '../Orbit__Item/Orbit__Item'; | |
| import OrbitLoader from '../Orbit__Loader/Orbit__Loader'; | |
| export default class Orbit extends React.Component { | |
| constructor( props ) { | |
| super( props ); |
| import { api } from "../../../../assets/scripts/js/api"; | |
| import dispatcher from '../_shared/FluxAppDispatcher'; | |
| import constants from '../_shared/FluxAppConstants'; | |
| export function initScoreCardData(props){ | |
| dispatcher.dispatch({ | |
| type:constants.score_card_init_data, | |
| payload: { | |
| index: props.postId, |
| <?php | |
| ini_set('xdebug.max_nesting_level', 10000); | |
| // Setup Wordpress Environment for Migration Script | |
| setup(); | |
| global $wpdb; | |
| $query = '[simpleazon-link'; | |
| $query_arr = $wpdb->get_results( | |
| " |