Support » Themes and Templates » Sidebar, no search results and the_author_meta description problem

  • Hi there,

    Although having taken several html and css classes and a single php class, I am new to wordpress theme development. And facing a challenge!

    The thing is:

    I’ve made a sidebar.php template for my theme (zombier.dk) – not ready for widgets – just keeping it simple. The lines are as follows:

    1. calling get_avatar function to get avatar picture
    2. calling the_author_meta(‘description’) to get a description of me
    3. calling the search form function <?php get_search_form(); ?>

    It all works well, and I get the results back on the search.php page etc. – however:
    When there are no matching results, the “the_author_meta(‘description’) is not there, so I’ve got only the avatar, then the search form. And it looks a bit weird.

    I would appreciate any ideas on how to solve this problem…?

    Cheers,

  • The topic ‘Sidebar, no search results and the_author_meta description problem’ is closed to new replies.