Jump to content
TNG Community

Another WordPress and TNG installation problem


PeggyF

Recommended Posts

I am trying to set up WordPress and TNG using the Kloosterman method.  

Things I have done:
I set up WP (although it is in a subfolder, see my note below) and installed TNG v.14.0.6 in it's own folder inside the WP folder.
I have made the three WPTNG files, and put them in the TNG folder. 
I have disabled the templates.
I have put the three files in the configuration - site design files.
I have made the changes to index.php so that the header should show on the TNG home page

Things I know are different than Cees Kloosterman's instructions:
1) WP is in a subfolder in my website because I have many experiments here that did not work. When I want to look at my site, I go directly to that folder.  TNG is installed within that folder.
It looks like this:
test.solski.org/wp-solski/tng_solski

2) I am using the Emotions Lite theme.  It includes both pages and blog posts.  However, in the menu I create in WP, it appears that I have to link to a page created in WP.  I would like to link directly to the page in TNG.  I do not know much about WordPress, perhaps there is another way to do this.

My main problem is that the header and top menu and footer do not appear on any of the TNG pages.  The TNG pages default to the TNG menu.

My test site is here:
https://test.solski.org/wp-solski/

You should be able to navigate to the TNG section by clicking the menu item PEOPLE, then clicking on the link "Our Family Tree" or you can go directly to it at:
https://test.solski.org/wp-solski/tng_solski/index.php

Before sending this message, I looked to see if the Avada WordPress theme was still available and I could not find it. Perhaps I have chosen a theme that will not work.

Any advice on how to fix this?  Is it a WP template problem?  Did I make a mistake in my set up? Any suggestions appreciated.

Peggy Freedman

Link to comment
Share on other sites

I understand from your post that WP is in https://test.solski.org/wp-solski/tng_solski/ and the TNG files are in this same folder: https://test.solski.org/wp-solski/tng_solski/.

So all your tng root files are in the same folder as your WP root files??

Is that correct??

If so change the 

1. WPTNG-topmenu.php

<?php
require (“../wp-blog-header.php”);
get_header ();
 ?>

into this:

1. WPTNG-topmenu.php

<?php
require (“wp-blog-header.php”);
get_header ();
 ?>

Link to comment
Share on other sites

Thank you for your thoughts, but that did not fix it.  Also, I believe that my TNG folder is one level down from the WP folder as it should be.  Here is an image of my file structure:

image.jpeg

Link to comment
Share on other sites

The WordPress root files are in the wp-solski folder.  The root folder in the "test.solski.org" domain has many folders of experiments that did not work, but no index page. So when I go to it, I choose the folder "wp-solski" and can see the WordPress site which was originally set up in this folder.

The TNG files are in a folder inside of the wp-solski folder called tng-solski.

My great grandmother's surname was Solski.  Eventually I hope to make a website that includes more of my ancestors :-) I am trying to figure out the structure so that, eventually, the index page to my website will make sense for all of them. I hope to make a WordPress page for each branch.  Some will have their own trees and some will be branches of my main tree. I can do this with just TNG, but I have hundreds of stories and biographies that I would like to include.  WordPress makes that simpler.

Thanks in advance for help and advice.

Peggy

Link to comment
Share on other sites

If TNG is in a submenu of the WP root this should work, but Wp should be in the root of your website, not in a subdirectory

<?php
require (“../wp-blog-header.php”);
get_header ();
 ?>
.

Can you show me the content of your WPTNG-topmenu.php

Beware: PhP coding mistakes: one little wrong character or an empty space can create havoc in a PhP coded website like TNG/Wordpress. One of the most common, and basic, mistakes made when coding in PHP is to either forget or misplace a quote, brace or semi-colon causing a syntax error.

Link to comment
Share on other sites

Thanks for your help.  I know computers care more about grammar and punctuation than my secondary school English teachers did.  But I really can't figure this out.

I need all my genealogy things to be in a folder below the root index page as I use my website for other things.  It includes my mother's cook book and information about genealogy trips and information for different genealogy societies that I belong to.  These things don't fit neatly into my family tree.  I think you put these on your website under "My Interests."  I would like to keep them more available on my home page.  This is not for the https://www.solski.org, but for my other website - https://www.peggyspage.org

Link to comment
Share on other sites

Hi Peggy, from here I cannot really figure out what is wrong with your WP/TNG website setup. Your TNG websitei s NOT loading WP, so there must be something wrong.

The link to the Avada theme is here:

Buy Avada

and the official Avada site is here:

AVADA website

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...