WordPress.org

Forums

Shortcode Exec PHP
how to embed a div with styles into php exec (1 post)

  1. reace99
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by reace99
  • This topic is not a support question
  • WordPress version: 3.8.1