This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Vantage Child Theme template not being called

10 years ago · Last reply by Andrew Misplon 10 years ago

Hi

Having trouble getting our Vantage Child Theme working. The child theme does appears not to be called and hence any php in the child theme is not executing.

Saw this Thread – https://siteorigin.com/thread/wp-vantage-template-tags-php/

Added the suggested code into the Functions.php file in the Child theme. Also checked the other Vantage child theme guides dotted about.

Child theme style.css is the following:

/*
 Theme Name:   Vantage Child the second
 Author:       SiteOrgin
 Template:     vantage
 Version:      1.0.0
*/
@import url("../vantage/style.css");
/* ---- Add changes below ---- */
body {
  background: #f00;
}

Added in an error_log(); command in child functions, template-tags.php AND template-tags.php in the parent theme.

Log file looks like this :

[Fri Nov 27 15:56:06 2015] [error] [client xxx.xxx.xxx.xx] I am in child functions
[Fri Nov 27 15:56:06 2015] [error] [client xxx.xxx.xxx.xx] I am in template tags – master

Note: I have written xxx.xxx.xxx.xx over the client IP in the log above.

Checked permissions, spellings and other things. Still cannot get the code in the child ./inc/template-tags.php to work.

We are running the latest version of the theme. We have also taken out all plugins, but again no change to functionality.

Any guidance would be appreciated.

Thank you

Allen

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

4
  1. Andrew Misplon Staff 10 years, 2 months ago

    Hi Allen

    For performance reasons, it’s better to enqueue the parent style.css file. Perhaps, use our Vantage starter child theme:

    https://siteorigin.com/wp-content/uploads/2015/03/vantage-child-starter.zip

    For me to diagnose the problem you’re having I’d need to see the site.

  2. Andrew Misplon Staff 10 years, 2 months ago

    Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

    Thanks :)

  3. Allen Private 10 years, 2 months ago

    This is a private message.

  4. Andrew Misplon Staff 10 years, 2 months ago

    Thanks for your feedback.

    Can you please, ZIP your child theme and send me a copy? You can send by uploading the ZIP to your Media Library and sending the link.

    Right now your child theme is working. You have two child style.css files most likely because you’re @importing and enqueuing, it must be one or the other.

    Why do you think your child theme isn’t working?

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread