[WordPress] 外掛分享: Astrology

首頁外掛目錄 › Astrology
600+
安裝啟用
★★★★★
5/5 分(10 則評價)
21 天前
最後更新
問題解決
WordPress 5.6+ PHP 7.2.0+ v1.5.0 上架:2021-04-12

內容簡介

Astrology 外掛能將您的 WordPress 部落格轉變為完整的占星網站,透過 Prokerala 的占星 API 提供多種占星服務,讓使用者輕鬆獲得每日運勢、數字學計算及婚配匹配等功能。

【主要功能】
• 每日運勢預測
• 數字學計算器
• 婚配匹配計算器
• 占星圖表生成
• 方便的區塊編輯器整合
• 支援多種短碼選項

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Astrology」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

AuspiciousPeriod
BirthDetails
Chart
Choghadiya
DailyPrediction
InauspiciousPeriod
KaalSarpDosha
Kundli
KundliMatching
MangalDosha
NakshatraPorutham
Numerology
Panchang
Papasamyam
PapasamyamCheck
PlanetPosition
Porutham
SadeSati
ThirumanaPorutham
WesternChart
CompatibilityChart

Shortcode attributes

result_type
In calculators that support basic and advanced results, the result type can be forced using the result_type attribute. 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_style
You can set the chart_style attribute to one of north-indian, south-indian or east-indian to 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_charts
The display_charts option allows showing Rasi / Navamsa chart in Kundli result. This will cost two additional API calls. The value of the attribute must be lagna,navamsa.
[astrology report="Kundli" display_charts="lagna,rasi"]

DailyPrediction

date
By default, the DailyPrediction report will display predictions for the current date. If required, the default behaviour can be changed by setting the date attribute to yesterday, today or tomorrow.
[astrology report=”DailyPrediction” date=”tomorrow”]

sign
By default, the DailyPrediction report will display predictions for all zodiac signs. You can use limit the result to a single zodiac sign using the sign attribute. 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”]

type
By default, the DailyPrediction report shows predictions of the general type. You can customize the type of prediction displayed by using the type attribute. Allowed values are general, career, health, and love.
[astrology report=”DailyPrediction” date=”today” sign=”aries” type=”career”]

DailyLovePrediction

date
By 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_one
By default, the DailyLovePrediction report displays predictions for aries as the primary partner. You can change the zodiac sign by using the sign_one attribute.
[astrology report=”DailyLovePrediction” date=”tomorrow” sign_one=”aries”]

sign_two
By default, the DailyLovePrediction report displays predictions for aries as the secondary partner. You can change the zodiac sign using the sign_two attribute.
[astrology report=”DailyLovePrediction” date=”tomorrow” sign_one=”aries” sign_two=”aries”]

Panchang

coordinate
By default, the Panchang report will display panchang for Ujjain, Maharashtra. If required, the default behaviour can be changed by setting attribute coordinate.
[astrology report=”Panchang” date=”tomorrow” coordinate=”23.179300,75.784912″]

tz
By default, the Panchang report will set timezone to UTC. If required, the default behaviour can be changed by setting attribute tz. The tz attribute accepts any valid timezone identifier supported by PHP’s DateTimeZone class. Examples include UTC, Europe/London, America/Los_Angeles, etc.
[astrology report=”Panchang” date=”tomorrow” coordinate=”23.179300,75.784912″ tz=”Asia/Kolkata”]

WesternChart

report_type
By default, the WesternChart report displays the natal chart. The default behaviour can be modified by setting the report_type attribute. Allowed values are natal-chart, transit-chart, progression-chart, and solar-return-chart.
[astrology report=”WesternChart” report_type=”natal-chart” ]

display_options
By default, the WesternChart report displays the chart. The default behaviour can be modified by setting the display_options attribute. Allowed values are chart, aspect-chart, planet-positions, planet-aspects and all. You can specify multiple types by separating them with comma, or use the special all value 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_type
By default, the CompatibilityChart report displays the synastry chart. The default behaviour can be modified by setting the report_type attribute. Allowed values are synastry-chart, and composite-chart.
[astrology report=”CompatibilityChart” report_type=”synastry-chart” display_options=”all”]

display_options
By default, the CompatibilityChart report displays the chart. The default behaviour can be modified by setting the display_options attribute. Allowed values are chart, aspect-chart, planet-aspects, and all. You can specify multiple types by separating them with comma, or use the special all value 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_language
You can set the form_language attribute to one of en, hi, ml, ta, or te to set localization for forms.
For western reports you can set the form_language attribute to one of en, or de for
[astrology report="Kundli" form_language="en"]
[astrology report="WesternChart" report_type="natal-chart" form_language="de"]

report_language
You can set the report_language attribute to one of en, hi, ml, ta, or te to add language select fields for forms.
For western reports you can set the report_language attribute to one of en, or de for
[astrology report="Kundli" report_language="en"]
[astrology report="WesternChart" report_type="natal-chart" form_language="de"]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon