def new
      core__set_header_active_page_title(LANGUAGES[:lato_blog][:pages][:posts_new])
      @post = LatoBlog::Post.new

      set_current_language params[:language] if params[:language]

      if params[:parent]
        @post_parent = LatoBlog::PostParent.find_by(id: params[:parent])
      end

      fetch_external_objects
    end
def new
      core__set_header_active_page_title(LANGUAGES[:lato_blog][:pages][:posts_new])
      @post = LatoBlog::Post.new

      set_current_language params[:language] if params[:language]

      if params[:parent]
        @post_parent = LatoBlog::PostParent.find_by(id: params[:parent])
      end

      fetch_external_objects
    end
This function shows the view to create a new post.