<?php
/*
Plugin Name: Auto Scroll Articles Pro
Description: Smooth auto scrolling with next post navigation and refresh fallback.
Version: 1.0
Author: Hostegor
*/

if (!defined('ABSPATH')) exit;

function asap_enqueue_scripts() {
    if (is_single()) {
        wp_enqueue_script('asap-script', plugin_dir_url(__FILE__) . 'asap-script.js', array(), null, true);
    }
}
add_action('wp_enqueue_scripts', 'asap_enqueue_scripts');
