Function results displaying before HTML tags (2 posts)

  1. michaelnewsomejr
    Posted 1 year ago #

    Here is the live site, currently:

    Here is the source code:
    add_action( 'genesis_before_entry', 'post_information' );
    function post_information() {
    echo the_category() . " // " . the_date();

    This is in the functions.php file of a Genesis child theme. The desire is for it to display like this:
    Category // Date

    I would then be able to position it and fix the CSS. I know it's something simple I am overlooking.

    Thanks in advance for the help, everyone.

  2. michaelnewsomejr
    Posted 1 year ago #

    Anyone able to help?

Topic Closed

This topic has been closed to new replies.

About this Topic