• Resolved dequecolour

    (@dequecolour)


    I did search around some first to see if this had already been answered because I feel like it must have happened to someone else already..

    The posts on my homepage are not linking to the actual posts. Not sure what I did to jack that up..

    Can anyone advise me on how to link them back? I’d like the post previews to link to the corresponding posts.. ideally in two places — if you click on the picture preview or the title.

    My site is a twentytwelve child theme
    it’s being developed at internalcompass.us/castle

Viewing 6 replies - 1 through 6 (of 6 total)
  • Change your theme to Twenty Twelve and see if the links work.

    Thread Starter dequecolour

    (@dequecolour)

    @krishna, yes, the homepage links to my posts do work if i switch from my child theme back to twenty twelve. however, my child theme is pretty customized, so the homepage, for example, does not even have two columns if i switch to the twenty twelve theme.

    creating the two columns and their customization are, i suspect, where i messed up the code. anyone have ideas for how i can keep my current theme active and link to the posts?

    thanks so much anyone who can chime in

    creating the two columns and their customization are, i suspect, where i messed up the code.

    Yes, likely – in which case, posting the code to a pastebin so someone can look at it would be logical.

    Thread Starter dequecolour

    (@dequecolour)

    sure thing. let me know if this isn’t the correct way to share pastebin.
    (i’ve actually had others ask me NOT to post pastebin links on support sites?!)

    here is content.php

    https://pastebin.com/PZZLe8Bk

    here is index.php

    https://pastebin.com/2SvEgEwb

    i have not added anything to functions.php — it’s just sourcing the twentytwelve base file

    thank you!

    Thread Starter dequecolour

    (@dequecolour)

    pretty sure the code i want to add is:

    <h1 class="entry-title">
        <a>" rel="bookmark"><?php the_title(); ?></a>
    </h1>

    but when i add that exactly, the titles show twice and the ones with the dates don’t link. so that’s where i’m at

    Thread Starter dequecolour

    (@dequecolour)

    i resolved this with this support information in case anyone encounters a similar issue:

    https://wordpress.stackexchange.com/questions/108215/links-to-posts-not-working-on-homepage

    thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘post previews on homepage not linking to actual posts’ is closed to new replies.