WordPress.org

Ready to get started?Download WordPress

Forums

Stargazer
Italics Don't work in Post title (1 post)

  1. TheRiz
    Member
    Posted 4 months ago #

    Italics currently do not work in a post title, on the post page. They DO work on the category page.

    In the WordPress Support forum, someone suggested this fix:

    I'm not sure why its not printing out as italic. The index.php (homepage) and single.php are using the same code to display the title on the page.

    The code it's using is:
    <h1 <?php hybrid_attr( 'entry-title' ); ?>><?php single_post_title(); ?></h1>
    Now, I went into content.php and changed:
    <?php single_post_title(); ?>
    over to
    <?php the_title(); ?>
    which seems to have resolved the problem.

    But when stargazer gets an update this is going to revert.

    Thanks

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.