Ionwordpress custom views custom post fields


#1

A simple problem, but I have no idea how to take it.
So yes, I have a wordpress page with custom types of posts and fields.
I’m trying to create an application using ionwordpress that will display the custom field of custom message types using json.
I found a very interesting project IN guthub, although he uses With something like this

https://script.googleusercontent.com/macros/echo?user_content_key=qC8XrYz7cghm0xEfeA1l75dQbJQhp8CGZpRYNckFYTKMJD3_ySAJdQk0VgrLj_Wh5Odxsb9PHuMC4VBJufHf-Yz7MriYczUNOJmA1Yb3SEsKFZqtv3DaNYcMrmhZHmUMWojr9NvTBuBLhyHCd5hHa1ZsYSbt7G4nMhEEDL32U4DxjO7V7yvmJPXJTBuCiTGh3rUPjpYM_V0PJJG7TIaKp4Ylnl-R3pmgsEBPRrrOuU7TTNuXPgQMpUBAQNLCtF4RgoL9_7C8SyVhhKRoNqWf0aokqjHXGZlReYKYYPUwR24aPa3heIZPiA&lib=MbpKbbfePtAVndrs259dhPT7ROjQYJ8yx

webpackJsonp([3],{

/***/ 129:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HistoryPage; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(43);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_http__ = __webpack_require__(101);
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};



/**
 * Generated class for the HistoryPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */
var HistoryPage = (function () {
    function HistoryPage(navCtrl, navParams, http) {
        this.navCtrl = navCtrl;
        this.navParams = navParams;
        this.http = http;
        this.sheetName = 'standard_history';
        this.sheetID = '175XqnHhcOS8CVoBY08xMhaDO39VmauBEFKU9qeaHS3U';
    }
    HistoryPage.prototype.ionViewWillEnter = function () {
        console.log('ionViewDidLoad HistoryPage');
    };
    HistoryPage.prototype.ngOnInit = function () {
        var _this = this;
        console.log('https://script.google.com/macros/s/AKfycbygukdW3tt8sCPcFDlkMnMuNu9bH5fpt7bKV50p2bM/exec?id=' + this.sheetID + '&sheet=' + this.sheetName);
        this.http.get('https://script.google.com/macros/s/AKfycbygukdW3tt8sCPcFDlkMnMuNu9bH5fpt7bKV50p2bM/exec?id=' + this.sheetID + '&sheet=' + this.sheetName)
            .map(function (res) { return res.json(); }).subscribe(function (data) {
            _this.tips = data.standard_history;
            console.log(_this.tips);
        });
    };
    return HistoryPage;
}());
HistoryPage = __decorate([
    Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({
        selector: 'page-history',template:/*ion-inline-start:"/home/xxx/Pobrane/Ionic-Betting-master/src/pages/history/history.html"*/'<!--\n  Generated template for the TodaysPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n  <ion-navbar>\n    <button ion-button menuToggle>\n      <ion-icon name="menu"></ion-icon>\n    </button>\n    <ion-title>History of Tips</ion-title>\n  </ion-navbar>\n</ion-header>\n\n\n<ion-content >\n\n  <ion-card class="card" *ngFor="let tip of tips">\n    <ion-card-header class="top">\n      <ion-grid >\n        <ion-row align-items-center>\n          <ion-col col-5>{{tip.DATE.toString().substring(8,10)}}-{{tip.DATE.toString().substring(5,7)}}-{{tip.DATE.toString().substring(0,4)}}</ion-col>\n          <ion-col col-4 text-left>{{tip.COUNTRY_LEAGUE}}</ion-col>\n          <ion-col col-3 text-right>{{tip.TIME}}</ion-col>\n        </ion-row>\n      </ion-grid>\n    </ion-card-header>\n    <ion-card-title text-center class="middle">\n      <ion-grid >\n        <ion-row>\n          <ion-col col-8 >{{tip.HOME_TEAM}} VS {{tip.AWAY_TEAM}}</ion-col>\n          <ion-col col-3 text-right>{{tip.Gotcha}}</ion-col>\n        </ion-row>\n      </ion-grid>\n    </ion-card-title>\n    <ion-card-content class="bottom">\n      <ion-grid >\n        <ion-row align-items-center>\n          <ion-col col-6 text-left>Odd : {{tip.ODD}}</ion-col>\n          <ion-col col-6 text-right>{{tip.TIP}}</ion-col>\n        </ion-row>\n      </ion-grid>\n    </ion-card-content>\n  </ion-card>\n\n</ion-content>\n'/*ion-inline-end:"/home/xxx/Pobrane/Ionic-Betting-master/src/pages/history/history.html"*/,
    }),
    __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_http__["a" /* Http */]])
], HistoryPage);

//# sourceMappingURL=history.js.map

/***/ }),

/***/ 130:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TodaysPage; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(43);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_http__ = __webpack_require__(101);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs__ = __webpack_require__(278);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs__);
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};




/**
 * Generated class for the TodaysPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */
var TodaysPage = (function () {
    function TodaysPage(navCtrl, navParams, http) {
        this.navCtrl = navCtrl;
        this.navParams = navParams;
        this.http = http;
        this.sheetName = 'standard_today';
        this.sheetID = '175XqnHhcOS8CVoBY08xMhaDO39VmauBEFKU9qeaHS3U';
    }
    TodaysPage.prototype.ionViewWillEnter = function () {
        console.log('ionViewDidLoad TodaysPage');
    };
    TodaysPage.prototype.ngOnInit = function () {
        var _this = this;
        console.log('https://script.google.com/macros/s/AKfycbygukdW3tt8sCPcFDlkMnMuNu9bH5fpt7bKV50p2bM/exec?id=' + this.sheetID + '&sheet=' + this.sheetName);
        this.http.get('https://script.google.com/macros/s/AKfycbygukdW3tt8sCPcFDlkMnMuNu9bH5fpt7bKV50p2bM/exec?id=' + this.sheetID + '&sheet=' + this.sheetName)
            .map(function (res) { return res.json(); }).subscribe(function (data) {
            _this.tips = data.standard_today;
            console.log(_this.tips);
        });
    };
    return TodaysPage;
}());
TodaysPage = __decorate([
    Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({
        selector: 'page-todays',template:/*ion-inline-start:"/home/xxx/Pobrane/Ionic-Betting-master/src/pages/todays/todays.html"*/'<!--\n  Generated template for the TodaysPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n  <ion-navbar>\n    <button ion-button menuToggle>\n      <ion-icon name="menu"></ion-icon>\n    </button>\n    <ion-title>Today\'s Tips</ion-title>\n  </ion-navbar>\n</ion-header>\n\n\n<ion-content >\n\n  <ion-list>\n    <ion-item-sliding *ngFor="let tip of tips">\n      <ion-item>\n        <ion-avatar item-start>\n          <img src="assets/icon/favicon.ico">\n        </ion-avatar>\n        <h2>{{tip.TIP}} @ {{tip.ODD}}</h2>\n        <h3>{{tip.HOME_TEAM}} VS {{tip.AWAY_TEAM}}</h3>\n        <p>{{tip.COUNTRY_LEAGUE}} | {{tip.DATE.toString().substring(8,10)}}-{{tip.DATE.toString().substring(5,7)}}-{{tip.DATE.toString().substring(0,4)}} | {{tip.TIME}}</p>\n      </ion-item>\n        <ion-item-options >\n          <h4 text-right ion-item color="primary">{{tip.HOME_SCORE}} - {{tip.AWAY_SCORE}}</h4>\n          <!--<button ion-button color="primary">\n            {{tip.HOME_SCORE}} - {{tip.AWAY_SCORE}}\n          </button>-->\n        </ion-item-options>\n    </ion-item-sliding>\n  </ion-list>\n\n\n\n</ion-content>\n'/*ion-inline-end:"/home/xxx/Pobrane/Ionic-Betting-master/src/pages/todays/todays.html"*/,
    }),
    __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_http__["a" /* Http */]])
], TodaysPage);

//# sourceMappingURL=todays.js.map

/***/ }),

/***/ 131:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BonusPage; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(43);
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};


/**
 * Generated class for the BonusPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */
var BonusPage = (function () {
    function BonusPage(navCtrl, navParams) {
        this.navCtrl = navCtrl;
        this.navParams = navParams;
    }
    BonusPage.prototype.ionViewDidLoad = function () {
        console.log('ionViewDidLoad BonusPage');
    };
    return BonusPage;
}());
BonusPage = __decorate([
    Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({
        selector: 'page-bonus',template:/*ion-inline-start:"/home/xxx/Pobrane/Ionic-Betting-master/src/pages/bonus/bonus.html"*/'<!--\n  Generated template for the BonusPage page.\n\n  See http://ionicframework.com/docs/components/#navigation for more info on\n  Ionic pages and navigation.\n-->\n<ion-header>\n  <ion-navbar>\n    <button ion-button menuToggle>\n      <ion-icon name="menu"></ion-icon>\n    </button>\n    <ion-title>Bonus Tips</ion-title>\n  </ion-navbar>\n</ion-header>\n\n\n<ion-content padding>\n\n</ion-content>\n'/*ion-inline-end:"/home/xxx/Pobrane/Ionic-Betting-master/src/pages/bonus/bonus.html"*/,
    }),
    __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["g" /* NavParams */]])
], BonusPage);

//# sourceMappingURL=bonus.js.map

/***/ }),

/***/ 142:
/***/ (function(module, exports) {

function webpackEmptyAsyncContext(req) {
	// Here Promise.resolve().then() is used instead of new Promise() to prevent
	// uncatched exception popping up in devtools
	return Promise.resolve().then(function() {
		throw new Error("Cannot find module '" + req + "'.");
	});
}
webpackEmptyAsyncContext.keys = function() { return []; };
webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
module.exports = webpackEmptyAsyncContext;
webpackEmptyAsyncContext.id = 142;

/***/ }),

/***/ 185:
/***/ (function(module, exports, __webpack_require__) {

var map = {
	"../pages/bonus/bonus.module": [
		573,
		2
	],
	"../pages/history/history.module": [
		571,
		1
	],
	"../pages/todays/todays.module": [
		572,
		0
	]
};
function webpackAsyncContext(req) {
	var ids = map[req];
	if(!ids)
		return Promise.reject(new Error("Cannot find module '" + req + "'."));
	return __webpack_require__.e(ids[1]).then(function() {
		return __webpack_require__(ids[0]);
	});
};
webpackAsyncContext.keys = function webpackAsyncContextKeys() {
	return Object.keys(map);
};
webpackAsyncContext.id = 185;
module.exports = webpackAsyncContext;

/***/ }),

/***/ 253:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(254);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(258);


Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
//# sourceMappingURL=main.js.map

/***/ }),

/***/ 258:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(39);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(43);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(567);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(249);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__ = __webpack_require__(252);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_todays_todays__ = __webpack_require__(130);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_history_history__ = __webpack_require__(129);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_bonus_bonus__ = __webpack_require__(131);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__angular_http__ = __webpack_require__(101);
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};










var AppModule = (function () {
    function AppModule() {
    }
    return AppModule;
}());
AppModule = __decorate([
    Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["L" /* NgModule */])({
        declarations: [
            __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */],
            __WEBPACK_IMPORTED_MODULE_6__pages_todays_todays__["a" /* TodaysPage */],
            __WEBPACK_IMPORTED_MODULE_7__pages_history_history__["a" /* HistoryPage */],
            __WEBPACK_IMPORTED_MODULE_8__pages_bonus_bonus__["a" /* BonusPage */]
        ],
        imports: [
            __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */],
            __WEBPACK_IMPORTED_MODULE_9__angular_http__["b" /* HttpModule */],
            __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], {}, {
                links: [
                    { loadChildren: '../pages/history/history.module#HistoryPageModule', name: 'HistoryPage', segment: 'history', priority: 'low', defaultHistory: [] },
                    { loadChildren: '../pages/todays/todays.module#TodaysPageModule', name: 'TodaysPage', segment: 'todays', priority: 'low', defaultHistory: [] },
                    { loadChildren: '../pages/bonus/bonus.module#BonusPageModule', name: 'BonusPage', segment: 'bonus', priority: 'low', defaultHistory: [] }
                ]
            }),
        ],
        bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["a" /* IonicApp */]],
        entryComponents: [
            __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */],
            __WEBPACK_IMPORTED_MODULE_6__pages_todays_todays__["a" /* TodaysPage */],
            __WEBPACK_IMPORTED_MODULE_7__pages_history_history__["a" /* HistoryPage */],
            __WEBPACK_IMPORTED_MODULE_8__pages_bonus_bonus__["a" /* BonusPage */]
        ],
        providers: [
            __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */],
            __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__["a" /* SplashScreen */],
            { provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["v" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["b" /* IonicErrorHandler */] }
        ]
    })
], AppModule);

//# sourceMappingURL=app.module.js.map

/***/ }),

/***/ 567:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(43);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(249);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(252);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_todays_todays__ = __webpack_require__(130);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_history_history__ = __webpack_require__(129);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_bonus_bonus__ = __webpack_require__(131);
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};







var MyApp = (function () {
    function MyApp(platform, statusBar, splashScreen) {
        this.platform = platform;
        this.statusBar = statusBar;
        this.splashScreen = splashScreen;
        this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_todays_todays__["a" /* TodaysPage */];
        this.initializeApp();
        // used for an example of ngFor and navigation
        this.pages = [
            { title: 'Today\'s Tips', component: __WEBPACK_IMPORTED_MODULE_4__pages_todays_todays__["a" /* TodaysPage */], icon: 'home' },
            { title: 'History of Tips', component: __WEBPACK_IMPORTED_MODULE_5__pages_history_history__["a" /* HistoryPage */], icon: 'paper' },
            { title: 'Bonus Tips', component: __WEBPACK_IMPORTED_MODULE_6__pages_bonus_bonus__["a" /* BonusPage */], icon: 'flame' }
        ];
    }
    MyApp.prototype.initializeApp = function () {
        var _this = this;
        this.platform.ready().then(function () {
            // Okay, so the platform is ready and our plugins are available.
            // Here you can do any higher level native things you might need.
            _this.statusBar.styleDefault();
            _this.splashScreen.hide();
        });
    };
    MyApp.prototype.openPage = function (page) {
        // Reset the content nav to have just this page
        // we wouldn't want the back button to show in this scenario
        this.nav.setRoot(page.component);
    };
    return MyApp;
}());
__decorate([
    Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_14" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Nav */]),
    __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Nav */])
], MyApp.prototype, "nav", void 0);
MyApp = __decorate([
    Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({template:/*ion-inline-start:"/home/xxx/Pobrane/Ionic-Betting-master/src/app/app.html"*/'<ion-menu type="reveal" [content]="content" >\n  <ion-header>\n    <ion-toolbar>\n      <ion-title>Menu</ion-title>\n    </ion-toolbar>\n  </ion-header>\n\n  <ion-content>\n    <ion-list>\n      <button menuClose ion-item item-left *ngFor="let p of pages" (click)="openPage(p)"><ion-icon name="{{p.icon}}"></ion-icon>\n        {{p.title}}\n      </button>\n    </ion-list>\n  </ion-content>\n\n</ion-menu>\n\n<!-- Disable swipe-to-go-back because it\'s poor UX to combine STGB with side menus -->\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>\n'/*ion-inline-end:"/home/xxx/Pobrane/Ionic-Betting-master/src/app/app.html"*/
    }),
    __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["h" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */]])
], MyApp);

//# sourceMappingURL=app.component.js.map

/***/ })

},[253]);
//# sourceMappingURL=main.js.map

I would like to display this value using json:

{"status":"ok","count":1,"count_total":1,"pages":0,"posts":[{"id":4959,"type":"standard_today","slug":"new","url":"https:\/\/www.example.com\/standard_today\/new\/","status":"publish","title":"NEW","title_plain":"NEW","content":"","excerpt":"","date":"2017-10-18 07:14:34","modified":"2017-10-18 07:14:34","categories":[],"tags":[],"author":{"id":1,"slug":"admin","name":"admin","first_name":"","last_name":"","nickname":"admin","url":"","description":""},"comments":[],"attachments":[],"comment_count":0,"comment_status":"closed","custom_fields":{"TIME":["15:00:00"],"DATE":["20171019"],"COUNTRY_LEAGUE":["FIFA"],"HOME_TEAM":["Barcelona"],"AWAY_TEAM":["Real Madryt"],"HOME_SCORE":["3"],"AWAY_SCORE":["1"],"ODD":["3"],"TIP":["Over 3,5"],"slide_template":["default"]}}],"query":{"ignore_sticky_posts":true,"post_type":"standard_today","posts_per_page":"-1"}}
``

I know that I comb, but when it comes to css or wide webdesign it is amateurish.

I try to cope but it does not go away.
advises someone?
I can even pay for help! :)
![Screenshot (4)|690x464](upload://5RvCGDfpENrMiowotOMojSs6lpN.png)
https://drive.google.com/file/d/0B35r1N8G_D3YQ1h3RVJ6RDN2QzQ/view?usp=sharing
please

#2

Step 1: Make your post readable.


#3

I would like to display these types on some custom screenshots.

How do you make your order appear?


#4

Again, no idea what you are talking about. You initial post still is a mess.


#5

I’m sorry for the language, I’m a Pole
I would like to move the template from one project to another.
I would like to display such tables.

so looks like json’s answer:


{ "Status", "ok", "count" 1 "count_total" 1, "pages" 0 "posts": [{ "id": 4959, "type": "standard_today", "slug" "new", "url": "https: \ / \ / www.example.com \ / standard_today \ / new \ /", "status", "publish", "title": "nEW", "title_plain" "," "Content", "excerpt": "", "date": "2017-10-18 07:14:34", "modified": "2017-10-18 07:14: 34, "" categories, "[]" tags "[]" author ": {" id "1" slug ":" admin "," name "," admin "," first_name ":" " "last_name": "" "nickname", "admin", "url": "", "description", ""}, "comments" [] "attachments" [] "COMMENT_COUNT" 0 "comment_status", "closed", "custom_fields": { "TIME": [ "3:00:00 p.m."], "DATE": [ "20171019"] "COUNTRY_LEAGUE": [ "FIFA"] "HOME_TEAM ["Barcelona"], "AWAY_TEAM": ["Real Madrid"], "HOME_SCORE": ["3"], "AWAY_SCORE" TIP ": [" Over 3.5 "]," slide_template ": [" default "]}}," query ": {" ignore_sticky_posts ": true;" post_type ":" standard_today "," posts_per_page ":" 1 "}}

And I would just like to see them in the right place.

Currently it looks like this:


The application displays the most recent posts
I need to display specific information from created custom post fields.
I just want to achieve this effect, and I do not know how.
the biggest problem I have with the template. just in spite of spending many hours, still do not understand how to fit it properly … theming is not my plot. Same data transmission, I can still do. maybe

I have a starterpack: IONWordpress and IONROOTS

Probably for the commission of this someone, cheap will not?
I am able to pay even for tips.
J propably desperation

http://192.168.0.101:8101 - my project
http://192.168.0.101:8100 - and I would like that.