• Hi,

    I have a plugin that currently displays towards the bottom of the header and the code produces several images horizontally linking to another page. I want to place the code so that it displays this plugin content below the page content and before the footer. The front page is where this code currently resides and the content is a static page as opposed to blog. I tried placing the code in both single.php and page.php, but it displays at the top of the page, instead of where I wanted it.

    Am I targeting the right template file and if so where within the template should I place the code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s hard to say without knowing what plugin and theme you are using. If the plugin is from the WordPress repository, you can ask the maintainers directly by going to www.ads-software.com/support/plugin/*insert-plugin-name-here* They are more likely to know exactly how to help you.

    Best guess? I’d say you need to keep the code in the front-page template (assuming you want it to be on your home page, but not your interior pages), but move it towards the bottom of the file. Look for the “loop” that prints out the page content and put it somewhere below the closing “endif;”

    Hope that helps.

    Thread Starter bruceg

    (@bruceg)

    Thanks for the reply,

    I figured out it was absolutely positioned CSS that made the plugin code appear all the way at the top of the page, so adjusting that worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘moving plugin from header down below page content’ is closed to new replies.