Thanks for all the help which pointed me in the right direction. In the end I used the following:
$style_parent_theme = wp_get_theme(get_template());
$style_parent_theme_author = $style_parent_theme->get( 'Author' );
I use get_template() to recover the folder name of the parent theme.
wp_get_theme then get’s the theme object.
Once we have that we can manipulate the object to get the author name.
Related Posts:
- Get parent theme version
- Versioning @import of parent theme’s style.css
- how do I queue my Child stylesheet/s *after* every Parent stylesheet/statement?
- Issues enqueueing parent & child theme stylesheets with revised Codex method
- Why is the Child Theme Stylesheet Not Loading?
- Theme Customization API and child themes
- How to use parent theme’s enqueue methods
- Do all files in child theme override the parent?
- Do I need to update the child theme too after updating the parent?
- Use admin options from parent theme in child theme
- How to “remove” file from parent theme
- Find a Parent Theme’s stylesheet $handle when it registers a stylesheet
- replace parent theme images in child theme
- Localization: Textdomain of Child teme
- How do I override a sidebar that is registered in a parent theme when using a child theme?
- Remote install won’t find Parent theme when intalling Child Theme, but local install does
- Order of stylesheets in child theme
- How to create a parent theme for accesspress parallax theme?
- What are the best practices for maintaining and deploying several parent themes?
- Which is the child theme and which is the parent theme?
- Creating a child theme: How do I find the template name of the parent directory?
- WordPress + Child Theme = Am I missing something?
- Referencing parent theme image from child theme
- Override file in parent theme
- Can I place “parent theme” inside a child theme folder?
- Making a child theme in order to update the parent theme
- Can I still switch to a child theme?
- How to activate the child theme in WordPress?
- How to add modified php in child theme?
- How to override JavaScript files in child theme?
- How to override parent functions in child themes?
- How to add code to Header.php in a child theme?
- Why does my child theme CSS get called twice?
- How to *remove* a parent theme page template from a child theme?
- How do themes provide support for child themes?
- Attributing a version number to a child theme’s main stylesheet
- Preserving theme settings in child theme
- Is it possible to make grandchild themes?
- Override parent theme translation on child theme
- How to cache bust a child theme style.css
- Child theme – Overriding ‘require_once’ in functions.php
- Is a text-domain necessary for a child theme
- How to modify single.php in a child theme?
- Cannot get Child Theme to load latest version of style.css
- @package & @subpackage: how to use with child themes
- How to override function in child theme
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Hiding Parent Theme
- Child Theme vs Duplicate Theme Renamed
- get_stylesheet_directory() vs get_template_directory() for child theme
- Difference between stylesheet_directory and template_directory
- Declaring an instance of class included in parent theme from child theme functions.php
- get_parent_theme_file_path vs. get_template_directory
- How to Add Customizer Setting in Child Theme
- Git vs Child Theme
- Give priority to child theme stylesheet
- Child theme does not overwrite parent themes style.css
- how to call files in child theme?
- Optimal approach for replacing the 8 header images in a child theme?
- How to transfer changes to a child theme?
- WordPress master + child themes + Git workflow
- How do I override a parent theme’s language files with a child theme?
- something like is_childtheme()
- override parent theme configuration in child functions.php
- Is it possible to override this function/class in a child theme?
- Child theme showing a blank page
- Child theme preview missing
- Child Theme Performance
- How could child theme be different than parent theme if I haven’t made changes?
- How to solve “Warning: Use of undefined constant” when overriding a parent theme function in the child theme?
- get_template_directory vs get_stylesheet_directory
- Theme customizer: How do you grab the value later?
- Override parent theme function that is not hooked or in the functions.php file
- Developing a childtheme, how to disable the parents templates?
- Under heavy cache conditions, updating the parent theme don’t reflect changes with child theme enabled
- How to maintain wp_enqueue_style dependencies set in parent theme style enqueuing
- Child Theme, Functions.php Issues
- Redefining function in child themes
- How do I check for child theme files first using include, before going to parent theme?
- How can you change default color scheme in a Twenty Fifteen child theme?
- When activating a child theme, what core settings have to be reset ie; Custom Menus etc?
- Hwo to turn off “get_parent_theme_file_path” in child-theme?
- How to dequeue / deregister parent theme style
- Overriding parent theme file
- How to override the Parent theme Function into child themes functions.php
- Child Theme CSS Not Overriding Parent Theme In MultiSite Site
- How can I make new .css file in child theme override styles in child theme’s style.css
- How to remove a parent theme template from Quick Edit?
- add sidebar area to header of child theme
- Enqueue styles properly in a child theme and stylesheets location
- Enqueue more than two CSS styles in a child theme functions.php
- Proper way to make a tweaked theme into child-theme setting?
- Override parent theme translation on child theme
- Promoting child theme to stand alone
- How to disable updates in WordPress theme
- Style.css in child theme is loaded before Bootstrap
- Activating child theme returns “active theme is broken”
- Overiding functions.php with child-theme
- How are updates to the style.css file in child theme recognized?
- How to check active theme is parent or child wordpress