Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ladnie77

    (@ladnie77)

    IDEA is to have parameter DYNAMICALLY FROM url IN h1 in content
    ie. domainname.com?ppc=superhero

    in
    <h1>superhero</h1>

    BUT
    only limited phrases (predefinied)
    ie
    if i write domainname.com?ppc=superhero2 NOTHING HAPPENED

    if I use <h1><?php echo get_query_var(‘ppc’).“!”; ?></h1> , I have in h1 everything I write in url ie superhero2

    Thread Starter ladnie77

    (@ladnie77)

    thank you, it almost works ??
    but I have every phrase four times on page, twice in header twice in content
    I want only one
    I use (in script)
    / the ppc value is valid

    echo get_query_var(‘ppc’);

    and
    (in content) <h1><?php echo “$ppc!”; ?></h1>

    • This reply was modified 5 years, 9 months ago by ladnie77.
Viewing 2 replies - 1 through 2 (of 2 total)