@joelnoiret wrote:
Hi! I’m new in Ionic coding and I’m trying to get jobs listings from the plugin wp job manager. I already have the output from rest api but now I don’t now how to reflect it in the html side in my ionic app. I mean:
I use this code to get post from my site<ion-content> <ion-card *ngFor="let post of posts | async" (click)="openPost(post)" tappable> <img [src]="post.media_url | async"> <ion-item> <ion-avatar item-left> <img [src]="getUserImage(post.authorId)"> </ion-avatar> <h2>{{ getUserName(post.authorId) }}</h2> </ion-item> <ion-card-content> <ion-card-title> {{ post.title }} </ion-card-title> <div [innerHTML]="post.excerpt"></div> </ion-card-content> </ion-card> </ion-content>
But I don’t know how to change the elements to show the job listings instead the post.
How can I do this?
Thanks for the help!
Posts: 1
Participants: 1