Support » Plugin: Shortcode Exec PHP » how to embed a div with styles into php exec

  • reace99

    (@reace99)


    Hi there ,

    I have a small problem .. which I will detail below.

    basically I would like to have in my page content the following;

    top-image
    <div class=”someclass_from_styles.css>
    some content here including a heading etc;
    the div’s properties will be in the styes.css file ie; {Background-color:red;color:white;}
    </div>
    bottom-image

    I have managed to insert the top and bottom images via (echo ‘image’;)
    however its the DIV (or Text embedded in a div part) which Iam struggling with.

    any help would be much appreciated.

    to be clear I would like to enter into the content part of the page;
    [orange-box]
    <div class=”someclass”>
    <h1>testing</h1>
    <p>some text here</p>
    </div>
    [/orange-box]

    and it will display my customized top image , div contents , bottom image.

    cheers

    http://wordpress.org/plugins/shortcode-exec-php/

  • The topic ‘how to embed a div with styles into php exec’ is closed to new replies.