• Resolved mickwarnes

    (@mickwarnes)


    I have managed to list excerpts of various posts on to the home page of an existing website with a ‘read more’ hyperlink. But how do I get that hyperlink to go to the full post in a template not housed within WordPress?

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi

    (@esmi)

    Thread Starter mickwarnes

    (@mickwarnes)

    Thanks Esmi, I used this to create the excerpts in the home page, but when I click on read more it picks up a template I created (when I thought I would convert the whole site). Where is the setting to change what template the hyperlink goes to?

    esmi

    (@esmi)

    The theme is applied globally to all pages/posts in your WP install. The actual template file used for single posts is single.php.

    Thread Starter mickwarnes

    (@mickwarnes)

    Can I change it to an existing php page on my website?

    esmi

    (@esmi)

    In theory – if you edited the Loop in your original post listing page and changed the post url.

    Thread Starter mickwarnes

    (@mickwarnes)

    Thank you for patience. I have been huffing and puffing at this for hours, so I’m not sure if I don’t get it or whether I am explaining it badly.
    So, I have a WP installation in a folder on the root of the existing website with some posts on it.
    I have included code used in Integrating_Wordpress_with_Your_Website to show excerpts of the posts on the original websites home page.
    When I click on the read more hyperlink the full post comes up, but in a WP template. but I want it to appear on an existing php on the website.
    A) can this be done and B) how do you do it?
    Thanks

    esmi

    (@esmi)

    No – that can’t be done as far as I am aware.

    Thread Starter mickwarnes

    (@mickwarnes)

    Thanks Esmi
    I am a bit new to this and unsure of it’s limits, but now i can explore a different approach.
    Mick

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Showing posts in existing website’ is closed to new replies.