Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 4
Magento & Wordpress
 
GPutignano
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2007-11-03
Lauria - Italy
 

After a lot of days I add Wordpress to Magento.
Go to http: //www. compagniadelcavatappi.it/magtest/blog/ to see the result. In the next days I’ll publish a blog post to tell you how I do.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial Web Host
Guru
 
Avatar
Total Posts:  364
Joined:  2007-11-08
Phoenix, AZ
 

Interesting.

::subscribes::

 
Magento Community Magento Community
Magento Community
Magento Community
 
GPutignano
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2007-11-03
Lauria - Italy
 

I have to improve something yet!

 
Magento Community Magento Community
Magento Community
Magento Community
 
CougarNetworks
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2008-01-09
Kent
 

Looks good so far. Would like to see how you done it.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Aspiration Host
Mentor
 
Avatar
Total Posts:  1287
Joined:  2008-05-09
Tampa, FL
 

Wow… Can’t wait to know how you integrate it. :D

Please update us on this. wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
srinigenie
Guru
 
Avatar
Total Posts:  539
Joined:  2008-02-04
 

Here is one more forum post on WP integration with Magento ...
http://www.magentocommerce.com/boards/viewthread/6365/#When:20:55:41Z

Hope you get some clues from that. And Garrone, please do publish on how you achieved the integration ...am interested in that smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
vengy
Jr. Member
 
Total Posts:  7
Joined:  2008-04-27
 

My integration is probably similar to Garrone, and as of right now I have hardcoded top navbar in blog side, so as soon as I update to be dynamic and finish off, I’ll document and try to post details as well.

http://www.lanpartystore.com/blog/

 
Magento Community Magento Community
Magento Community
Magento Community
 
GPutignano
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2007-11-03
Lauria - Italy
 

My integration is different. I’m going to write a post on my blog. I hope than other people could improve the integration.
Stay tuned.

 
Magento Community Magento Community
Magento Community
Magento Community
 
GPutignano
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2007-11-03
Lauria - Italy
 

This is the link: Magento & Wordpress.
The post is in italian, I’ll translate it in english sooner.
You can post both in the blog and in the forum.

 
Magento Community Magento Community
Magento Community
Magento Community
 
srinigenie
Guru
 
Avatar
Total Posts:  539
Joined:  2008-02-04
 

thanks a lot!! ...never mind the English translation ...google helped wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
redb
Jr. Member
 
Avatar
Total Posts:  23
Joined:  2008-02-15
Savoie, France
 

cool how do you made it ??
regards

 
Magento Community Magento Community
Magento Community
Magento Community
 
Joachim
Sr. Member
 
Avatar
Total Posts:  133
Joined:  2008-01-23
Netherlands
 

Great post, thanks a lot.

The only thing, I had to change at wp-settings.php line 456

$wp_locale =& new WP_Locale();
to
$wp_locale = new WP_Locale();
 
Magento Community Magento Community
Magento Community
Magento Community
 
Joachim
Sr. Member
 
Avatar
Total Posts:  133
Joined:  2008-01-23
Netherlands
 

Just a short note. Some WP plugins will break the Magento install e.g. Google analytics for Wordpress

 
Magento Community Magento Community
Magento Community
Magento Community
 
GPutignano
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2007-11-03
Lauria - Italy
 

Yes, the integration is not perfect. Need some improvements.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Joachim
Sr. Member
 
Avatar
Total Posts:  133
Joined:  2008-01-23
Netherlands
 

Two things. One problem, fixed now, and a tip

A stupid mistake. I had problems with magic_quotes, see this post I didn’t change wordpress config at wp-settings.php To fix Magento I deleted, around line 386:

// Escape with wpdb.
$_GET    add_magic_quotes($_GET   );
$_POST   add_magic_quotes($_POST  );
$_COOKIE add_magic_quotes($_COOKIE);
$_SERVER add_magic_quotes($_SERVER);

to add the wordpress page title and other meta-tags you could load a part of the wordpress header. E.g. add to blog.phml

<head>
    <
title><?php if (function_exists('seo_title_tag')) { seo_title_tag(); else { bloginfo('name'); wp_title();} ?></title>
<
meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>"/>

<
link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon"/>
<
link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon"/>

<?php echo $this->getCssJsHtml() ?>
<?php 
echo $this->getChildHtml('head'?>
    
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <
link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <
link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" />

    <
link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
<?php wp_get_archives('type=monthly&format;=link'); ?>
    <?php 
//comments_popup_script(); // off by default ?>
    
<?php wp_head(); ?>

</head>

One other issues as mentioned at the original (Italian) post permalinks doesn’t work. Does have anyone a idea how to solve this issue? With mod_rewrite? Or change magento rewrite files?

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  721
Joined:  2008-03-21
Aviano ~ Italy
 

Geat Job Garrone!! wink

Thanks a lot

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 4