code-pixelz-media / locatepress

GNU General Public License v2.0
0 stars 0 forks source link

Add Add-ons section in setting page #4

Open cpmrohit opened 3 years ago

cpmrohit commented 3 years ago

Please add a section with list of addons that we provide. Please create a .json file and extract addons data from there so that we can add remove addons content from the json file.

cpmraman commented 3 years ago

created .json file with required data [ { "name": "Featured Listing for Locatepress", "about": "Proident voluptate veniam voluptate mollit reprehenderit", "slug": "featured-listing-for-locatepress", "icon": "https://dummyimage.com/250x250/00f2ff/000000.png&text=Featured+listing+addon+for+locatepress", "url": "https://wplocatepress.com/test/", "version" : "0.1.0", "type" : "free", "date" : "2021/jul/19", "price" : "N/A" }, { "name": "Open street Map for Locatepress", "about": "laboris nulla laboris. Nulla ut aliquip fugiat tempor veniam sint aliqua reprehenderit tempor .", "slug": "open-street-map-for-locatepress", "icon": "https://dummyimage.com/250x250/00f2ff/000000.png&text=Open+street+map+for+locatepress", "url": "https://wplocatepress.com/test/", "version" : "0.1.0", "type" : "premium", "date" : "2021/jul/19", "price" : "N/A" } ]

Created a section for list of addons, requires some css changes. Also button texts will be changed according to conditions if plugin is downloaded or not activated or free to download or need to buy