New Topic

cochi

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: nivo slider messed up #2232

    cochi
    Participant

    It is not an isolated issue. I had the exact same problem with the same symptoms. To fix it I had to do the same thing, to install the 2.2 version.


    cochi
    Participant

    Yes, this time everything works just fine.

    Thank you very much for your help. You have a great theme.


    cochi
    Participant

    Hi,

    I tried the second code but it’s not working either, I’m getting the same error message:
    “Parse error: syntax error, unexpected ‘}’, expecting ‘,’ or ‘;’ in …/wp-content/themes/startuppro-child/entry.php on line 3”

    That’s OK. For what I need I think that the solution that I found is good enough. If I will notice something not working properly I can always just delete the file from the child theme and it will use the original one from the parent theme.

    Thank you for your help.


    cochi
    Participant

    Hi,

    I tried your code but I’m getting the following error: “Parse error: syntax error, unexpected ‘Read’ (T_STRING), expecting ‘,’ or ‘;’ in …/wp-content/themes/startuppro-child/entry.php on line 3”

    For now I put back my code.

    Thank you.


    cochi
    Participant

    I fixed it. For everybody who will want to do it:
    On the child theme modify the entry.php file:
    Replace
    <?php if ( is_singular() ) {echo '<h1 class="entry-title">';} else {echo '<h2 class="entry-title">';} ?><a href="<?php the_permalink(); ?>" title="<?php printf( __('Read %s', 'startup'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a><?php if ( is_singular() ) {echo '</h1>';} else {echo '</h2>';} ?>
    with
    <?php if ( is_singular() ) { echo '<h1 class="entry-title">'; } else { echo '<h2 class="entry-title">'; } ?><?php the_title(); ?><?php if ( is_singular() ) { echo '</h1>'; } else { echo '</h2>'; } ?> <?php edit_post_link(); ?>


    cochi
    Participant

    Thank you for your quick reply but it’s not about appearance. I don’t think that you understood me. Right now the title of each post is also a link to the same post, basically the page will have a loop link. I think that when you load the full post the title should be only text, not a link.
    To understand better please take a look here. As you can see the title of the post, “The tech news of the day. 09/08/2014” is also a link to the same page. I will like to be only text.
    This is the code:
    <a href="http://www.computeronechicago.com/news-of-the-day-september-08-2014/" title="The tech news of the day. 09/08/2014" rel="bookmark">The tech news of the day. 09/08/2014</a>
    I will like to remove the anchor html tag.

    Thank you

Viewing 6 posts - 1 through 6 (of 6 total)