Skip to content

Forum in maintenance, we will back soon 🙂

Display as a Post f...
 
Notifications
Clear all

Display as a Post from WordPress API-GET Method

22 Posts
3 Users
1 Reactions
212 Views
(@naren)
Posts: 10
Active Member
Topic starter
 

@admin Hi Hasan I am implementing to display data on wordpress from API.

 
Posted : 10/20/2024 11:33 am
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

@naren Friend, Please write full questions and explain what you are doing to help you. if there is something private, you can send me details by email.

but I cant help you this way, you are sending short sentences and I don't understand what you want.

 
Posted : 10/22/2024 10:39 am
(@naren)
Posts: 10
Active Member
Topic starter
 

@admin  Hi Hasan , I have this Endpoint : https://links.api.jobtechdev.se/joblinks?q=souschef   
I need to display jobs on my website from this API.

I tried wpgetAPI to display data   from API. But its not showing any data. Is there any way I can show data? Please let me know can I send any images.

 

Thank you

 
Posted : 11/06/2024 8:03 pm
(@husein)
Posts: 550
Member Moderator
 

@naren The data fetched by the api endpoint is mostly textual. There's only one link to a page in object in the json. If you to have images for each object, there should be a URL for an image. (Or you can add the image manually using the HTML code)

If you want the data displayed, you'll need to have a backend function that gets the data from the API endpoint and sends it to a specific page on the front end. This frontend page should have custom HTML code that includes a javascript code that reads the data from the backend and displays it using HTML. 

This is one approach to your case. If I understood something wrong, please correct me.

 
Posted : 11/07/2024 9:37 am
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

I converted your json into HTML code, check the attached file, are you looking for something like this?

 

 
Posted : 11/07/2024 7:48 pm
(@naren)
Posts: 10
Active Member
Topic starter
 

@admin wow Hasan Like this only, Please how can I do it.Please explain. Thanks a lot

 
Posted : 11/08/2024 8:19 pm
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

So you want to read from the API and show the results this way on a WordPress page? please confirm

 
Posted : 11/10/2024 2:11 pm
Page 2 / 2
Share:
[the_ad_group id="312"]