Upload files to "/"
Initial commit.
This commit is contained in:
parent
5e34179cd8
commit
4b81233c9e
17
enable-pinpgacks-for-pages.php
Normal file
17
enable-pinpgacks-for-pages.php
Normal 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' );
|
Loading…
Reference in New Issue
Block a user