Support Time.now: Join our Premium Plan for an ad-free experience! Support Us: Go Premium Ad-Free!

How to Add Sunrise & Sunset Times to WordPress

Add a sunrise and sunset widget to your WordPress blog — perfect for photography sites, outdoor adventure blogs, travel journals, and fishing/hunting communities. Follow these simple steps to integrate the Time.now Sunrise & Sunset Widget into your WordPress website.

Prerequisite: Generate your embed code from our Sunrise & Sunset Widget Generator before starting.

Step-by-Step Instructions

Step 1
Generate your widget code on the Sunrise & Sunset Widget Generator.
Step 2
Log in to your WordPress Dashboard.
Step 3
Go to Posts or Pages and edit the content where you want the widget.
Step 4
Click the (+) button to add a new block.
Step 5
Search for and select the Custom HTML block.
Step 6
Paste the embed code into the box.
Step 7
Click Preview to verify it works, then Update/Publish.