• Hello Alex
    I’m trying to set the rich snippets and I should change single.php

    <h1> class=”post-title”> <? php the_title ();?> </ h1>
    with
    <h1> class=”entry-title”> <? php the_title ();?> </ h1>
    (Changing the title in the post becomes small)

    <? php the_time (get_option (‘date_format’));?>
    with
    <span class=”date updated”> <? php the_time ();?> </ span>

    <? php if (! ot_get_option (‘author-bio’) && get_the_author_meta (‘description’)):?>
    with
    <span class=”vcard author”>
    ? <span class=”fn”> Author Name </ span>
    </ span>

    Am I wrong?
    I hope you can help me

Viewing 1 replies (of 1 total)
  • Thread Starter zedrl

    (@zedrl)

    I solved it. Only by changing from a post-title entry-title, the title of the page became too small and I had to edit the css file like this:. Single. Entry-title {font-size: 38px; letter-spacing:-1px;-line height: 1.3em;} correct?

    Now I’m trying to hide <p class=”post-byline”> hope to solve this time without going crazy :))

Viewing 1 replies (of 1 total)
  • The topic ‘Rich snippet’ is closed to new replies.