Home>Support>Vantage Child Theme template not being called

Vantage Child Theme template not being called

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    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. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    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. 8 years, 10 months ago Private Message - Allen

    This is a private message.

  4. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More