Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* Register featured guest role
*/
add_action( 'init', 'mcp_register_guest_role' );
function mcp_register_guest_role() {
add_role(
'featured_guest',
__( 'Featured guest' ),
<?php
/**
* Template name: Podcast Featured Companies
*
* The template for displaying all pages
*
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
No such file or directory in C:\xampp\htdocs\dbsocial\index.php on line 2
include(C:/xampp/htdocs/inc/config.php)
Warning: include(C:/xampp/htdocs/inc/config.php): failed to open stream: No such file or directory in C:\xampp\htdocs\dbsocial\index.php on line 2
<div ng-controller="newYearResolutionListWidget">
<ul>
<li ng-repeat="list in lists">
{{ list.title }}
</li>
</ul>
</div>
<script>
var application = angular.module('application', [])
application.controller('newYearResolutionListWidget', function ($scope) {
$scope.lists = [
{id: 1, title: 'ดื่มน้ำวันละ 3 ลิตร'},
{id: 2, title: 'ซ้อมกีต้าร์วันละเพลง'},
{id: 3, title: 'ฝึกภาษาอังกฤษวันละคลิป'}
]
})
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script>
var application = angular.module('application', [])
application.controller('newYearResolutionListWidget', function ($scope) {
$scope.lists = [
{id: 1, title: 'ดื่มน้ำวันละ 3 ลิตร'},
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script>
var application = angular.module('application', [])
application.controller('profileWidget', function ($scope) {
$scope.name = 'Watcharamet S.'
$scope.age = 41
$scope.bio = 'Always smile'