Hello!
I’m very happy with GeneratePress and GP Premium.
My site is here:
https://mihku.fi/ihmettele/
There are two blogs on the site, made with different categories. I wanted to add the blog name inside mobile menu, so that people could easily return to the blog home page.
This code snipped accomplished what I wanted:
add_action( 'generate_inside_mobile_menu_bar','insert_blog_name_after_slider' );
function insert_blog_name_after_slider() { ?>
<?php if ( in_category(Ihmettele) ) : ?>
<a href="https://mihku.fi/ihmettele/">Ihmettele-lehti</a>
<?php endif; ?>
<?php if ( in_category('digiope.fi') ) : ?>
<a href="https://mihku.fi/digiope/">Digiope</a>
<?php endif; ?>
<?php }
One problem: when you press the search buttom, the blog name (Ihmettele-lehti) does not change color to dark gray. Help?
Mikko