• Hi little question about Post name,

    do you know who i could interact with it in this code ?

    $element_loop = $format;
    $element_loop = str_replace(‘%date%’, $loop_postdate, $element_loop);
    $element_loop = str_replace(‘%permalink%’, get_permalink($post->ID), $element_loop);
    $element_loop = str_replace(‘%title%’, $post->post_title, $element_loop);
    $element_loop = str_replace(‘%commentcount%’, $post->comment_count, $element_loop);
    $element_loop = str_replace(‘%postslug%’, $post->post_name, $element_loop);

    in the last code line i want my %postslug% to get post_name of the post (then i’ll use it to make a link to a site)

    anyway, when i do use the %postslug% nothing happends …

    if you got any idea thanx A LOT

    ALex

  • The topic ‘Pb :’ is closed to new replies.