WP Manifestindependent plugin directory
manifest / content / daily-content-pro

Daily Content Pro

Complete solution for news websites with horoscope, weather, games, utilities, and engagement features. Boost user engagement with daily fresh content.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/mo-sawah/daily-content-pro/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Daily Content Pro - WordPress Plugin

Website: sawahsolutions.com
License: GPL v2 or later

📋 Description

Daily Content Pro is a comprehensive WordPress plugin designed specifically for news websites. It provides a complete solution for adding engaging daily content including horoscopes, weather forecasts, interactive games, currency converters, lottery results, stock tickers, and more.

✨ Key Features

  • 🔮 Horoscope Widget - Daily, weekly, and monthly horoscopes for all zodiac signs
  • 🌤️ Weather Widget - Current weather and 5-day forecast with auto-location detection
  • 🎮 Games & Puzzles - Sudoku, Crossword, Word Search, Trivia Quiz, Memory Game
  • 💱 Currency Converter - Real-time currency conversion
  • 🎲 Lottery Results - Latest lottery numbers and jackpots
  • 📈 Stock Ticker - Real-time stock market data
  • 💬 Quote of the Day - Daily inspirational quotes
  • 🔧 Utilities - BMI Calculator, Age Calculator, Unit Converter

📦 Installation

Method 1: Upload via WordPress Admin

  1. Download the plugin zip file
  2. Go to WordPress Admin → Plugins → Add New → Upload Plugin
  3. Choose the zip file and click "Install Now"
  4. Activate the plugin

Method 2: Manual Installation

  1. Download and extract the plugin files
  2. Upload the daily-content-pro folder to /wp-content/plugins/
  3. Activate the plugin through the 'Plugins' menu in WordPress

Method 3: FTP Upload

  1. Extract the plugin zip file
  2. Upload the daily-content-pro folder to /wp-content/plugins/ via FTP
  3. Activate the plugin through the WordPress admin panel

⚙️ Configuration

API Keys Setup

  1. Navigate to Daily Content Pro → Settings
  2. Enter your API keys:
    • OpenWeather API Key - Get free key from OpenWeatherMap
    • Other APIs use free services or fallback data

Cache Settings

  • Enable Caching: Improves performance by caching API responses
  • Cache Duration: Set how long data should be cached (default: 3600 seconds)

🎨 Usage

Using Widgets

  1. Go to Appearance → Widgets
  2. Drag and drop any DCP widget to your sidebar or widget area
  3. Configure widget settings
  4. Save changes

Using Shortcodes

Add shortcodes to your posts, pages, or custom post types:

Horoscope

[dcp_horoscope layout="list" period="today"]

Parameters:

  • layout: list, tabs, slider, dropdown
  • period: today, tomorrow, weekly, monthly

Weather

[dcp_weather location="auto" units="metric" display="both"]

Parameters:

  • location: city name or "auto" for auto-detection
  • units: metric (°C), imperial (°F)
  • display: current, forecast, both

Games

[dcp_games game="sudoku" difficulty="medium"]

Parameters:

  • game: sudoku, crossword, wordsearch, trivia, memory
  • difficulty: easy, medium, hard

Currency Converter

[dcp_currency from="USD" to="EUR"]

Lottery Results

[dcp_lottery type="powerball"]

Stock Ticker

[dcp_stocks symbols="AAPL,GOOGL,MSFT"]

Quote of the Day

[dcp_quote]

Elementor Integration

If you're using Elementor, Daily Content Pro widgets will automatically appear in the Elementor widget panel under "Daily Content Pro" category.

🎨 Customization

CSS Styling

All plugin classes are prefixed with dcp- to avoid conflicts with your theme. You can customize the appearance by adding CSS to your theme:

/* Example: Customize horoscope widget */
.dcp-horoscope-container {
  background: #your-color;
  border-radius: 10px;
}

/* Example: Customize weather widget */
.dcp-weather-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

Modify Widget Titles

You can change widget titles through the widget settings or by passing the title parameter in shortcodes.

🔧 Plugin Structure

daily-content-pro/
├── daily-content-pro.php          # Main plugin file
├── includes/
│   ├── class-dcp-ajax-handler.php
│   ├── class-dcp-api-manager.php
│   ├── class-dcp-cache-manager.php
│   ├── class-dcp-shortcodes.php
│   ├── widgets/
│   │   ├── class-dcp-horoscope-widget.php
│   │   ├── class-dcp-weather-widget.php
│   │   ├── class-dcp-games-widget.php
│   │   ├── class-dcp-currency-widget.php
│   │   ├── class-dcp-utilities-widget.php
│   │   ├── class-dcp-lottery-widget.php
│   │   ├── class-dcp-stocks-widget.php
│   │   └── class-dcp-quote-widget.php
│   └── elementor/
│       └── class-dcp-elementor.php
├── admin/
│   ├── class-dcp-admin.php
│   └── css/
│       └── dcp-admin.css
├── assets/
│   ├── css/
│   │   └── dcp-main.css
│   └── js/
│       └── dcp-main.js
└── languages/
    └── daily-content-pro.pot

💡 Features in Detail

Horoscope Widget

  • 4 Layout Options: List (expandable), Tabs, Slider, Dropdown
  • Multiple Periods: Today, Tomorrow, Weekly, Monthly
  • All Zodiac Signs: Complete horoscope for all 12 signs
  • Detailed Predictions: Mood, lucky color, lucky number, compatibility

Weather Widget

  • Auto-Location: Detects user location based on IP
  • Current Weather: Temperature, feels like, humidity, wind, visibility
  • 5-Day Forecast: Weather predictions for upcoming days
  • Unit Toggle: Switch between Celsius and Fahrenheit
  • Weather Icons: Beautiful emoji-based weather icons

Games & Puzzles

  • Sudoku: Multiple difficulty levels with timer
  • Crossword: Daily crossword puzzles with clues
  • Word Search: Find hidden words in the grid
  • Trivia Quiz: Test your knowledge with various categories
  • Memory Game: Classic card matching game

🌐 Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)
  • Mobile browsers (iOS Safari, Chrome Mobile)

📱 Responsive Design

All widgets are fully responsive and work perfectly on:

  • Desktop computers
  • Tablets
  • Mobile phones

🔒 Security

  • All user inputs are sanitized and validated
  • AJAX requests use WordPress nonces for security
  • API keys are stored securely in WordPress options
  • No external scripts loaded (except APIs)

⚡ Performance

  • Built-in Caching: Reduces API calls and improves load times
  • Optimized CSS: Minimal CSS with no bloat
  • Efficient JavaScript: Lightweight jQuery-based scripts
  • Lazy Loading: Content loaded only when needed

🐛 Troubleshooting

Weather Widget Not Working

  1. Check if OpenWeather API key is configured
  2. Verify API key is valid
  3. Check cache settings
  4. Clear cache from admin panel

Games Not Loading

  1. Check browser console for JavaScript errors
  2. Ensure jQuery is loaded
  3. Check for conflicts with other plugins
  4. Try disabling and re-enabling the plugin

Widgets Not Appearing

  1. Check if widgets are added to a widget area
  2. Verify plugin is activated
  3. Check theme supports widgets
  4. Try re-saving widget settings

📝 Changelog

Version 1.0.0

  • Initial release
  • Horoscope widget with 4 layouts
  • Weather widget with forecast
  • 5 interactive games
  • Currency converter
  • Lottery results
  • Stock ticker
  • Quote of the day
  • Utilities (calculators)
  • Elementor integration
  • Complete shortcode support
  • Admin panel
  • Caching system

🔮 Roadmap

Upcoming Features

  • More game types (Chess, Checkers, Solitaire)
  • Prayer times calculator
  • News ticker widget
  • Sports scores widget
  • More calculators (Mortgage, Loan, Investment)
  • Multi-language support
  • Custom color schemes
  • Widget templates
  • Analytics dashboard

👨‍💻 Support

For support, feature requests, or bug reports:

  • Website: sawahsolutions.com
  • Email: Contact through website
  • Documentation: Available in WordPress admin panel

📄 License

This plugin is licensed under the GPL v2 or later.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

🙏 Credits

  • Author: Mohamed Sawah
  • APIs Used:
    • OpenWeatherMap for weather data
    • Aztro API for horoscope data
    • Open Trivia Database for trivia questions
    • ExchangeRate API for currency conversion

💖 Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.


Made with ❤️ by Mohamed Sawah
sawahsolutions.com