WordPress.org

Ready to get started?Download WordPress

Forums

Call to undefined function when I copy template. (3 posts)

  1. blogseolady
    Member
    Posted 12 months ago #

    Is it normal to get an error "Call to undefined function... on line so so" when you copy a template and save it as a new file? This happens whether it's a child theme or the theme itself (I'm using Suffusion) and even if I give the template a new name.

    This is driving me crazy. All I want to do is make two "page of posts" page - one is private and another public. I can't make one "Private" via the post editor because if it's a "page of posts" in my theme, it overrides the privacy setting and automatically makes it public.

  2. Is it normal to get an error "Call to undefined function... on line so so"

    Not really, no. ;)

    Are you copying and entire parent theme's functions.php file into the child theme? If you are then don't do that. That's not how it works with child themes.

    All I want to do is make two "page of posts" page - one is private and another public.

    This Codex link should help you start with a page of posts.

    http://codex.wordpress.org/Pages#A_Page_of_Posts

    Once you have that Page of Posts then you can work on creating that private version.

  3. blogseolady
    Member
    Posted 11 months ago #

    I was duplicating a Page of Posts template, hoping to assign one to a public page of posts, and the other to a private page of posts. Thank you for the help. I found a way to display a list of private posts inside a single page. So I just use that as the private posts page.

Reply

You must log in to post.

About this Topic

Tags