WordPress Help Articles

Add to Console Log

Add to Console Log

A fun project plugin. Thought of this after discovering a software company had a message about their open positions in the console. I was just curious about the tech-stack and still got served content. If you don’t see anything after adding, make sure your browser console is configured to show logs.

How to Use

Download > Install > Activate. Use your favorite IDE or just edit within the WordPress plugin editor. Change the message to suit your needs.

Source

This code can be pasted into the functions.php file of your child theme or, download and install the plugin for simple code activation.

function viawebs_plugins_add_console_message() {
    ?>
        <script>
            console.log("Add your message here!");
        </script>
    <?php
}
add_action('wp_head', 'viawebs_plugins_add_console_message');

Via Webs Offers WordPress Hosting & Maintenance Services for Those That Prefer to Focus on Something Other Than the Technical Aspects

Our rollover development time lets you save unused hours for future assistance. Stay updated and optimized, with the flexibility to invest in new functionality.

Article Categories

Dive in to something specific you are wanting to learn more about.

Let's Get Started!