In your index.php you’ll want to find the part where it says:
<h1 class="entry-title"><?php the_title(); ?></h1>
and then change it to this:
<a href="<?php the_permalink(); ?>"><h1 class="entry-title"><?php the_title(); ?></h1></a>
the links would be there as default;
what edits have you made to content.php of the theme?
original posts’ title section if not single post:
<?php else : ?>
<h1 class="entry-title">
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
Thread Starter
neile
(@neile)
@alphaalec
I searched my index.php, but I can’t find that text – the closest things are these two lines:
<h1 class="entry-title"><?php _e( 'No posts to display', 'twentytwelve' ); ?></h1>
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1>
@alchymyth
Hmm, I don’t believe I made any changes, as content.php doesn’t show up in the templates list in my editor.
Thread Starter
neile
(@neile)
Okay, I’ve looked up my content.php, and found this section:
<?php else : ?>
<h1 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
</h1>
I’ve replaced that with the code which Alchymyth gave me, but it doesn’t seem to have done anything, even when I refresh…
what is the full code of content.php of your child theme?
(http://codex.wordpress.org/Forum_Welcome#Posting_Code – please use the pastebin)
how are you getting the italic titles?
are you using a plugin?
just checked a category archive, which in the unedited theme would also use content.php, and the post titles in the list are linked; i.e. content.php is probably ok.
actually, what is the code of home.php or index.php of your theme?
Thread Starter
neile
(@neile)
I’ve posted the index.php here:
http://pastebin.com/MAYPVNrv
I got the italics through HTML – I didn’t realise there was anything unusual about that, since it always worked with Blogger…
are all these codes from the templates in your child theme?
what templates are in the child theme?
what plugins are you using?
I still suspect that the posts page is calling a different template instead of content.php
Thread Starter
neile
(@neile)
Yeah, the codes are all from my child theme.
Child theme templates:
index.php
content.php (copied to child theme after starting this thread)
front-page.php
header.php
footer.php
page-template.php
single.php
style.css
rtl.css
Plugins:
Custom CSS Manager
Jetpack
One-Click Child Theme
Site Creator Ultimate
Akismet (inactive)
Hello Dolly (inactive)
Any ideas?
Thread Starter
neile
(@neile)
that front-page.php seems to be used to create the posts list on the front page; as it is calling content-page.php the titles are not linked.
if you need that page template as a page template in your child theme but not for the front page, you might need to move it into a sub folder /page-templates/ analogous as in the parent theme, or rename the file …
Thread Starter
neile
(@neile)
Aha! Renaming it “front-pageb.php” did the trick.
Thanks for the help, much appreciated =)