Giter VIP home page Giter VIP logo

Comments (8)

jfarsen avatar jfarsen commented on June 25, 2024

In a related note, the plugin works perfectly, that I can tell.

So it's only that error msg that gets triggered, but no ill effect.

from bb-header-footer.

Nikschavan avatar Nikschavan commented on June 25, 2024

Can you tell me what is the folder name of you theme?

Have you modified the bb theme somehow?

from bb-header-footer.

jfarsen avatar jfarsen commented on June 25, 2024

Sure. The parent theme's folder name is unchanged, at /themes/bb-theme/. The child-theme's folder name is /themes/bb-csynchro/

I've done zero changes to the BB parent theme. We never do that.

from bb-header-footer.

Nikschavan avatar Nikschavan commented on June 25, 2024

Ok This should not be happening, The plugin checks for the theme/parent theme template using get_template() function, in case of using a child theme it correctly returns the slug of parent theme.

Can you add this bit of code to your child theme's functions.php

function child_theme_get_template() {
	var_dump( get_template() );

	return '';
}

add_action( 'update_footer', 'child_theme_get_template', 99 );

This will print the template name in the admin footer area like this, Can you copy and paste that info here?

After you copy that remove this above code from your child theme.

from bb-header-footer.

jfarsen avatar jfarsen commented on June 25, 2024

Sure thing, the result is this : string(8) "bb-theme" :(

from bb-header-footer.

Nikschavan avatar Nikschavan commented on June 25, 2024

What is the exact error message? Can you give a screenshot of the notice?

from bb-header-footer.

jfarsen avatar jfarsen commented on June 25, 2024

Hey, I think I have another clue ... since it's a Multisite, on the "micro-sites" that use the bb-child, it's fine. But on the main site (landing page), which uses a different theme, the error message appears, since it's using a different theme.
screen shot 2017-02-16 at 16 05 56

from bb-header-footer.

Nikschavan avatar Nikschavan commented on June 25, 2024

Ha! That explains it, I will make this notice dismissable so that this can be removed in such cases.

from bb-header-footer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.