Elementor Logo Download Angie

Angie prompt library

WordPress admin snippets

Customize your WP Admin experience – add personalized dashboard views, theme the entire admin interface, and create dedicated settings sections.

Publishing activity overview dashboard widget

Create a Dashboard widget for the main WordPress Dashboard page that shows publishing activity for all content types (pages, posts, Elementor, products…) in a Git-style activity view, based on the attached image. This is site-wide activity, not per specific user.

Site Speed Test dashboard widget

Create a WordPress Dashboard widget that shows a website speed test with a nice score display like Google’s. Include a “Run test now” button, and also run the test automatically once a day. Display the date and time of the last test shown in the widget.

WooCommerce marketing HUD

Create a custom WordPress Dashboard Widget called ‘Marketing Intelligence HUD’.
Concept: A clean, executive-summary style dashboard widget for a wine store that shows where customers are located and how they found the store.
Behavior:

  1. Geography: Display a list of the Top 5 Cities and Top 3 Countries based on total revenue from recent orders.
  2. Traffic Sources: Show a simple breakdown of traffic sources (Organic, Social, Email, etc.) using WooCommerce attribution data.
  3. Data Retrieval: Fetch the last 25 orders to keep performance fast.
  4. Data Display: Use wp_strip_all_tags( wc_price( ... ) ) to show revenue amounts cleanly as plain text without HTML tags.

Controls:

  • Tabs: Simple toggle buttons to switch between “Geography” and “Traffic Sources” views.
  • Export: A button to download the data as a CSV file.

Technical Requirements:

  • Caching: Cache the data for 15 minutes using a WordPress Transient to prevent dashboard slowdowns.
  • Role: Only visible to Administrators.
  • Styling: Modern, spaced-out layout matching the WordPress admin aesthetic.

Performance: Ensure lightweight queries and efficient data processing.

WooCommerce Orders dashboard widget

Create a custom WordPress Dashboard Widget called ‘Order Processing Monitor’.
Concept: A dedicated dashboard widget to monitor order statuses with a focus on identifying “Revenue at Risk” vs Success by calculating totals instead of just order counts.
Behavior:

  1. Time Range: Analyze orders from the last 7 days.
  2. Revenue Totals: Calculate the total dollar amount for:
  3. Completed (Completed + Processing)
  4. Pending Action (Pending + On-Hold)
  5. Revenue at Risk (Failed + Cancelled)
  6. Visuals: Display cards for each status with:
  7. An icon (Checkmark for success, Clock for pending, Warning for risk).
  8. The total revenue amount for that status.
  9. A progress bar showing the percentage of total revenue.
  10. Risk Alert: If “Revenue at Risk” > 0, style the card with a red background/border and bold red text to highlight the financial impact.
  11. Action Button: Include a “View At-Risk Orders” button that links to the order list filtered by failed,cancelled,pending,on-hold.

Technical Requirements:

  • Role: Only visible to users with manage_woocommerce capability.
  • Data Handling: Use wc_get_orders() and get_total() to sum revenue. Use wp_strip_all_tags( wc_price( ... ) ) to display currency values cleanly.
  • Caching: Cache the results for 5 minutes using a WordPress Transient for performance.
  • Styling: Use a modern card-based layout with a clean grid system.

WooCommerce Inventory HUD

Create a custom WordPress Dashboard Widget called ‘Live Inventory HUD’.
Concept: A streamlined inventory monitor for WooCommerce that provides an instant view of stock levels and allows for a one-click live CSV export. It should prioritize “Low Stock” items to help with reordering.
Behavior:
Live Stock Monitoring: Display a table of all products (including variations) with their current stock quantity.
Low Stock Highlighting: Use a conditional check (e.g., if stock < 5) to highlight the row in red so I can see what’s running low immediately.
Instant CSV Export: Include a button that, when clicked, generates and downloads a CSV file containing: Product Name, SKU, Stock Level, and Price.
Real-time Refresh: Include a “Refresh” button that updates the data without refreshing the whole WordPress dashboard page.
Controls (The Widget UI):
Stock Threshold Slider: A simple setting to define what count qualifies as “Low Stock” (default to 5).
Search Bar: A small filter at the top to search the table by Product Name or SKU.
Export Button: A prominent “Export to CSV” button.
Technical Requirements:
Data Sourcing: Use wc_get_products() to pull the inventory data rather than raw SQL for better compatibility.
Hook: Register the widget via wp_add_dashboard_widget.
Export Logic: Use JavaScript (Blob or Data URI) to handle the CSV generation on the fly so it doesn’t strain the server.
Security: Ensure the widget is only visible to shop_manager or administrator roles.

Inline product table

Create a WooCommerce product management dashboard for the WordPress admin. It should add a new menu page titled ‘Inline Products’ with a store icon. The UI must feature a searchable and sortable table of products with inline editing for prices and a modal window for viewing product descriptions. The design should be modern, using the Inter font and including fade-in animations.

Admin Favorites

Create a PHP and JavaScript snippet to build a ‘Dynamic Admin Favorites’ system. It should function as follows:

The Menu: Add a top-level WP Admin menu item labeled ‘Favorites’.

The ‘Add’ Button: Use the admin_enqueue_scripts hook to inject a small ‘Add to Favorites’ button (using a star dashicon) next to the page title (the .wp-heading-inline or h1) on every admin page.

The Logic: When the star is clicked, use AJAX to save the current page’s URL and Title to the current user’s ‘user_meta’.

The Display: The ‘Favorites’ menu should dynamically list all saved pages as sub-menu items.

Management: Include a simple ‘Clear Favorites’ option at the bottom of the list.

Please ensure the code includes the necessary wp_ajax actions and uses get_user_meta to keep the favorites unique to each logged-in user.

Create new role

Using code, create a new user role called [role name] with capabilities to [describe what they should be able to do, e.g., “edit posts but not publish them” or “manage products but not access settings”]

Rollback Plugins

Using code, add a rollback button to my themes and plugins so I can revert back and forth to previous and current version

Create child theme

Using code, add a “Create Child Theme” button to the themes page that automatically generates a child theme from any installed theme with one click

Rollback theme

Using code, add a rollback button to my themes and plugins so I can revert back and forth to previous and current version

Show featured images

Add a featured image thumbnail column at the end of the posts list and enable quick editing to upload or select featured images without opening the full editor