Forums

[resolved] How to not show a post (only by clicking the link)? (5 posts)

  1. emoncao
    Member
    Posted 3 years ago #

    Can anyone help me? I created a post and inside this post I'd like to have a link to a new window to another post (this last post would obly be visible by clicking the link on the main post, so, in words words, it would be not visible, only through clicking)

    Is it possible?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    You can create a link to any post inside any other post in the same way you add a link to another web site within a post. The harder part would be ensuring that this second post doesn't appear in any of your archive pages.

  3. emoncao
    Member
    Posted 3 years ago #

    Thanks esmi,

    I know how to insert a link from any other site on my site. What I'd like to know is how I can create a page (with my blog's layout) that would only be visible when the person clicks the link on one of my posts.

    Do you know?

  4. MichaelH
    Volunteer
    Posted 3 years ago #

    1.Create the Page.

    2.Put the Page URL as a link in your post as esmi suggested.

    3.If you don't want the Page to show in other areas of your blog then find out what technique is used to display those pages and change it to exclude pages. Typically that is accomplished by using the exclude=x parameter with the template tag, wp_list_pages().

  5. emoncao
    Member
    Posted 3 years ago #

    Thanks MichaelH, I will try it!

Topic Closed

This topic has been closed to new replies.

About this Topic