WP Manifestindependent plugin directory
manifest / admin / dog-info-plugin

Dog Info

A WordPress plugin that stores and displays dog breed information with an admin panel and custom database table.

★ 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/nasreen0786/dog-info-plugin/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.

Dog Info – WordPress Plugin

Dog Info is a simple WordPress plugin that fetches and displays dog breeds information. It also provides an admin panel where administrators can manage dog breed data and facts.


Description

The Dog Info Plugin allows WordPress administrators to store and display information about different dog breeds. It creates a custom database table to store breed names and facts, and provides an admin interface to manage the data.

The plugin also loads custom CSS files for styling on both the frontend and admin dashboard.


Features

  • Adds a Dog Info Settings menu in the WordPress admin dashboard.
  • Stores dog breeds and their facts in a custom database table.
  • Custom admin panel page to manage dog data.
  • Frontend styling using custom CSS.
  • Automatically creates database table on plugin activation.
  • Deletes the table on plugin deactivation.

Installation

  1. Download the plugin or clone the repository.
  2. Upload the plugin folder to the /wp-content/plugins/ directory.
  3. Go to WordPress Admin → Plugins.
  4. Activate Dog Info Plugin.
  5. After activation, go to Dog Info Settings in the admin menu.

Folder Structure

dog-info-plugin
│
├── dog-info.php
├── css
│   └── style.css
│
├── src
│   ├── functions.php
│   │
│   └── admin
│       ├── dog_info_api.php
│       └── css
│           └── style.css

Database Table

When the plugin is activated, it creates the following table:

Table Name: wp_dog_info_api

Column Type
id mediumint
dog_info_api_breeds varchar(255)
dog_info_api_facts varchar(255)

Hooks Used

  • wp_enqueue_scripts – Enqueue frontend CSS.
  • admin_menu – Create admin menu page.
  • register_activation_hook – Create database table.
  • register_deactivation_hook – Delete database table.

Version

1.0


Author

Nasreen Shah


License

This plugin is open-source and can be modified or distributed freely.