WordPress.org

Ready to get started?Download WordPress

Forums

only show images for relevant page (3 posts)

  1. jbiddulph
    Member
    Posted 1 year ago #

    hi on my case studies page on my website:[URL="http://aet.inpreview.net/test/wordpress/projects/ufac/whitehall-quay/"]http://aet.inpreview.net/test/wordpress/projects/ufac/whitehall-quay/[/URL] (Case Study 2)

    I have 2 case studies

    1 with 3 images on the right the other with 2 on the right

    I need to be able to define which page I am on and only show the images for that page?!

    here is my code

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  2. keesiemeijer
    moderator
    Posted 1 year ago #

    I need to be able to define which page I am on and only show the images for that page?!

    Look at the conditional tags for pages: http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page

  3. jbiddulph
    Member
    Posted 1 year ago #

    I'm not sure if that is what I need to do?!

    the bottom 3 images on this page: here

    are coming from another page?!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.