Jump to content
TNG Community
boonie67

WP & TNG Histories

Recommended Posts

Ken Roy

I don't understand why you have to remove the tng_header call when using WP. 

The tng_header is what provides the language pull down and menu bar.

Try setting some of the flags

$flags['noheader'] = false;
$flags['nobody'] = false;
$flags['noicons'] = false;

before the tng_header call.  You may need to play with changing from false to true as to which one works.

tng_header( "History of Acadian Families", $flags ); 

If you want your page title to switch language, you also need to use a $text variable

Share this post


Link to post
Share on other sites
Ken Roy

Before you removed access, I noticed that you chose to remove the tng_header call and thus eliminate the TNG page headers rather than attempting to figure out why the pages do not work correctly

Share this post


Link to post
Share on other sites
boonie67

Ken,

$flags['noheader'] = false;
$flags['nobody'] = false;
$flags['noicons'] = false
 before the ........tng_header( "History of Acadian Families", $flags ); 

This worked great, thank you. But not in the WordPress & TNG Integration which is hard to incorporate these two together.

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×