Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Course category carousel on a different WP site
- This topic has 23 replies, 3 voices, and was last updated 2 years, 8 months ago by Anshuman Sahu.
-
AuthorPosts
-
July 11, 2021 at 8:02 pm #364736ART-ProvidersParticipantHow can we use a course category carousel from one website to another side We want to cross link Course carousel into another site and crosssell and promote. Is there an api we can use to pull course carousel while can then take users to parent site?July 12, 2021 at 11:31 am #364771VeronicaModeratorhi like if you are using course category carousel on any page then edit the page with elementor and save the template/import and when you create a new page you can use that template with the elementor and remove the unnecessary elementsJuly 12, 2021 at 1:59 pm #364811ART-ProvidersParticipantSorry I had a typo there so I am not clear. What I am looking for is a course data Rest API so course data from one site can be picked on another. What we want is to display course name and title on Wordpress site #1 where people can click to go to the site#2 to purchase. Site #2 is WPLMS site but site #1 is normal Wordpress site. I found some rest api endpoint but not sure if this is supported. Please find out for meJuly 13, 2021 at 12:18 pm #364945VeronicaModeratorhi please check this: https://vibethemes.github.io/wplms-docs/developer-guide.html#api-docsJuly 20, 2021 at 9:06 pm #365886ART-ProvidersParticipantThanks Veronica. That helps When we connected it is able to pick image and title but is there a way to grab the course link url as well so they can click to target site? http://staging10.art-providers.com/ https://snipboard.io/0iaqFo.jpgJuly 21, 2021 at 12:51 pm #365949Anshuman SahuKeymasterWell the api is for the course categories not for courses . for courses please use : course/filters(?P.+)? ENDPOINT : This endpoint uses the json data as the url to fetch results, for example if you want to fetch the recent courses then use the json data in the url Url : http://localhost/wordpressnew/wp-json/wplms/v1/course/filters?filter=%7B%22search%22:%22%22,%22filters%22:%5B%5D,%22sort%22:%22popular%22,%22paged%22:1%7D refer:July 21, 2021 at 6:39 pm #366014ART-ProvidersParticipantThank you Is there an additional reference you missed in the responseJuly 22, 2021 at 12:57 pm #366090ART-ProvidersParticipantThis still does not bring up the course specific URL For example this one should get linked to title text "Equine Behaviour and Psychology Course" https://dev.art-providers.com/course/equine-behaviour-and-psychology-course/ How do we get the course URL on siteJuly 22, 2021 at 1:17 pm #366112Anshuman SahuKeymasterthere is no api which gives categories and courses both . Two different endpoints present to fetch these .July 22, 2021 at 9:16 pm #366155ART-ProvidersParticipantI am just wanting a api to fetch course and course URL Is that possible? So Course title course image Course price Course URL Is that possible?July 23, 2021 at 12:50 pm #366242Anshuman SahuKeymasterYes this is the api you are looking for : Url : http://localhost/wordpressnew/wp-json/wplms/v1/course/filters?filter=%7B%22search%22:%22%22,%22filters%22:%5B%5D,%22sort%22:%22popular%22,%22paged%22:1%7DJuly 23, 2021 at 12:51 pm #366243Anshuman SahuKeymasterin https://vibethemes.github.io/wplms-docs/developer-guide.html#api-docsJuly 25, 2021 at 1:21 pm #366370ART-ProvidersParticipantI do not understand You had shared this api before which is linked to course filter localhost but I do not see the course URL picked. Can you grab a site course url from dev.art-providers.com using an api? Here are the login details in next message.July 26, 2021 at 1:42 pm #366442Anshuman SahuKeymasterhere is the url : https://dev.art-providers.com/wp-json/wplms/v1/course/filters?filter=%7B%22search%22:%22%22,%22filters%22:%5B%5D,%22sort%22:%22popular%22,%22paged%22:1%7D IT gives courses .July 26, 2021 at 2:47 pm #366444ART-ProvidersParticipantThanks Alex We are able to get the basket linkwhich works https://dev.art-providers.com\basket\?add-to-cart=6589 But what I am after is the Course URL for Veterinary Nursing : https://dev.art-providers.com/course/veterinary-nursing/ How do I get the url please??
-
AuthorPosts
- The topic ‘Course category carousel on a different WP site’ is closed to new replies.