Viewing 1 replies (of 1 total)
  • Thread Starter malcan2009

    (@malcan2009)

    Ok I have worked it out to go inside a widget do the following:

    <div class=”alignleft”><?php wp_cycle();?></div> <h2 style=”text-align: justify;”>Title Text</h2>
    <p style=”text-align: justify;”><span style=”font-size: 14pt;”>Text goes here </span></p>

    To go in Page or post do the following:

    <div class=”alignleft”>[wp-cycle]</div> <h2 style=”text-align: justify;”>Title Text</h2>
    <p style=”text-align: justify;”><span style=”font-size: 14pt;”>Text goes here </span></p>

    ps.

    You need to use php code widget plugin or php exec plugin for post and pages
    you might need to use wp_cycle(); instead of the short code!

    Hope that helps anyone else who is trying to do the same thing.

    Regards

    Mal

Viewing 1 replies (of 1 total)
  • The topic ‘Wrap Text Around wp cycle php code’ is closed to new replies.