Code Snippets

Collection of Code Snippets for WPCodeBox, WordPress, and Other Platforms.

These are the codes I use in real life and shared for re-usability.

1-6 of 10 results
  • WordPress Cron Job Cleanup Made Easy – My Cron Manager

    Effortlessly manage WordPress cron jobs with My Cron Manager. Clean up, view, and control tasks to boost site performance.

    • October 24, 2024
    SHOW CODE
  • Bash Script Expunge/Clear Logs and Journal Debian/Ubuntu Compatible using Cron

    Efficiently manage log files on Ubuntu/Debian servers with a simple shell script. Reduce disk usage and keep your server running smoothly.

    • August 27, 2024
    SHOW CODE
  • Quick Access Menu – Custom Dropdown for WP Admin Bar with Options Page

    Improve functionality and aesthetics of your WordPress site with custom dropdowns, date replacement, and source code highlights. No plugins needed!

    • June 10, 2024
    SHOW CODE
  • How to Add “NEW”, “UPDATED”, and “OUTDATED” Badges to Your WordPress Posts

    Enhance your WordPress posts with “NEW,” “UPDATED,” and “OUTDATED” badges! Keep your content fresh and organized for better user experience.

    • June 8, 2024
    SHOW CODE
  • How to Add Source Code Highlights and a Copy Button in WordPress

    “Learn how to add source code highlights and a ‘Copy Code’ button to your WordPress site without using plugins! Improve functionality and aesthetics today.”

    • June 8, 2024
    SHOW CODE
  • Shell/Bash Script Migrating WordPress – Find and Replace all Instance of Domain Name in WordPress or MySQL Database

    Automate WordPress Domain Migration with our Shell Script. Easily Find & Replace all instances of your old domain in the MySQL database. Try it now!

    • June 8, 2024
    SHOW CODE