Astronomy Picture Of the Day

Astronomy Picture Of the Day Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,398 downloads
Astronomy Picture Of the Day Icon

Try plugin: Astronomy Picture Of the Day

We'll create fresh WordPress site with Astronomy Picture Of the Day installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Astronomy Picture Of the Day

A plugin that fetches data from NASA's open API regarding the Astronomy Picture Of the Day to be used within posts/pages

0


0


0


0


0

updated: 7 years ago
since: 7 years ago

Description

The Astronomy Picture Of the Day plugin fetches data from the NASA open API and specifically data from Astronomy Picture Of the Day (APOD). The data can then be presented within posts/pages through the use of short-codes added to the editor in text-mode. The data is fetched through javascript AJAX calls, and stored within the browser as a cookie for caching purposes.
Currently the plugin uses the public DEMO_KEY for requests towards the open API, and as mentioned then stores the data as cookies for the next 24 hours, this to lessen the request load on the API and also possibly help the wordpress user to a smoother experience.

How to use:
After activating the plugin, go to your post/page, go to editor mode, and then either add [astronomy-picture-of-the-day] or [astronomy-picture-of-the-day-hd] to generate a html block consisting of a container div, with a title, the apod image and its explanation.
All elements receive css classes so they can be styled independently by the WordPress developer.
Within the admin interface the specific css classes that gets added are mentioned.