
Astrology Reports Block
Turn your WordPress blog into a full astrology site, powered by Prokerala‘s astrology API.
Features
- Free
- Easy to setup
Available Services
- Daily Horoscope Predictions
- Numerology Calculators
- Daily Panchang Calculators
- Panchang
- Auspicious Period
- Inauspicious Period
- Choghadiya
- Horoscope Calculators
- Birth Details
- Charts
- Kundli
- Mangal Dosha
- Kaalsarp Dosha
- Papasamyam
- Planet Position
- Sade-Sati
- Marriage Matching Calculators
- Kundli Matching
- Nakshatra Porutham
- Thirumana Porutham
- Porutham
- Papasamyam Check
- Western Charts
- Natal Chart
- Transit Chart
- Progression Chart
- Solar Chart
- Synastry Chart
- Composite Chart
Usage
- Install and activate the plugin on your WordPress dashboard.
- Enter you Prokerala API client id and client secret in the plugin settings page.
- Create a blog post or a page and add the report form.
The reports form can be added to a page using the block editor or using shortcode.
Blocks
The plugin adds a new block name Astrology Reports to the block editor.
Shortcode
If you are unable to use the block editor, then you can also activate the plugin using the short code astrology.
[astrology report="REPORT_NAME"]
Where REPORT_NAME must be one of following
AuspiciousPeriodBirthDetailsChartChoghadiyaDailyPredictionInauspiciousPeriodKaalSarpDoshaKundliKundliMatchingMangalDoshaNakshatraPoruthamNumerologyPanchangPapasamyamPapasamyamCheckPlanetPositionPoruthamSadeSatiThirumanaPoruthamWesternChartCompatibilityChart
Shortcode attributes
-
result_typeIn calculators that support
basicandadvancedresults, the result type can be forced using theresult_typeattribute. Settings this attribute will remove the corresponding input fields from the form.[astrology report="Kundli" result_type="advanced"]Available for
- Kundli
- Panchang
Report Specific Options
Chart
-
chart_styleYou can set the
chart_styleattribute to one ofnorth-indian,south-indianoreast-indianto force the result chart style. Setting this attribute will remove the corresponding input fields from the form.[astrology report="Kundli" chart_style="south-indian"]
Kundli
-
display_chartsThe
display_chartsoption allows showing Rasi / Navamsa chart in Kundli result. This will cost two additional API calls. The value of the attribute must belagna,navamsa.[astrology report="Kundli" display_charts="lagna,rasi"]
DailyPrediction
-
dateBy default, the
DailyPredictionreport will display predictions for the current date. If required, the default behaviour can be changed by setting thedateattribute toyesterday,todayortomorrow.[astrology report=”DailyPrediction” date=”tomorrow”]
-
signBy default, the DailyPrediction report will display predictions for all zodiac signs. You can use limit the result to a single zodiac sign using the
signattribute. This may be used to create separate page for each zodiac sign or to insert advertisement between the result.[astrology report=”DailyPrediction” date=”today” sign=”aries”]
-
typeBy default, the DailyPrediction report shows predictions of the
generaltype. You can customize thetypeof prediction displayed by using thetypeattribute. Allowed values aregeneral,career,health, andlove.[astrology report=”DailyPrediction” date=”today” sign=”aries” type=”career”]
DailyLovePrediction
-
dateBy default, the DailyLovePrediction report displays predictions for the current date. You can override this by setting the date attribute to yesterday, today, or tomorrow.
[astrology report=”DailyLovePrediction” date=”tomorrow”]
-
sign_oneBy default, the DailyLovePrediction report displays predictions for
ariesas the primary partner. You can change the zodiac sign by using thesign_oneattribute.[astrology report=”DailyLovePrediction” date=”tomorrow” sign_one=”aries”]
-
sign_twoBy default, the DailyLovePrediction report displays predictions for
ariesas the secondary partner. You can change the zodiac sign using thesign_twoattribute.[astrology report=”DailyLovePrediction” date=”tomorrow” sign_one=”aries” sign_two=”aries”]
Panchang
-
coordinateBy default, the
Panchangreport will display panchang for Ujjain, Maharashtra. If required, the default behaviour can be changed by setting attributecoordinate.[astrology report=”Panchang” date=”tomorrow” coordinate=”23.179300,75.784912″]
-
tzBy default, the
Panchangreport will set timezone to UTC. If required, the default behaviour can be changed by setting attributetz. Thetzattribute accepts any valid timezone identifier supported by PHP’s DateTimeZone class. Examples includeUTC,Europe/London,America/Los_Angeles, etc.[astrology report=”Panchang” date=”tomorrow” coordinate=”23.179300,75.784912″ tz=”Asia/Kolkata”]
WesternChart
-
report_typeBy default, the
WesternChartreport displays the natal chart. The default behaviour can be modified by setting thereport_typeattribute. Allowed values arenatal-chart,transit-chart,progression-chart, andsolar-return-chart.[astrology report=”WesternChart” report_type=”natal-chart” ]
-
display_optionsBy default, the
WesternChartreport displays the chart. The default behaviour can be modified by setting thedisplay_optionsattribute. Allowed values arechart,aspect-chart,planet-positions,planet-aspectsandall. You can specify multiple types by separating them with comma, or use the specialallvalue to display everything.[astrology report=”WesternChart” report_type=”natal-chart” display_options=”chart,aspect-chart,planet-positions,planet-aspects”]
[astrology report=”WesternChart” report_type=”natal-chart” display_options=”all”]
CompatibilityChart
-
report_typeBy default, the
CompatibilityChartreport displays the synastry chart. The default behaviour can be modified by setting thereport_typeattribute. Allowed values aresynastry-chart, andcomposite-chart.[astrology report=”CompatibilityChart” report_type=”synastry-chart” display_options=”all”]
-
display_optionsBy default, the
CompatibilityChartreport displays the chart. The default behaviour can be modified by setting thedisplay_optionsattribute. Allowed values arechart,aspect-chart,planet-aspects, andall. You can specify multiple types by separating them with comma, or use the specialallvalue to display everything.[astrology report=”CompatibilityChart” report_type=”synastry-chart” display_options=”chart,aspect-chart,planet-aspects”]
[astrology report=”CompatibilityChart” report_type=”composite-chart” display_options=”chart,aspect-chart,planet-positions,planet-aspects”]
[astrology report=”CompatibilityChart” report_type=”synastry-chart” display_options=”all”]
Localization
You can use the following attributes to localize the form / result. View available languages for each report from https://api.prokerala.com/docs#tag/Daily-Panchang
-
form_languageYou can set the
form_languageattribute to one ofen,hi,ml,ta, orteto set localization for forms.
For western reports you can set theform_languageattribute to one ofen, ordefor[astrology report="Kundli" form_language="en"] [astrology report="WesternChart" report_type="natal-chart" form_language="de"] -
report_languageYou can set the
report_languageattribute to one ofen,hi,ml,ta, orteto add language select fields for forms.
For western reports you can set thereport_languageattribute to one ofen, ordefor[astrology report="Kundli" report_language="en"] [astrology report="WesternChart" report_type="natal-chart" form_language="de"]