Hello,
Try to add the below code to the functions.php file of the child theme and see it works or not.
function prefix_tagline() {
// Site description
if ( '' != get_bloginfo( 'description' ) ) { ?>
<div id="site-description"><h2><?php echo bloginfo( 'description' ); ?></h2></div>
<?php
}
}
add_action( 'ocean_after_logo_img', 'prefix_tagline' );
Dear Amit,
Thank you for your quick reply.
I have seen your solution before but my level of skill is early learner e.g. I don’t know what ‘child theme’ means. I googled around and looked for the ‘functions.php file of the child theme’ in the recommended places but I couldn’t find it. Can you tell me in a simple and complete way how to find this file ?
I have discovered that the tagline DOES appear on the website when this option is selected…
Dashboard->Appearance->Customise->Header->General->Style->Top Menu
I have also read that the ‘OceanWP Author’ says the Tagline only appears when the Site Icon is displayed. But I haven’t tested this yet
And as I said before the tick box for ‘Display Site Title and Tagline’ present in June 2017 has disappeared.
These 3 facts taken together may it look like the Theme Author has created this situation deliberately but I cannot understand what advantage has been gained.
It just looks unnecessarily awkward.
Is there some official OceanWP documentation on this topic?
and
Is it possible to ask the theme author to correct this issue?
sugafairie
Okay, I’ll pass your query to the theme author.
Hello @sugafairie, the tagline can only be displayed with the Top Menu style because for other styles, there is not enough space to add it.
Dear Amit and Theme Author,
Thank you very much for answering my questions,
Kind Regards,
sugafairie