Wordpress Integration

lorente

New Member
Messages
2
Reaction score
0
Points
0
I have integrated my php site with wordpress in the following way.

i have installed wordpress in the path mysite.com/blog and i use the mysite.com/blog.php page to pull the wordpress content by using the include() wp-blog-header.php code snippet and the "loop" in the news section of the blog.php .
I have set the 'use_wp_theme' to "false" bcoz i want to use my main site template styling for my page.
Now I have the following queries-

1.- Whenever someone clicks on the post title in the mysite.com/blog.php page it follows the permalink and the post is displayed like- mysite.com/blog/"permalink"(the wp install dir) along with the default wordpress theme.
what i want is it to show just the specific post say in a page like mysite.com/post.php which uses my default site theme.

2.- Also where can i edit the styling of the comments page for eg. the post comment button, the way in which the comments are displayed etc.

Sorry for the long post but i hope someone can answer my queries.
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
I have integrated my php site with wordpress in the following way.

i have installed wordpress in the path mysite.com/blog and i use the mysite.com/blog.php page to pull the wordpress content by using the include() wp-blog-header.php code snippet and the "loop" in the news section of the blog.php .
I have set the 'use_wp_theme' to "false" bcoz i want to use my main site template styling for my page.
Now I have the following queries-

1.- Whenever someone clicks on the post title in the mysite.com/blog.php page it follows the permalink and the post is displayed like- mysite.com/blog/"permalink"(the wp install dir) along with the default wordpress theme.
what i want is it to show just the specific post say in a page like mysite.com/post.php which uses my default site theme.

2.- Also where can i edit the styling of the comments page for eg. the post comment button, the way in which the comments are displayed etc.

Sorry for the long post but i hope someone can answer my queries.

1. check this page. It might be helpful. http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

2. you can edit the code of the theme. in your admin panel.
 

lorente

New Member
Messages
2
Reaction score
0
Points
0
thx for the reply...but that is not what i was looking for..


My main site has a template of its own and i just pull the content from wordpress devoid of its(wordpress's) theme..
I am using wordpress just for the blog section of my site whereas the rest of the site is devoid of any wordpress interaction...
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Is what you are saying is, effectively, that you want a WordPress theme for your blog that is the same as the theme for the rest of your site?
 
Top