Forum Replies Created
- AuthorPosts
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.
September 10, 2014 at 2:36 PM in reply to: When viewing a single post page, make the title not a link but just text #1867Yes, this time everything works just fine.
Thank you very much for your help. You have a great theme.
September 10, 2014 at 11:22 AM in reply to: When viewing a single post page, make the title not a link but just text #1865Hi,
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.
September 9, 2014 at 3:07 PM in reply to: When viewing a single post page, make the title not a link but just text #1858Hi,
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.
September 8, 2014 at 4:54 PM in reply to: When viewing a single post page, make the title not a link but just text #1852I 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(); ?>
September 8, 2014 at 1:56 PM in reply to: When viewing a single post page, make the title not a link but just text #1851Thank 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
- AuthorPosts