Can anyone help please?
-
You are echoing div id=”tng_main” before the doctype declaration. I’m guessing you are trying to make a custom page template? If so, paste the code to that template to the pastebin.
Thank you for that, it is much appreciated.
In fact the items appearing above the header are being injected from a non wordpress component of my site using a plugin.
The plugin is also injecting into the page body below the header thought here are some oddities there too, most notably the sidebar is pushed below the page content.
What I don’t know is where to correct this echo and then to correct the sidebar issue. Any ideas?
What plugin is it that you are using to import those blocks of code?
It is the TNG WordPress integation module which has been updated for the newest versions of both TNG and WordPress. Works fine with the twenty Ten and Twenty Eleven themes.
The following is te code which the plugin uses to inject the content:/************************************************
* *
* OUTPUT THE TNG PAGE *
* *
* mbtng_use_tng_homepage *
* mbtng_frontend_header *
* mbtng_frontend_footer *
* mbtng_fake_post *
* mbtng_output_page *
* mbtng_buffer_start *
* mbtng_buffer_end *
* mbtng_discard_output *
* mbtng_eval_php *
************************************************/[code moderated according to Forum Rules - please use the pastebin]
I may be wrong but I guess the problem is here somewhere..
Apljdi,
I’m feeling way out of my depth here. If you think you can help, then please contact me :
martin_mosley(at)hotmail(dot)com
I can explain more fully
ThanksThat is a pretty bad error and I have a hard time believing that a plugin author would miss it in testing, so lets assume that the plugin is working correctly. Have you modified your theme at all?
No, the theme is not modified.
Does the segment of code show where there may be an error?
Any help would be appreciated.I didn’t see anything obvious in that code (which has now been removed by a moderator for forum rules violation) but that code was doing some tricky stuff. I’d have to really analyze it.
If you think you can help, then I can let you have a copy of the file.
The topic ‘Can anyone help please?’ is closed to new replies.