WP Page Templates 1.1.17

Does WP Page Templates work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
12PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 143.24 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/custom-page-templates-by-vegacorp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

WP Templates ‹ Test site — WordPress

Page screenshot: WP Templates ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wcpt_welcome_page
Requested URL /wp-admin/plugins.php?action=activate&plugin=custom-page-templates-by-vegacorp%2Fpage-layouts.php&plugin_status=all&paged=1&s&_wpnonce=b226fc47a9
Aspect after-activation
HTTP status 200
Load time 0.911 s
Memory usage 4.01 MiB
JS errors None
Resource errors None

WP Templates

Page screenshot: WP Templates
URL /wp-admin/admin.php?page=wcpt_welcome_page
Aspect menu-item
HTTP status 200
Load time 0.160 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

WP Templates → Upgrade  ➤

Page screenshot: WP Templates → Upgrade  ➤
URL /wp-admin/admin.php?page=wcpt_welcome_page-pricing
Aspect menu-item
HTTP status 200
Load time 0.267 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.193 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Add Page ‹ Test site — WordPress

Page screenshot: Add Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.622 s
Memory usage 6.25 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.323 s0.295 s-0.028 s3.51 MiB3.7 MiB+ 195.02 KiB
/wp-admin/edit.php0.201 s0.194 s-0.007 s3.57 MiB3.72 MiB+ 155.16 KiB
/wp-admin/post-new.php0.751 s0.634 s-0.117 s6.06 MiB6.26 MiB+ 199.16 KiB
/wp-admin/upload.php0.529 s0.486 s-0.043 s3.52 MiB3.64 MiB+ 119.11 KiB
/wp-admin/options-writing.php0.208 s0.184 s-0.024 s3.5 MiB3.62 MiB+ 123.66 KiB
/wp-admin/media-new.php0.253 s0.223 s-0.030 s3.49 MiB3.62 MiB+ 131.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.166 s-0.004 s3.5 MiB3.64 MiB+ 137.03 KiB
/wp-admin/post-new.php?post_type=page0.586 s0.639 s+0.053 s6.05 MiB6.24 MiB+ 195.19 KiB
/wp-admin/options-discussion.php0.311 s0.489 s+0.178 s3.5 MiB3.62 MiB+ 120.16 KiB
/wp-admin/edit-comments.php0.380 s0.373 s-0.007 s3.52 MiB3.64 MiB+ 119.66 KiB
/0.324 s0.225 s-0.099 s3.43 MiB3.51 MiB+ 80.16 KiB
Average 0.367 s0.355 s-0.012 s3.97 MiB4.11 MiB+ 143.24 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP71.3%660357
JavaScript25.5%236181
CSS3.2%3001
Total 926 53 9

PHP Code Analysis | More results »

Lines of code 562
Total complexity 68
Median class complexity 65.0
Median method complexity 2.0
Most complex class VG_Page_Layouts
Most complex function VG_Page_Layouts::render_section_fields()
Classes 1
Methods 19
Functions 2

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 6

Meta Boxes

{
    "page": {
        "vg-page-layouts": {
            "title": "Page layout",
            "context": "side"
        }
    }
}

PHP Error Log 12 lines

[19-Jul-2025 09:23:48 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[19-Jul-2025 09:23:48 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[19-Jul-2025 09:23:48 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[19-Jul-2025 09:23:48 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[19-Jul-2025 09:23:49 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[19-Jul-2025 09:23:49 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[19-Jul-2025 09:23:49 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[19-Jul-2025 09:23:49 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[19-Jul-2025 09:23:50 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[19-Jul-2025 09:23:50 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[19-Jul-2025 09:23:51 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[19-Jul-2025 09:23:51 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
See also: All tests for this plugin, How to Hide WP Page Templates Admin Menus and Meta Boxes