The MU forums have moved to WordPress.org

getting ID of the post that i cilck on (4 posts)

  1. Anonymous
    Unregistered
    Posted 15 years ago #

    Hello All,

    My Name is Somasundaram, Now i am working on a site using wordpress, in the middle of developing the site i got a problem.

    these are the some sample posts in wordpress
    please check URL for more reference:
    http://img99.imageshack.us/my.php?image=70388334il2.png

    I can able to get the ID of the post in side the loop, but i want to get the ID of the post that i click on in outside the loop.

    please check URL for more reference:
    http://img73.imageshack.us/my.php?image=64714928xr5.png

    I am using mootools, i want load those contents inside the div that i initially make visibility false after then by passing mootools i make the div's visibility true.

    please check URL for more reference:
    http://img228.imageshack.us/my.php?image=3ahn3.png
    http://img523.imageshack.us/my.php?image=92687693wl6.png

    Thankyou

  2. tdjcbe
    Member
    Posted 15 years ago #

    You're at the wrong site I'm afraid. These forums are for Wordpress Multiuser.

    Wordpreess support is found here: http://wordpress.org/support/

    Would love to help buy imageshack is banned from here so I can't see your pictures.

  3. cafespain
    Member
    Posted 15 years ago #

    Wow, didn't understand much of that and I can even see the pictures.
    I think I know what they are trying to do and it's more of a Javascript issue than a WordPress one (but will involve a plugin to handle ajax calls..), though it's quite easy using jQuery - not too sure in mootools though.

    @tdjcbe: is Wordpreess the version for people with lisspsss? :)

  4. overclockwork
    Member
    Posted 15 years ago #

    i googled for this: wordpress get post id outside the loop

    global $wp_query;
    $thePostID = $wp_query->post->ID;

About this Topic

  • Started 15 years ago by somasundaram
  • Latest reply from overclockwork