Quantcast
Viewing all articles
Browse latest Browse all 5527

graven73 on "Application inside a template inside a theme"

So I have some files that build up an SEO application (MySQL, PHP, JS, Images, etc… (‘a mini site’)) and they are in a folder called ‘body_call’. Inside there are the body.php, index.php, css/style.css etc.
I am working locally on XAMPP and I have buddypress on my site with a theme I bought BuddyBoss.
I made a template called keywords.php that has the header and the footer of the BuddyBoss theme but the body / content I left blank and I’m trying to call the index.php from the application inside the theme.
I tried 2 ways: Putting the Application inside the theme (parallel with the template keywords). And it didn’t show the images, and when I clicked in any link it went to localhost/’folder’/keywords/index.php (page not found). This would never work since the index folder is the main one, and besides that there is the problem about the URL having the …/keywords/… in it.
The second way was putting the application in the root folder, the same problem. Maybe I’m calling the files the wrong way.
So basically how do I include the index.php folder from the application inside the keywords template and make the images appear with the forms, the links to work and all the rest?
Can anyone help?
Thank you so much, this is getting under my nerves :)
Best,
Miguel


Viewing all articles
Browse latest Browse all 5527

Trending Articles