Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • hi,
    I read about tweakin head meta desc so that you can put a custom description for your main page.
    ——-
    The tweak says that if the string-length of the description tag = 0, then it reverts to a separate description tag. Thus on your index.php page or any other page where there’s no specific excerpt to use, it’ll revert to your default description. The tweak is as follows:

    if ( strlen( trim( $description )) == 0 ) {

    $description = ‘Hotdogs rock my world… Yum’;

    }

    —————

    I tried to modify the head meta desc plugin, but am getting a parsing error .

    Can someone correct the error
    thanks

    Forum: Plugins
    In reply to: Inserting Plugin
    Thread Starter freotech

    (@freotech)

    Works fine !

    Thanks for your help

    freotech

    Forum: Plugins
    In reply to: Inserting Plugin
    Thread Starter freotech

    (@freotech)

    can i use the wordpress option “write page” ?

    how do i insert the codes in the post ?

    <?php srg_clean_archives(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)