Upload files to "/"

Initial commit.
This commit is contained in:
Nicholas A. Ferrell 2023-09-06 17:05:41 +00:00
parent 5e34179cd8
commit 4b81233c9e

View File

@ -0,0 +1,17 @@
<?php
/*
Plugin Name: Enable Pingbacks in WordPress Pages
Plugin URI: https://giteacoffee.emucafe.org/naferrell/enable-pingbacks-in-wordpress-pages
Description: Add pingback and trackback support to WordPress's native pages.
Author: Nicholas A. Ferrell
Author URI: https://thenewleafjournal.com/author/naferrell
Version: 1.0
License: MIT
License URL: https://opensource.org/licenses/MIT
Text Domain: enable-pingbacks-in-wordpress-pages
*/
// add pingback support to pages
// you may modify the below snippet to add pingback and trackback support to additional post types
// i.e., for post-type event you would add 'event' after 'trackbacks' with the same spacing in the parenthetical
add_post_type_support( 'page', 'trackbacks' );