• Hello, I am very very new to WordPress and php in general.
    I have recently been working on building an iFrame plugin for WordPress.
    I have built a settings page that takes input such as a url for the frame or a drop down menu to select what page should host the frame plugin.
    As of now the frame takes up the entire page and works well with a blank theme but i want to be able to make this flexible across different themes.
    My question is is there a way to programmatically in my plugin code to check for a nav bar/ header or sidebar or footer and dynamically resize the frame to fit within those constraints.
    I want the frame to fill all empty space between header/footer and sidebar and cover any content behind it (bring the frame z index to the front).
    Is this something i can do? and if so where can i start researching?
    Thanks for any help

The topic ‘Dynamic sizing of plugin’ is closed to new replies.