w3K MODs – Test Page



w3K MODs – Feature Test Page

Instructions: This page tests all w3K MODs that have visible output or shortcodes. Check each section below to verify functionality.




πŸ”§ Shortcode Tests

1. Random Text / Quotes

MOD: Random Text (w3K_randomTxt)

Shortcode: [w3K-randomTxt]

Expected: Should display a random quote from your database. Refresh page to see different quotes.

Output:

βœ… Working if you see a quote above | ❌ Not working if you see the shortcode text

2. Random Image

MOD: Random Image (w3K_randomImg)

Shortcode: [w3K-randomImg folder="path/to/folder"]

Expected: Should display a random image from the specified folder (can be any path, not limited to uploads).

Note: Replace “images/logos” with an actual folder path on your server

Attributes:

  • folder – (Required) Path to folder containing images
  • href – Link URL to wrap image
  • target – Link target (_blank, _self, etc.)
  • style – Custom CSS styles
  • width – Image width
  • height – Image height
  • alt – Alt text
  • title – Title attribute
  • border – Border size

Output:

Random Image Test

βœ… Working if you see an image above | ❌ Not working if you see the shortcode text

3. Spacer Shortcode

MOD: Spacer (w3K_spacer)

Shortcode: [w3K-spacer x="0" y="0"]

Attributes:

  • x – Horizontal space (width) – supports px, em, % (default: 0)
  • y – Vertical space (height) – supports px, em, % (default: 0)

Expected: Should create vertical spacing between this text and the next.

Text before spacer

Text after spacer (should have 100px gap above)

More Examples:

[w3K-spacer y="20"]          - Add 20px vertical space
[w3K-spacer x="50"]          - Add 50px horizontal space
[w3K-spacer x="30" y="40"]   - Add both 30px width and 40px height
    

βœ… Working if you see a large gap | ❌ Not working if text is close together

4. Date-based Shortcodes

MOD: Date Codes (w3K_dateCodes)

Expected: Should display current date/time in various formats.

Shortcode Output Description
[year] 2026 Current year (e.g., 2025)
[month] February Current month (e.g., January)
[day] Monday Day of week (e.g., Monday)
[yyyymmdd] 2026/02/02 Date in yy/mm/dd format
[monthyear] February 2026 Month and year (e.g., January 2025)

βœ… Working if you see actual dates/times | ❌ Not working if you see shortcode text

5. Sidebar Shortcode

MOD: SideBar (w3K_sideBar)

Shortcode: [w3K-sideBar post-id="123"]Button Text[/w3K-sideBar]

Expected: Opens a sidebar with post content or external link.

Usage Options:

  • Shortcode for Post: [w3K-sideBar post-id="1"]Open Post[/w3K-sideBar]
  • Link for Post: <a href="#" class="w3K-sideBar-32">Open Post 1</a>
  • Link for URL: <a href="https://example.com" class="w3K-sideBar">Open Link</a>

Test Example: (Replace 1 with an actual post ID)

Or use a link: Test Sidebar Link

βœ… Working if sidebar opens with content | ❌ Not working if nothing happens




πŸ‘οΈ Visual/CSS Tests

6. Grayscale Image Effect

MOD: Custom Code CSS (w3K_CustomCode)

CSS Class: w3Kgrayscale

Expected: Image should be grayscale, then become color on hover.

Test Image

βœ… Working if image is gray and becomes color on hover | ❌ Not working if always in color

7. Custom CSS Classes

MOD: Custom Code CSS (w3K_CustomCode)

Expected: Each box should have specific styling applied.

Height Classes with Vertical Centering:

cv100px class: This div should be 100px tall with vertically centered text

cv125px class: This div should be 125px tall with vertically centered text

Negative Margin Classes:

Normal text with 50px left margin

ml-50px: This text should overlap left by 50px

ml-35px: This text should overlap left by 35px

ml-25px: This text should overlap left by 25px

βœ… Working if heights and margins are correct | ❌ Not working if styling doesn’t apply




βš™οΈ Admin Area Tests

The following features need to be tested in the WordPress admin area:

8. Menu Items – Check These in Admin

Menu Location Menu Item Expected Behavior
Left Sidebar w3K MODs Main menu with w3K icon showing MOD toggles
Plugins Menu Upload Plugin β†Ί Opens plugin upload page with upload section visible
Appearance Menu Upload Theme β†Ί Opens theme upload page with upload section visible
w3K MODs Submenu Quotes Manage random text quotes
w3K MODs Submenu Custom Code CSS/JS editor with CodeMirror
w3K MODs Submenu LevelΒ³ LevelΒ³ search settings (Make/Model/Year labels)

9. Generator Tag Removal

MOD: Generator (w3K_generator)

How to Test:

  1. View page source (Right-click β†’ View Page Source)
  2. Search for “generator” or “WordPress”
  3. You should NOT see meta tags like: <meta name="generator" content="WordPress x.x.x">

βœ… Working if no generator tags found | ❌ Not working if WordPress version is visible

10. WordPress Menu Removal

MOD: WP Menu Remover (w3K_removeWPmenu)

How to Test:

  1. Look at the admin bar at the top of the page (when logged in)
  2. The WordPress logo menu should be removed from the top-left

βœ… Working if no WP logo in admin bar | ❌ Not working if WP logo still shows

11. Custom Login Page

MOD: Customize Login (w3K_customLogin)

How to Test:

  1. Log out of WordPress
  2. Go to: your-site.com/wp-login.php
  3. Login page should have custom styling with Dashicons and your site logo

βœ… Working if custom styles applied | ❌ Not working if standard WP login appears

12. Custom Logo Support

MOD: Custom Logo (w3K_customLogo)

How to Test:

  1. Go to: Appearance β†’ Customize β†’ Site Identity
  2. You should see a “Site Logo” option to upload a custom logo

βœ… Working if logo upload option available | ❌ Not working if option missing

13. Protected Post Text Change

MOD: Change Protected Text (w3K_changeProtected)

How to Test:

  1. Create a password-protected post
  2. View the post (not logged in or without password)
  3. The title should show πŸ” Post Title instead of Protected: Post Title

14. Gutenberg Editor Status

MOD: Disable Gutenberg (w3K_DisableGutenberg)

How to Test:

  1. Create a new post or page
  2. If enabled, you should see the Classic Editor instead of Gutenberg block editor

βœ… Working if Classic Editor shows | ❌ Not working if Gutenberg blocks appear

15. Additional File Types

MOD: Additional File Types (w3K_AddFileTypes)

How to Test:

  1. Go to Media β†’ Add New
  2. Try uploading files like: .svg, .webp, .avif, .woff2, .json, .ico
  3. These file types should upload without errors (administrator only)

Supported Extensions: svg, svgz, ico, avif, webp, json, webmanifest, woff, woff2, otf, ttf, eot, zip, rar, 7z, css, js, xml, pdf, doc, docx, xls, xlsx, ppt, pptx, csv, txt, log, ics, mp4, mov, wmv, flv, avi

βœ… Working if files upload successfully | ❌ Not working if you get “file type not permitted” errors




πŸ”₯ Advanced Feature Tests

16. Post Duplicator

MOD: Duplicator (w3K_Duplicator)

How to Test:

  1. Go to Posts, Pages, Media (list view), Categories, Tags, Comments, or Users
  2. Hover over any item
  3. You should see a “Duplicate” link with an SVG icon
  4. Click it to create a copy

What Gets Duplicated:

  • Media: Creates new file with incremented name (filename.001.ext, filename.002.ext)
  • Posts/Pages: Creates draft copy with same content and metadata
  • Categories/Tags: Copies with “Copy” appended to name
  • Comments: Creates pending duplicate
  • Users: Creates new account with modified credentials

βœ… Working if duplicate link appears and creates copy | ❌ Not working if no duplicate option

17. User Masquerade

MOD: User Masquerade (w3K_UserMasquerade)

How to Test: (Administrators only)

  1. Go to Users list in admin
  2. You should see a “Masquerade” option for each user
  3. Click to login as that user
  4. An “Exit Masquerade” button should appear to return to your admin account

⚠️ SECURITY NOTES:

  • This is a powerful feature – only for trusted administrators
  • All masquerade events are logged with IP address and timestamp
  • Sessions are regenerated for security
  • Rate limited to 20 searches per minute

18. Username Changer

MOD: Username Changer (w3K_UsernameChanger)

How to Test:

  1. Go to Users β†’ Your Profile
  2. You should see a “Change Username” field
  3. Normally WordPress doesn’t allow username changes after creation



πŸ“Š Quick Test Checklist

All 18 MODs Quick Reference

Click on any status to cycle: ⬜ (Not Tested) β†’ βœ… (Working) β†’ ❌ (Not Working)

MOD Name Test Status Where to Test
1. Generator ⬜ Page Source (Section 9)
2. WP Menu Remover ⬜ Admin Bar (Section 10)
3. Random Text ⬜ Section 1 – Shortcode Test
4. Random Image ⬜ Section 2 – Shortcode Test
5. Direct Upload ⬜ Admin Menus (Section 8)
6. Change Protected Text ⬜ Protected Posts (Section 13)
7. Custom Login ⬜ Login Page (Section 11)
8. Custom Logo ⬜ Customizer (Section 12)
9. Level³ Search ⬜ Admin Settings (Section 8)
10. Spacer ⬜ Section 3 – Shortcode Test
11. Date Codes ⬜ Section 4 – Shortcode Test
12. SideBar ⬜ Section 5 – Shortcode Test
13. Duplicator ⬜ Posts/Media Lists (Section 16)
14. Additional File Types ⬜ Media Upload (Section 15)
15. Custom Code ⬜ Sections 6-7 + Admin Menu
16. Disable Gutenberg ⬜ Post Editor (Section 14)
17. Username Changer ⬜ User Profile (Section 18)
18. User Masquerade ⬜ Users List (Section 17)

Legend: ⬜ = Not Tested | βœ… = Working | ❌ = Not Working

Summary: 0 Working | 0 Not Working | 18 Not Tested


⚠️ Important Testing Notes

  • All MODs must be enabled in: w3K MODs β†’ Settings (toggle switches)
  • Random Image shortcode can use any server path, not limited to uploads folder
  • Spacer uses x and y attributes (not height)
  • Date Codes use simple shortcodes like [year] without w3K- prefix
  • Sidebar feature requires valid post IDs to test
  • LevelΒ³ Search is for nasa-core plugin integration
  • Security features (User Masquerade) are logged for audit
  • Additional File Types only work for administrators

w3K MODs Test Page | Version 2.0.0 |
Created: December 2025