Mido_eg
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] AMP could not check your site for compatibility issues.I found the cause of the issue, It’s due to LiteSpeed Cache plugin!
Forum: Fixing WordPress
In reply to: How can I integrate wordpress into my php website pages?Thanks guys for the explanations.
I was mistaken and for some reason tried to point the path to another file!
Now I used the first code ( the other code is not working and still gives me the same error )<?php
/* Short and sweet */
define(‘WP_USE_THEMES’, false);
require(‘./blog/wp-blog-header.php’);
?>After writing the above code, the index file is now working but the themes of it are not loading. please take a look by visiting the website teachmeimarketing.com
could you please tell me what should I do next to let the index file fully loaded and what to do in order to utilize wordpress plugins to work with my site ?
Many thanks
Forum: Fixing WordPress
In reply to: How can I integrate wordpress into my php website pages?My website : http://www.teachmeimarketing.com/
[No bumping, thank you.]
Forum: Fixing WordPress
In reply to: How can I integrate wordpress into my php website pages?I created a folder named blog where I’ve installed wordpress ( like the instructions say)
And as you know wordpress has 3 main folders
wp-admin
wp-content
wp-includesIn the first one there are three files with the word “header”
admin-header.php and two other files named
custom-header.php
menu-header.phpI changed this :
<?php
require(‘/the/path/to/your/wp-blog-header.php’);
?>with that :
<?php
require(‘/blog/wp-admin/admin-header.php’);
?>I got the same error message
and when I changed it with the other code<?php
/* Short and sweet */
define(‘WP_USE_THEMES’, false);
require(‘./blog/wp-admin/admin-header.php’);
?>I got a blank page with a “0” on the left side of the page
What that means ??
Thanks for your help