WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] functions.php displays in header (4 posts)

  1. Delltar
    Member
    Posted 8 months ago #

    Hi, this is my first time coding a wp theme. I have problem with functions.php content, since it displays in my site's header. I have absolutely no idea why this is happening.
    content of my functions.php is this:

    // Enable post thumbnails
    add_theme_support('post-thumbnails');
    set_post_thumbnail_size(600, 420, true);

    Could this be caused by wrong markup?

    Thank you for any help!

  2. vestimir
    Member
    Posted 8 months ago #

    Did you enclose this in <?php and ?>?

  3. Delltar
    Member
    Posted 8 months ago #

    No sir, I did not, thank you so much. I really am new to this and as it seems logical now, it didn't occur to me before :-)

  4. Delltar
    Member
    Posted 8 months ago #

    resolved :)

Reply

You must log in to post.

About this Topic