Support » Fixing WordPress » Function results displaying before HTML tags

  • 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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Function results displaying before HTML tags’ is closed to new replies.