Forum Replies Created

Viewing 16 replies (of 16 total)
  • Thread Starter soulgeek

    (@soulgeek)

    Brother donncha,
    Thanks for the Beautiful Piece of Work in the form of WP Super Cache. Love it!

    I checked my Single.php file and the below are the two lines that give me the Price and List price which i want to keep dynamic but cache the rest of the Post as well as all the Text Widget Outputs.

    What i want to keep Dynamic is Below:

    $price = get_post_meta($post_ID, ‘price’, true);
    $listprice = get_post_meta($post_ID, ‘listprice’, true);

    echo $price;
    echo $listprice;

    I want to keep only the output of $price and $listprice NON-Cached.

    I am already in Half-Mode ON.


    What i have done is:

    `<!–mfunc function_name( ‘parameter’, ‘another_parameter’ ) –>
    $price = get_post_meta($post_ID, ‘price’, true);
    $listprice = get_post_meta($post_ID, ‘listprice’, true);
    <!–/mfunc–>`

    echo $price;
    echo $listprice;

    Is this correct? No? What can be the right codes or what else do i have to do?

    Thanks Donnacha…..
    soulgeek

Viewing 16 replies (of 16 total)