Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Can not Add New Post

$
0
0

Replies: 0

Hi !

I am trying to add a new blog post, but when I click ‘Add New Post’ it takes me to a page with web code (? like a Style sheet kind of). I’ll put the first part of what is coming up at the end of my question….

This website has been up for years and just occurred on the weekend. I hadn’t made any changes to the site. I last added a new post about a week ago and all was fine.

I updated everything, deleted unused Plugins. I’m on version 5.1 of WordPress and running Divi theme.

Site is still live and I can edit previous posts, just not add a new one.

Any thoughts on why?

Thank you !

Here’s the first part of the code that appears on the page when I click ‘Add New Post’:

<?php
/**
* New Post Administration Screen.
*
* @package WordPress
* @subpackage Administration
*/

/** Load WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . ‘/admin.php’ );

/**
* @global string $post_type
* @global object $post_type_object
* @global WP_Post $post
*/
global $post_type, $post_type_object, $post;

if ( ! isset( $_GET[‘post_type’] ) ) {

  • This topic was modified 9 minutes ago by tracey75.

Viewing all articles
Browse latest Browse all 59525

Trending Articles