WordPress show page codes after migration
-
Hi..
I design a wordpress site , after migration site in another host , the wordpress site show the page code!
how can i fix this problem?this is part of codes:
/** * Core Post API * * @package WordPress * @subpackage Post */ // // Post Type Registration // /** * Creates the initial post types when ‘init’ action is fired. * * See {@see ‘init’}. * * @since 2.9.0 */ function create_initial_post_types() { register_post_type( ‘post’, array( ‘labels’ => array( ‘name_admin_bar’ => _x( ‘Post’, ‘add new from admin bar’ ), ), ‘public’ => true, ‘_builtin’ => true, /* internal use only. don’t use this when registering your own post type. */ ‘_edit_link’ => ‘post.php?post=%d’, /* internal use only. don’t use this when registering your own post type. */ ‘capability_type’ => ‘post’, ‘map_meta_cap’ => true, ‘menu_position’ => 5, ‘hierarchical’ => false,
- The topic ‘WordPress show page codes after migration’ is closed to new replies.